Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Implement AST import support for class template specializations. | Douglas Gregor | 2010-12-01 | 1 | -35/+363 | |
| | | | | llvm-svn: 120523 | |||||
* | When unknown method is sent to a receiver of | Fariborz Jahanian | 2010-12-01 | 1 | -1/+3 | |
| | | | | | | | 'Class' type, disgnostic should refere to a class method. Fixes // rdar://8592156 llvm-svn: 120517 | |||||
* | A CGRecordLayout object persists. Since its contained types may | John McCall | 2010-11-30 | 1 | -4/+5 | |
| | | | | | | | refer to opaque types, they must be held via PATypeHolders. I'm not sure why this hasn't blown up before. llvm-svn: 120491 | |||||
* | CGRecordLayoutBuilder does not need to be exported from this module. | John McCall | 2010-11-30 | 1 | -3/+1 | |
| | | | | llvm-svn: 120489 | |||||
* | Declaring local static in global block | Fariborz Jahanian | 2010-11-30 | 1 | -3/+13 | |
| | | | | | | | literal declaration caused crash in CodeGen. This patch fixes it. pr8707 llvm-svn: 120486 | |||||
* | Follow through references to catch returned stack addresses, local blocks, ↵ | Argyrios Kyrtzidis | 2010-11-30 | 1 | -50/+127 | |
| | | | | | | | | | | | | label addresses or references to temporaries, e.g: const int& g2() { int s1; int &s2 = s1; // expected-note {{binding reference variable 's2' here}} return s2; // expected-warning {{reference to stack memory associated with local variable 's1' returned}} } llvm-svn: 120483 | |||||
* | Implement basic AST importing and merging support for class template | Douglas Gregor | 2010-11-30 | 1 | -5/+359 | |
| | | | | | | declarations. llvm-svn: 120448 | |||||
* | Eliminate more pointless default statements | Douglas Gregor | 2010-11-30 | 1 | -5/+16 | |
| | | | | llvm-svn: 120446 | |||||
* | L-value to r-value conversion is not ready for prime-time. | John McCall | 2010-11-30 | 6 | -97/+43 | |
| | | | | llvm-svn: 120433 | |||||
* | Such function decls,as objc's objc_msgSend, builtins in | Fariborz Jahanian | 2010-11-30 | 5 | -27/+25 | |
| | | | | | | | | | a specific language. We are adding such language info. by extensing Builtins.def and via a language flag added to LIBBUILTIN/BUILTIN and check for that when deciding a name is builtin or not. Implements //rdar://8689273. llvm-svn: 120429 | |||||
* | Introduce an r-value to l-value cast kind. I'm not promising anything | John McCall | 2010-11-30 | 6 | -43/+97 | |
| | | | | | | about the reliability of this yet. llvm-svn: 120422 | |||||
* | Make the dumper safe against null declaration names. | John McCall | 2010-11-30 | 1 | -0/+3 | |
| | | | | llvm-svn: 120421 | |||||
* | Take John McCall's suggestion and fix this silly gcc warnings in a way that | Nick Lewycky | 2010-11-30 | 1 | -0/+2 | |
| | | | | | | Doug isn't likely to rip back out. llvm-svn: 120409 | |||||
* | I hate pointless default statements | Douglas Gregor | 2010-11-30 | 1 | -1/+0 | |
| | | | | llvm-svn: 120402 | |||||
* | Harden CGDebugInfo::CreateType() a bit for cases where we couldn't generate ↵ | Douglas Gregor | 2010-11-30 | 1 | -1/+9 | |
| | | | | | | type info for its component types llvm-svn: 120401 | |||||
* | When using a precompiled preamble with detailed preprocessing records, | Douglas Gregor | 2010-11-30 | 4 | -40/+149 | |
| | | | | | | | | | | trap the serialized preprocessing records (macro definitions, macro instantiations, macro definitions) from the generation of the precompiled preamble, then replay those when walking the list of preprocessed entities. This eliminates a bug where clang_getCursor() wasn't able to find preprocessed-entity cursors in the preamble. llvm-svn: 120396 | |||||
* | When loading a precompiled preamble, use the file ID of the | Douglas Gregor | 2010-11-30 | 2 | -2/+17 | |
| | | | | | | | | | | | | precompiled preamble as the "main" source file's file ID within the source manager. This makes compiling with a precompiled preamble produce the same source locations as when compiling without the precompiled preamble; prior to this change, we ended up with different file IDs for source locations within the precompiled preamble vs. those after the precompiled preamble, even for entities (e.g., preprocessing entities) in the same file. llvm-svn: 120390 | |||||
* | Fix bug in r120299 spotted by dgregor. | Nico Weber | 2010-11-30 | 1 | -3/+3 | |
| | | | | llvm-svn: 120389 | |||||
* | Fix another case of giving the wrong value kind to a dependent cast to | John McCall | 2010-11-30 | 1 | -1/+4 | |
| | | | | | | a non-dependent type. llvm-svn: 120384 | |||||
* | Add a default clause to avoid this GCC warning: | Nick Lewycky | 2010-11-30 | 1 | -0/+1 | |
| | | | | | | Type.cpp:1000: warning: control reaches end of non-void function llvm-svn: 120376 | |||||
* | Revert r120331 since it causes spurious warnings and a possible assertion ↵ | Argyrios Kyrtzidis | 2010-11-29 | 1 | -27/+3 | |
| | | | | | | hit when self-host. llvm-svn: 120351 | |||||
* | Incomplete enum types not to be treated as integer type | Fariborz Jahanian | 2010-11-29 | 1 | -4/+12 | |
| | | | | | | | when checking for integer signed/unsigned-ness. PR8694, // rdar://8707031 llvm-svn: 120345 | |||||
* | Emit warnings if we are returning a reference to a local temporary. | Argyrios Kyrtzidis | 2010-11-29 | 1 | -3/+27 | |
| | | | | | | The issue was brought to our attention by Matthieu Monrocq. llvm-svn: 120331 | |||||
* | Always use a function's decl context when building default arguments. Fixes ↵ | Nico Weber | 2010-11-29 | 1 | -4/+12 | |
| | | | | | | http://http://llvm.org/pr8479. llvm-svn: 120299 | |||||
* | Merge System into Support. | Michael J. Spencer | 2010-11-29 | 25 | -33/+33 | |
| | | | | llvm-svn: 120297 | |||||
* | Revert r120063, it was wrong. | John McCall | 2010-11-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 120296 | |||||
* | I hate default statements | Douglas Gregor | 2010-11-29 | 1 | -1/+0 | |
| | | | | llvm-svn: 120293 | |||||
* | When performing code completion within ASTUnit, allocate the ↵ | Douglas Gregor | 2010-11-29 | 1 | -6/+6 | |
| | | | | | | AugmentedCodeCompleteConsumer on the heap, so it's always cleaned up properly llvm-svn: 120290 | |||||
* | Teach the ASTImporter how to create CXXMethodDecls. Somehow, this case was ↵ | Douglas Gregor | 2010-11-29 | 1 | -0/+7 | |
| | | | | | | missed previously llvm-svn: 120289 | |||||
* | Don't store the maximum alignment, we can trivially compute it. | Anders Carlsson | 2010-11-28 | 1 | -12/+21 | |
| | | | | llvm-svn: 120268 | |||||
* | Revert parts of r120266 that I did not mean to commit | Nico Weber | 2010-11-28 | 1 | -12/+4 | |
| | | | | llvm-svn: 120267 | |||||
* | Minor whitespace and comment fixes. No functionality change. | Nico Weber | 2010-11-28 | 4 | -7/+15 | |
| | | | | llvm-svn: 120266 | |||||
* | More work on laying out virtual bases. | Anders Carlsson | 2010-11-28 | 1 | -9/+46 | |
| | | | | llvm-svn: 120257 | |||||
* | BuildVirtualCall doesn't need to take a reference to a pointer. | Anders Carlsson | 2010-11-28 | 2 | -2/+2 | |
| | | | | llvm-svn: 120252 | |||||
* | Make the destructor be the 'vtable anchor' of the CGCXXABI class. | Anders Carlsson | 2010-11-28 | 2 | -4/+2 | |
| | | | | llvm-svn: 120251 | |||||
* | Move CGCXXABI functions to CGCXXABI.cpp | Anders Carlsson | 2010-11-28 | 2 | -157/+155 | |
| | | | | llvm-svn: 120250 | |||||
* | Add a CGCXXABI.cpp file. | Anders Carlsson | 2010-11-28 | 2 | -0/+19 | |
| | | | | llvm-svn: 120249 | |||||
* | Look through parentheses when deciding whether an expr is a temporary ↵ | Anders Carlsson | 2010-11-28 | 1 | -4/+4 | |
| | | | | | | object. Fixes PR8683. llvm-svn: 120247 | |||||
* | Add GCC 4.4.5 for Gentoo, and order them in a more sensible way. This allows | Chandler Carruth | 2010-11-28 | 1 | -13/+15 | |
| | | | | | | | | Gentoo systems with multiple versions to pick up the newest one first. This is especially important with Gentoo because some of the older versions are left on systems in strange states. llvm-svn: 120238 | |||||
* | Add missing else. | Rafael Espindola | 2010-11-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 120231 | |||||
* | Allow access to non-static members without an object in sizeof expressions, ↵ | Sebastian Redl | 2010-11-26 | 1 | -2/+22 | |
| | | | | | | in C++0x. Patch by Jakub Wieczorek. llvm-svn: 120182 | |||||
* | For internal consistency's sake, compute the value kind of a dependent cast | John McCall | 2010-11-26 | 1 | -0/+3 | |
| | | | | | | based on the known properties of the casted-to type. Fixes a crash on spirit. llvm-svn: 120180 | |||||
* | Do not use StripCasts() in this context. | Zhongxing Xu | 2010-11-26 | 1 | -2/+5 | |
| | | | | llvm-svn: 120178 | |||||
* | Should not use StripCasts() in this context. | Zhongxing Xu | 2010-11-26 | 1 | -7/+4 | |
| | | | | llvm-svn: 120177 | |||||
* | Rename CXXObjectRegion to CXXTempObjectRegion. | Zhongxing Xu | 2010-11-26 | 5 | -16/+17 | |
| | | | | llvm-svn: 120176 | |||||
* | Regionstore: support derived-to-base cast by creating a CXXBaseObjectRegion. | Zhongxing Xu | 2010-11-26 | 3 | -3/+52 | |
| | | | | llvm-svn: 120173 | |||||
* | Add a fixme. | Zhongxing Xu | 2010-11-26 | 1 | -0/+1 | |
| | | | | llvm-svn: 120172 | |||||
* | Add C++ header path for openSUSE 11.4. | Rafael Espindola | 2010-11-25 | 1 | -0/+7 | |
| | | | | | | Patch by İsmail Dönmez. llvm-svn: 120154 | |||||
* | Hide a bunch of symbols. | Benjamin Kramer | 2010-11-25 | 3 | -33/+35 | |
| | | | | llvm-svn: 120153 | |||||
* | For CFGAutomaticObjDtor, the type may be reference type, e.g., const A &c = A(); | Zhongxing Xu | 2010-11-25 | 1 | -10/+17 | |
| | | | | | | Also apply some new coding style. llvm-svn: 120144 |