summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* When we take the address of a declaration to bind it to a non-typeDouglas Gregor2010-04-242-0/+18
| | | | | | | template parameter, by sure to mark that declaration as "referenced". The Boost.Iterator library now passes all tests. llvm-svn: 102256
* NeXT: Clean up dispatch method policy selection.Daniel Dunbar2010-04-2411-42/+146
| | | | | | | | | | - Replace -cc1 level -fobjc-legacy-dispatch with -fobjc-dispatch-method={legacy,non-legacy,mixed}. - Lift "mixed" vs "non-mixed" policy choice up to driver level, instead of being buried in CGObjCMac.cpp. - No intended functionality change. llvm-svn: 102255
* Simplify.Daniel Dunbar2010-04-241-6/+2
| | | | llvm-svn: 102254
* Pass the base specifiers through to CheckDerivedToBaseConversion. No ↵Anders Carlsson2010-04-246-15/+26
| | | | | | functionality change yet. llvm-svn: 102250
* CastExpr should not hold a pointer to the base path. More cleanup.Anders Carlsson2010-04-2414-39/+33
| | | | llvm-svn: 102249
* Tweak test case slightlyDouglas Gregor2010-04-241-0/+1
| | | | llvm-svn: 102248
* Be more careful around dependent nested-name-specifiers, complainingDouglas Gregor2010-04-246-5/+97
| | | | | | | | when they are not complete (since we could not match them up to anything) and ensuring that enum parsing can cope with dependent elaborated-type-specifiers. Fixes PR6915 and PR6649. llvm-svn: 102247
* isValue is set to false by default.Anders Carlsson2010-04-241-2/+1
| | | | llvm-svn: 102246
* Rename InheritancePath to BasePath, rename CastExpr::CXXBaseVector to ↵Anders Carlsson2010-04-244-20/+21
| | | | | | CXXBaseSpecifierArray. More to come. llvm-svn: 102245
* Keep track of when DependentNameTypes have no associated keywordDouglas Gregor2010-04-246-13/+15
| | | | | | | (e.g., no typename, enum, class, etc.), e.g., because the context is one that is known to refer to a type. Patch from Enea Zaffanella! llvm-svn: 102243
* Update prototypes.Benjamin Kramer2010-04-241-3/+4
| | | | llvm-svn: 102241
* Fix a place in inline asm lowering which was creating a TruncInst with aDan Gohman2010-04-241-3/+8
| | | | | | | pointer operand. This fixes an abort on MultiSource/Applications/ClamAV/libclamav_mbox.c. llvm-svn: 102238
* Recommit r102215, this time being more careful to only set the "principalJohn McCall2010-04-246-54/+51
| | | | | | | declaration" (i.e. the only which will actually be looked up) to have the non-member-operator bit. llvm-svn: 102231
* Teach clang -fixit to modify files in-place, or -fixit=suffix to create newNick Lewycky2010-04-2421-191/+109
| | | | | | files with the additional suffix in the middle. llvm-svn: 102230
* Revert accidental check-in.Devang Patel2010-04-241-13/+5
| | | | llvm-svn: 102226
* Revert r102215. This causes clang crash while compiling a test case from gdb ↵Devang Patel2010-04-247-44/+53
| | | | | | testsuite. llvm-svn: 102224
* With -fno-constant-cfstrrings, class NSConstantStringFariborz Jahanian2010-04-232-0/+17
| | | | | | must be there or it is error (Next runtime). llvm-svn: 102223
* Rework Parser-Sema interface for Objective-C @catch exception objectDouglas Gregor2010-04-235-11/+15
| | | | | | | | | arguments. Rather than having the parser call ActOnParamDeclarator (which is a bit of a hack), call a new ActOnObjCExceptionDecl action. We'll be moving more functionality into this handler to perform earlier checking of @catch. llvm-svn: 102222
* Improve the AST representation of Objective-C @try/@catch/@finallyDouglas Gregor2010-04-2317-173/+329
| | | | | | | | | | statements. Instead of the @try having a single @catch, where all of the @catch's were chained (using an O(n^2) algorithm nonetheless), @try just holds an array of its @catch blocks. The resulting AST is slightly more compact (not important) and better represents the actual language semantics (good). llvm-svn: 102221
* More -fno-constant-cfstrings API work.Fariborz Jahanian2010-04-232-4/+15
| | | | llvm-svn: 102219
* Add an InheritancePath parameter to the ImplicitCastExpr constructor.Anders Carlsson2010-04-2314-149/+185
| | | | llvm-svn: 102218
* Transition the last acceptable-result filter kind in LookupResult over to useJohn McCall2010-04-236-40/+39
| | | | | | a simple IDNS mask by introducing a namespace for non-member operators. llvm-svn: 102215
* Make Parser::ConsumeAndStoreUntil() more consistent with Parser::SkipUntil().Argyrios Kyrtzidis2010-04-234-18/+23
| | | | | | | | | ConsumeAndStoreUntil would stop at tok::unknown when caching an inline method definition while SkipUntil would go past it while parsing the method. Fixes PR 6903. llvm-svn: 102214
* Destroy the inheritance path.Anders Carlsson2010-04-232-0/+9
| | | | llvm-svn: 102211
* Add an inheritance path member variable to CastExpr. For now it's always ↵Anders Carlsson2010-04-231-5/+54
| | | | | | null but for derived-to-base and base-to-derived cast expressions it will contain the full base path. This is needed to avoid ambiguities. llvm-svn: 102210
* Turn CXXMethodVector into a generic class template.Anders Carlsson2010-04-234-90/+138
| | | | llvm-svn: 102208
* NeXT/EH: When generating the rethrow code for a finally block, make sure toDaniel Dunbar2010-04-232-2/+30
| | | | | | | chain outwards when inside a nested exception scope. - A real test for this is going into LLVM test-suite. llvm-svn: 102204
* NeXT/EH: Tidy up EH code a bit, don't emit the catch block EH handler if it ↵Daniel Dunbar2010-04-231-27/+32
| | | | | | is unreachable. llvm-svn: 102203
* Recommit my change to how C++ does elaborated type lookups, now withJohn McCall2010-04-2313-105/+277
| | | | | | two bugfixes which fix selfhost and (hopefully) the nightly tests. llvm-svn: 102198
* Improve on my previous diagnostics: per Doug's comment.Fariborz Jahanian2010-04-232-4/+4
| | | | llvm-svn: 102190
* More work toward implementingFariborz Jahanian2010-04-239-14/+152
| | | | | | NeXt's -fno-constant-cfstrings - wip. llvm-svn: 102189
* Implement PR6845. We allow matching constraints to have differentChris Lattner2010-04-233-59/+104
| | | | | | | | input and output types when the smaller value isn't mentioned in the asm string. Extend this support from integers to also allowing fp values to be mismatched (if not mentioned in the asm string). llvm-svn: 102188
* Trying to improve on a diagnostics for properties.Fariborz Jahanian2010-04-232-5/+5
| | | | llvm-svn: 102187
* Require a complete type for the lhs of member pointer dereference operations ↵Sebastian Redl2010-04-232-0/+15
| | | | | | if the type isn't exactly the same as the container class. Fixes PR6783. llvm-svn: 102186
* fix typoChris Lattner2010-04-231-1/+1
| | | | llvm-svn: 102183
* rename testChris Lattner2010-04-231-0/+0
| | | | llvm-svn: 102182
* david conrad points out that {|} in inline assembly on arm are not asmChris Lattner2010-04-235-4/+33
| | | | | | variants. This fixes neon inline asm which my patch for PR6780 broke. llvm-svn: 102181
* When instantiating a typedef of an anonymous tag type, note in the tagDouglas Gregor2010-04-232-0/+18
| | | | | | | declaration that this typedef gives the tag a name. Fixes a problem uncovered by Boost.GIL (Generic Image Library). llvm-svn: 102180
* Cleanup.Anders Carlsson2010-04-231-2/+1
| | | | llvm-svn: 102179
* Handle copy initialization in BuildImplicitMemberInitializer. Not used yet.Anders Carlsson2010-04-231-6/+35
| | | | llvm-svn: 102178
* add GNU C++ include paths for Fedora 11,12 x86_64,Chris Lattner2010-04-231-1/+13
| | | | | | patch by mikem! llvm-svn: 102177
* Revert "C++ doesn't really use "namespaces" for different kinds of names the ↵Daniel Dunbar2010-04-2311-251/+103
| | | | | | same", which seems to break most C++ nightly test apps. llvm-svn: 102174
* concepts is not a keyword here and fix copy-pasto.Nick Lewycky2010-04-231-2/+2
| | | | llvm-svn: 102172
* Strip cv-qualifiers when building C++ constructor and destructorDouglas Gregor2010-04-232-2/+12
| | | | | | names. llvm-svn: 102171
* Handle compound assignment expressions (i += j) as lvalues, which isDouglas Gregor2010-04-234-12/+93
| | | | | | | permitted in C++ but not in C. Fixes PR6900. Clang can now handle all of Boost.Lambda's regression tests. llvm-svn: 102170
* Add another 'catch all' access diagnostic.Anders Carlsson2010-04-232-10/+11
| | | | llvm-svn: 102169
* Emit a lame diagnostic when we can't mangle operator namesDouglas Gregor2010-04-231-1/+5
| | | | llvm-svn: 102168
* Mangle dependent template names such as the nested-name-specifier inDouglas Gregor2010-04-232-6/+76
| | | | | | | | | T::apply <U>::type Fixes PR6899, although I want to dig a little deeper into the FIXME for dependent template names that refer to operators. llvm-svn: 102167
* Add an ImplicitInitializerKind enum and pass it to ↵Anders Carlsson2010-04-231-11/+62
| | | | | | BuildImplicitBaseInitializer and BuildImplicitMemberInitializer. llvm-svn: 102166
* Fix a think-o that broke self-host.Anders Carlsson2010-04-232-20/+31
| | | | llvm-svn: 102165
OpenPOWER on IntegriCloud