Mike Stump
beefdc8948
iGenerate vcalls as we build up the methods. WIP.
...
llvm-svn: 80405
2009-08-28 23:22:54 +00:00
Evan Cheng
43b9ca6f42
Let Darwin linker auto-synthesize stubs and lazy-pointers. This deletes a bunch of nasty code in ARM asm printer.
...
llvm-svn: 80404
2009-08-28 23:18:09 +00:00
Douglas Gregor
90820ee62a
Make sure we actually found a redeclaration before complaining about attributes added to a redeclaration in C++
...
llvm-svn: 80403
2009-08-28 22:54:55 +00:00
Anders Carlsson
601d6e4c7b
Add printing of access specifiers to DeclPrinter. The formatting is pretty bad but it works :)
...
llvm-svn: 80402
2009-08-28 22:39:52 +00:00
Eric Christopher
d517ac0682
Nuke trailing whitespace.
...
llvm-svn: 80401
2009-08-28 22:33:43 +00:00
Douglas Gregor
c37709b3c5
Remove #if 0'd code that is clearly not needed
...
llvm-svn: 80399
2009-08-28 22:06:43 +00:00
Fariborz Jahanian
2fee79a9a1
path to ir-gen 12.3.1 Conversion by constructor
...
llvm-svn: 80398
2009-08-28 22:04:50 +00:00
Douglas Gregor
f3db003358
Don't crash when instantiating templates containing anonymous structs/unions
...
llvm-svn: 80397
2009-08-28 22:03:51 +00:00
Douglas Gregor
11395b66c6
Test instantiation of static data members that live within nested
...
member templates.
llvm-svn: 80396
2009-08-28 21:41:19 +00:00
Douglas Gregor
5c58093178
Test instantiations of out-of-line member definitions of nested templates.
...
llvm-svn: 80395
2009-08-28 21:15:08 +00:00
Douglas Gregor
d99bb43068
Fix and test template instantiation for nested member templates.
...
llvm-svn: 80394
2009-08-28 21:09:48 +00:00
Douglas Gregor
39cacdb04b
Tighten up the conversion from a single-level template argument list
...
to a multi-level template argument list by making it explicit. The
forced auditing of callers found a bug in the instantiation of member
classes inside member templates.
I *love* static type systems.
llvm-svn: 80391
2009-08-28 20:50:45 +00:00
Douglas Gregor
6533292684
Remove the conversion from a multi-level template argument list back to a single template argument list. We no longer need this crutch
...
llvm-svn: 80390
2009-08-28 20:33:09 +00:00
Douglas Gregor
01afeeff1d
Implement template instantiation for member class templates.
...
When performing template instantiation of the definitions of member
templates (or members thereof), we build a data structure containing
the template arguments from each "level" of template
instantiation. During template instantiation, we substitute all levels
of template arguments simultaneously.
llvm-svn: 80389
2009-08-28 20:31:08 +00:00
Ted Kremenek
d65d22a0c5
Add uninitialized values test case.
...
llvm-svn: 80388
2009-08-28 20:25:33 +00:00
Ted Kremenek
52ac2b5735
retain/release checker: [CIContext createCGImage...] and friends returned CF
...
objects that are not automatically garbage collected. This fixes
<rdar://problem/7174400>.
llvm-svn: 80387
2009-08-28 19:52:12 +00:00
Anders Carlsson
df5a1c8b5d
Improve support for using decls in the decl printer.
...
llvm-svn: 80386
2009-08-28 19:16:39 +00:00
Ted Kremenek
2dde6bb80e
Add CIndex dependencies: libLLVMC and libclangSema (for IdentifierResolver).
...
llvm-svn: 80385
2009-08-28 18:33:53 +00:00
Ted Kremenek
e486cdc015
Tweak CIndex file to resolve to linking issues with the clang libraries. In
...
particular, clangFrontend was not being linked in.
llvm-svn: 80384
2009-08-28 18:29:48 +00:00
Anders Carlsson
01ff6d7094
Check for UnresolvedUsingDecl when determining if a declaration is a redeclaration or not.
...
llvm-svn: 80383
2009-08-28 17:57:07 +00:00
Fariborz Jahanian
18f4107eb7
test case for my last patch.
...
llvm-svn: 80382
2009-08-28 17:53:05 +00:00
Fariborz Jahanian
b1771e4e74
patch to prevent crash in hopelessly incorrect
...
method definition with labels.
llvm-svn: 80381
2009-08-28 17:52:37 +00:00
Douglas Gregor
a654dd8ae8
Collect multiple levels of template arguments into a new type,
...
MultiLevelTemplateArgumentList. This is a baby step toward
instantiating member templates; no intended functionality change yet.
llvm-svn: 80380
2009-08-28 17:37:35 +00:00
Anders Carlsson
d20e795a5b
Fix this for real.
...
llvm-svn: 80377
2009-08-28 16:57:08 +00:00
Daniel Dunbar
e58bd8b1ab
Hide IdxVisitor and remove unimplemented method (causing link errors on x86_64
...
linux builder).
llvm-svn: 80376
2009-08-28 16:30:07 +00:00
Fariborz Jahanian
7cee2031d5
Test case for conversion type method call ir-gen.
...
llvm-svn: 80375
2009-08-28 16:23:54 +00:00
Anders Carlsson
f2bc7c386e
Allow explicit ctors for casts.
...
llvm-svn: 80374
2009-08-28 16:22:20 +00:00
Daniel Dunbar
8d799c5144
Fix creation of .bca libraries with EXPORTED_SYMBOLS_LIST, this was putting the
...
llvm-ld shell wrapper script in the archive, not the relinked object!
Also, rename the temp file to avoid conflicts.
llvm-svn: 80373
2009-08-28 16:14:46 +00:00
Andreas Neustifter
7026421d61
Read Makefile.config before using LLVMGCC.
...
See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090824/085828.html
llvm-svn: 80372
2009-08-28 16:13:45 +00:00
Torok Edwin
d70eebee51
install-sh chmods to 0755 by default, and this causes 'git diff' to show
...
that all the Makefiles changed mode.
Fix this by tellint install-sh to chmod
only to 0644, these are not executable files after all!
llvm-svn: 80371
2009-08-28 16:12:48 +00:00
Anton Korobeynikov
f43ab91486
Short-term workaround for frame-related weirdness on win64.
...
Some other minor win64 fixes as well.
Patch by Michael Beck!
llvm-svn: 80370
2009-08-28 16:06:41 +00:00
Anders Carlsson
759b78951e
When doing overload resolution, expressions that are value dependent but not type dependent and of integral type should not be treated as null pointer constants.
...
llvm-svn: 80369
2009-08-28 15:55:56 +00:00
Anders Carlsson
228eea36a3
Pass InOverloadResolution all the way down to IsPointerConversion.
...
llvm-svn: 80368
2009-08-28 15:33:32 +00:00
Steve Naroff
a1c728438c
Lot's of little changes to get the C-based indexing API going...
...
Work in progress.
llvm-svn: 80367
2009-08-28 15:28:48 +00:00
Anders Carlsson
4bd7875b9c
Instantiate unresolved using declarations.
...
llvm-svn: 80366
2009-08-28 15:18:15 +00:00
Fariborz Jahanian
8b899e4247
ir-gen related patch for type conversion
...
with class type conversion methods. WIP.
llvm-svn: 80365
2009-08-28 15:11:24 +00:00
Torok Edwin
e8a5863c3f
rm needs -f
...
llvm-svn: 80363
2009-08-28 14:05:07 +00:00
Torok Edwin
483691a185
Remove the llvmprof.out from the test output, otherwise running
...
make check in a non-clean directory causes it to fail (for example when running
make check twice), since execution counts will differ.
llvm-svn: 80362
2009-08-28 13:35:44 +00:00
Steve Naroff
8721959642
Add CX prefix to Cursor and move a comment.
...
llvm-svn: 80359
2009-08-28 12:07:44 +00:00
Andreas Neustifter
991beb9aaf
Preparation for Optimal Edge Profiling:
...
This implements the maximum spanning tree algorithm on CFGs according to
weights given by the ProfileEstimator. This is then used to implement Optimal
Edge Profiling.
llvm-svn: 80358
2009-08-28 11:28:24 +00:00
Andreas Neustifter
ed3a6bedca
Remove profiling output file because two consecutive runs of make check give
...
error.
llvm-svn: 80357
2009-08-28 10:38:26 +00:00
Andreas Neustifter
d8e04ab883
Removed unnecessary file creation during test.
...
llvm-svn: 80356
2009-08-28 10:07:41 +00:00
Andreas Neustifter
52afe22566
Pulled all tests into one test. Removed some redundant tests. Rename.
...
llvm-svn: 80355
2009-08-28 10:00:28 +00:00
Daniel Dunbar
3033db2448
Fix -Asserts warning, round two.
...
llvm-svn: 80354
2009-08-28 08:08:22 +00:00
John McCall
aa74a0c3b5
Omnibus friend decl refactoring. Instead of cloning AST classes for friend
...
declarations of same, introduce a single AST class and add appropriate bits
(encoded in the namespace) for whether a decl is "real" or not. Much hackery
about previously-declared / not-previously-declared, but it's essentially
mandated by the standard that friends alter lookup, and this is at least
fairly non-intrusive.
Refactor the Sema methods specific to friends for cleaner flow and less nesting.
Incidentally solve a few bugs, but I remain confident that we can put them back.
llvm-svn: 80353
2009-08-28 07:59:38 +00:00
Daniel Dunbar
2a2459a291
llvm-mc: .lsym is more unsupported than unimplemented, pending a use case appearing.
...
Also, all one of the file level flags are implemented.
llvm-svn: 80352
2009-08-28 07:08:47 +00:00
Daniel Dunbar
2701eee0ad
llvm-mc: Support .comm emission.
...
llvm-svn: 80351
2009-08-28 07:08:35 +00:00
Evan Cheng
4047b53a40
Print a nl before pic labels so they start at a new line. This makes assembly more readable.
...
llvm-svn: 80350
2009-08-28 06:59:37 +00:00
Andreas Neustifter
5155fc1b69
Since all std::cout is gone, also remove iostream include.
...
(See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090824/085620.html )
llvm-svn: 80349
2009-08-28 06:48:25 +00:00
Andreas Neustifter
d7f3569555
Readded test from r79615, this tests the complete profiling tool chain. Furhter
...
tests can test only parts of this system.
llvm-svn: 80348
2009-08-28 06:41:00 +00:00