summaryrefslogtreecommitdiffstats
path: root/clang/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* Don't insert in lexical context implicit definitions of static member instances.Abramo Bagnara2010-06-041-1/+2
| | | | llvm-svn: 105465
* When checking for equality of template parameter lists, a templateDouglas Gregor2010-06-041-3/+26
| | | | | | type parameter pack is distinct from a template type parameter. llvm-svn: 105464
* Delay checking for mutable const fields until we're checking the field.John McCall2010-06-042-30/+28
| | | | | | | Allows this check to work properly for instantiated fields and removes an unnecessary GetTypeForDeclarator call. llvm-svn: 105463
* Properly disambiguate between an elaborated-type-specifier and aDouglas Gregor2010-06-041-2/+31
| | | | | | type-parameter within a template parameter list. Found by inspection. llvm-svn: 105462
* More refactoring.John McCall2010-06-042-27/+36
| | | | llvm-svn: 105458
* Add a short circuit in isVirtuallyDerivedFrom.Anders Carlsson2010-06-041-0/+3
| | | | llvm-svn: 105457
* Assignments to reference variables shouldn't kill the variable.Jordy Rose2010-06-041-9/+13
| | | | llvm-svn: 105452
* Fixed Objective-C type encoding for bitfields for the GNU runtime to match ↵David Chisnall2010-06-041-36/+66
| | | | | | the encoding used by GCC. llvm-svn: 105451
* Remove now unused code.Anders Carlsson2010-06-041-235/+13
| | | | llvm-svn: 105448
* Use CXXRecordDecl::getFinalOverriders to get final overriders. This speeds ↵Anders Carlsson2010-06-041-1/+119
| | | | | | up vtable layout by moving away from the old final overrider computation code that had O(N^2) complexity in some cases. llvm-svn: 105447
* Remove a couple of unnecessary uses of IsStandardConversion.John McCall2010-06-041-17/+6
| | | | llvm-svn: 105445
* Classify NEON intrinsics by overloading-type for codegenNate Begeman2010-06-031-146/+162
| | | | | | Add a few missing instructions llvm-svn: 105417
* Make sure to check the accessibility of and mark the destructor for theEli Friedman2010-06-031-3/+20
| | | | | | operand of a throw expression. Fixes PR7281. llvm-svn: 105408
* Don't intentionally try to ignore the value of a scalar expression when weEli Friedman2010-06-031-1/+1
| | | | | | actually care about it. Fixes PR7291. llvm-svn: 105404
* Hack in some really terrible C++ record PCH support that I need right now.John McCall2010-06-033-25/+76
| | | | | | | | This is required in order to test: The ASTImporter should set base classes after formally entering the definition. llvm-svn: 105401
* Don't try to explicitly zero out bit-fields.Anders Carlsson2010-06-031-0/+5
| | | | llvm-svn: 105391
* Make addStmt always add stmt. Delegate other cases to Visit() directly.Zhongxing Xu2010-06-031-6/+6
| | | | llvm-svn: 105384
* CFG: add all LHS of assingments as lvalue. This improves support for C++ ↵Zhongxing Xu2010-06-031-2/+15
| | | | | | reference. Patch by Jordy. llvm-svn: 105383
* Add comments.Zhongxing Xu2010-06-031-1/+2
| | | | llvm-svn: 105382
* Add all final overriders to the map.Anders Carlsson2010-06-032-14/+28
| | | | llvm-svn: 105374
* Block C++ code gen. Adds support for block reference argumentFariborz Jahanian2010-06-021-4/+14
| | | | | | | types. Executable test will be added to LLVM test suite. (radar 8041962). llvm-svn: 105347
* Don't try to emit the vtable for a class just because we're emitting aJohn McCall2010-06-022-17/+28
| | | | | | | | virtual function from it. Fixes PR7241. llvm-svn: 105345
* Headers: Fix quoting of macro arguments in a couple more places.Daniel Dunbar2010-06-022-9/+9
| | | | llvm-svn: 105331
* Don't substitute 'St' for 'std' when the namespace is nested inside another ↵Anders Carlsson2010-06-021-9/+9
| | | | | | namespace. llvm-svn: 105330
* Fix undefined behavior, noticed by GCC 4.5. Patch by Dimitry Andric!Daniel Dunbar2010-06-021-2/+3
| | | | llvm-svn: 105329
* Fix compiler warning about to false -> pointer conversion; patch by Dimitry ↵Daniel Dunbar2010-06-021-1/+1
| | | | | | Andric! llvm-svn: 105328
* Fix unintentional method call due to false -> pointer conversion; patch by ↵Daniel Dunbar2010-06-021-1/+1
| | | | | | Dimitry Andric! llvm-svn: 105327
* When building RTTI descriptors for pointer types, we need to get the ↵Anders Carlsson2010-06-021-6/+14
| | | | | | unqualified array type and the qualifiers from it. llvm-svn: 105326
* Fix vget_lane/vset_laneNate Begeman2010-06-021-2/+2
| | | | llvm-svn: 105317
* typeid() produces type information for the cv-unqualified version ofDouglas Gregor2010-06-021-4/+9
| | | | | | the type. Thanks to Anders for the bug report! llvm-svn: 105314
* Correctly mangle unsigned integer literals where the high bit is set.Anders Carlsson2010-06-021-2/+4
| | | | llvm-svn: 105312
* Correctly mangle variadic functions that don't have any other parameters.Anders Carlsson2010-06-021-1/+2
| | | | llvm-svn: 105311
* When mangling member function pointers, fake adding a substitution ↵Anders Carlsson2010-06-021-6/+25
| | | | | | corresponding to the function type. llvm-svn: 105310
* Checkpoint arm_neon.h generation with tablegenNate Begeman2010-06-021-35/+38
| | | | llvm-svn: 105306
* More cleanup.Anders Carlsson2010-06-011-14/+10
| | | | llvm-svn: 105301
* More cleanup.Anders Carlsson2010-06-011-35/+10
| | | | llvm-svn: 105299
* Cleanup.Anders Carlsson2010-06-011-8/+9
| | | | llvm-svn: 105296
* Alter the ExternalASTSource interface to permit by-name lookups. PCH ↵John McCall2010-06-014-44/+122
| | | | | | | | | | | | | | continues to bring in the entire lookup table at once. Also, give ExternalSemaSource's vtable a home. This is important because otherwise any reference to it will cause RTTI to be emitted, and since clang is compiled with -fno-rtti, that RTTI will contain unresolved references (to ExternalASTSource's RTTI). So this change makes it possible to subclass ExternalSemaSource from projects compiled with RTTI, as long as the subclass's home is compiled with -fno-rtti. llvm-svn: 105268
* Limit the use of BindDefault().Zhongxing Xu2010-06-011-1/+5
| | | | llvm-svn: 105265
* Add support for calloc() in MallocChecker. Patch by Jordy Rose, with my Zhongxing Xu2010-06-012-10/+49
| | | | | | modification. llvm-svn: 105264
* Fix crash in code completion when an ObjCMethodDecl doesn't have an ↵Ted Kremenek2010-05-311-4/+7
| | | | | | | | associated @interface. Fixes <rdar://problem/8026215>. llvm-svn: 105256
* Minor tweaks on doug's objc recovery patch: the callerChris Lattner2010-05-312-7/+12
| | | | | | | | | | | | of isSimpleObjCMessageExpression checks the language, so change a dynamic check into an assert. isSimpleObjCMessageExpression is expensive, so only do it in the common case when it is likely to matter: when the [ of the postfix expr starts on a new line. This should avoid doing lookahead for every array expression. llvm-svn: 105229
* Make methods non-virtual again for now. I accidentally committed this inCharles Davis2010-05-311-23/+21
| | | | | | preparation for an alternate mangler. llvm-svn: 105224
* When we see the a '[' in a postfix expression in Objective-C, performDouglas Gregor2010-05-312-0/+18
| | | | | | | | | | | | | | | | | | | a simple, quick check to determine whether the expression starting with '[' can only be an Objective-C message send. If so, don't parse it as an array subscript expression. This improves recovery for, e.g., [a method1] [a method2] so that we now produce t.m:10:13: error: expected ';' after expression [a method] ^ instead of some mess about expecting ']'. llvm-svn: 105221
* Silence GCC warning about an accessible non-virtual destructor in a class withChandler Carruth2010-05-311-0/+2
| | | | | | | | virtual methods. Please review cdavis, should these methods even be virtual? llvm-svn: 105218
* After conversations with Zhongxing Xu and Jordy Rose, refine the logic inTed Kremenek2010-05-311-19/+25
| | | | | | | | | RegionStoreManager::RetrieveElement() that handles indexing into a larger scalar object to only consult the direct binding of a super region if it is a scalar. This isn't perfect yet, and a big FIXME is attached to the code. This causes the test case for PR 7218 now to pass. llvm-svn: 105195
* simpler fix for rdar://8044135 - escaped newlines have alreadyChris Lattner2010-05-301-10/+7
| | | | | | been processed, so they don't have to be tip-toed around. llvm-svn: 105182
* Improve our handling of NULL after an escaping '\' in a stringDouglas Gregor2010-05-301-2/+7
| | | | | | literal. Fixes <rdar://problem/8044135>. llvm-svn: 105181
* Don't try to parse class template specializations in C. It can onlyDouglas Gregor2010-05-301-3/+1
| | | | | | lead to heartache. Fixes <rdar://problem/8044088>. llvm-svn: 105178
* Improve parser recovery when we try to parse a call expression but theDouglas Gregor2010-05-301-1/+8
| | | | | | | called function itself is invalid (e.g., because of a semantic error referring to that declaration). Fixes <rdar://problem/8044142>. llvm-svn: 105175
OpenPOWER on IntegriCloud