| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Keep track of when DependentNameTypes have no associated keyword | Douglas Gregor | 2010-04-24 | 6 | -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 Kramer | 2010-04-24 | 1 | -3/+4 |
| | | | | | llvm-svn: 102241 | ||||
| * | Fix a place in inline asm lowering which was creating a TruncInst with a | Dan Gohman | 2010-04-24 | 1 | -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 "principal | John McCall | 2010-04-24 | 6 | -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 new | Nick Lewycky | 2010-04-24 | 21 | -191/+109 |
| | | | | | | | files with the additional suffix in the middle. llvm-svn: 102230 | ||||
| * | Revert accidental check-in. | Devang Patel | 2010-04-24 | 1 | -13/+5 |
| | | | | | llvm-svn: 102226 | ||||
| * | Revert r102215. This causes clang crash while compiling a test case from gdb ↵ | Devang Patel | 2010-04-24 | 7 | -44/+53 |
| | | | | | | | testsuite. llvm-svn: 102224 | ||||
| * | With -fno-constant-cfstrrings, class NSConstantString | Fariborz Jahanian | 2010-04-23 | 2 | -0/+17 |
| | | | | | | | must be there or it is error (Next runtime). llvm-svn: 102223 | ||||
| * | Rework Parser-Sema interface for Objective-C @catch exception object | Douglas Gregor | 2010-04-23 | 5 | -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/@finally | Douglas Gregor | 2010-04-23 | 17 | -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 Jahanian | 2010-04-23 | 2 | -4/+15 |
| | | | | | llvm-svn: 102219 | ||||
| * | Add an InheritancePath parameter to the ImplicitCastExpr constructor. | Anders Carlsson | 2010-04-23 | 14 | -149/+185 |
| | | | | | llvm-svn: 102218 | ||||
| * | Transition the last acceptable-result filter kind in LookupResult over to use | John McCall | 2010-04-23 | 6 | -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 Kyrtzidis | 2010-04-23 | 4 | -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 Carlsson | 2010-04-23 | 2 | -0/+9 |
| | | | | | llvm-svn: 102211 | ||||
| * | Add an inheritance path member variable to CastExpr. For now it's always ↵ | Anders Carlsson | 2010-04-23 | 1 | -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 Carlsson | 2010-04-23 | 4 | -90/+138 |
| | | | | | llvm-svn: 102208 | ||||
| * | NeXT/EH: When generating the rethrow code for a finally block, make sure to | Daniel Dunbar | 2010-04-23 | 2 | -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 Dunbar | 2010-04-23 | 1 | -27/+32 |
| | | | | | | | is unreachable. llvm-svn: 102203 | ||||
| * | Recommit my change to how C++ does elaborated type lookups, now with | John McCall | 2010-04-23 | 13 | -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 Jahanian | 2010-04-23 | 2 | -4/+4 |
| | | | | | llvm-svn: 102190 | ||||
| * | More work toward implementing | Fariborz Jahanian | 2010-04-23 | 9 | -14/+152 |
| | | | | | | | NeXt's -fno-constant-cfstrings - wip. llvm-svn: 102189 | ||||
| * | Implement PR6845. We allow matching constraints to have different | Chris Lattner | 2010-04-23 | 3 | -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 Jahanian | 2010-04-23 | 2 | -5/+5 |
| | | | | | llvm-svn: 102187 | ||||
| * | Require a complete type for the lhs of member pointer dereference operations ↵ | Sebastian Redl | 2010-04-23 | 2 | -0/+15 |
| | | | | | | | if the type isn't exactly the same as the container class. Fixes PR6783. llvm-svn: 102186 | ||||
| * | fix typo | Chris Lattner | 2010-04-23 | 1 | -1/+1 |
| | | | | | llvm-svn: 102183 | ||||
| * | rename test | Chris Lattner | 2010-04-23 | 1 | -0/+0 |
| | | | | | llvm-svn: 102182 | ||||
| * | david conrad points out that {|} in inline assembly on arm are not asm | Chris Lattner | 2010-04-23 | 5 | -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 tag | Douglas Gregor | 2010-04-23 | 2 | -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 Carlsson | 2010-04-23 | 1 | -2/+1 |
| | | | | | llvm-svn: 102179 | ||||
| * | Handle copy initialization in BuildImplicitMemberInitializer. Not used yet. | Anders Carlsson | 2010-04-23 | 1 | -6/+35 |
| | | | | | llvm-svn: 102178 | ||||
| * | add GNU C++ include paths for Fedora 11,12 x86_64, | Chris Lattner | 2010-04-23 | 1 | -1/+13 |
| | | | | | | | patch by mikem! llvm-svn: 102177 | ||||
| * | Revert "C++ doesn't really use "namespaces" for different kinds of names the ↵ | Daniel Dunbar | 2010-04-23 | 11 | -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 Lewycky | 2010-04-23 | 1 | -2/+2 |
| | | | | | llvm-svn: 102172 | ||||
| * | Strip cv-qualifiers when building C++ constructor and destructor | Douglas Gregor | 2010-04-23 | 2 | -2/+12 |
| | | | | | | | names. llvm-svn: 102171 | ||||
| * | Handle compound assignment expressions (i += j) as lvalues, which is | Douglas Gregor | 2010-04-23 | 4 | -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 Carlsson | 2010-04-23 | 2 | -10/+11 |
| | | | | | llvm-svn: 102169 | ||||
| * | Emit a lame diagnostic when we can't mangle operator names | Douglas Gregor | 2010-04-23 | 1 | -1/+5 |
| | | | | | llvm-svn: 102168 | ||||
| * | Mangle dependent template names such as the nested-name-specifier in | Douglas Gregor | 2010-04-23 | 2 | -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 Carlsson | 2010-04-23 | 1 | -11/+62 |
| | | | | | | | BuildImplicitBaseInitializer and BuildImplicitMemberInitializer. llvm-svn: 102166 | ||||
| * | Fix a think-o that broke self-host. | Anders Carlsson | 2010-04-23 | 2 | -20/+31 |
| | | | | | llvm-svn: 102165 | ||||
| * | C++ doesn't really use "namespaces" for different kinds of names the same | John McCall | 2010-04-23 | 11 | -103/+251 |
| | | | | | | | | | | | | | | way that C does. Among other differences, elaborated type specifiers are defined to skip "non-types", which, as you might imagine, does not include typedefs. Rework our use of IDNS masks to capture the semantics of different kinds of declarations better, and remove most current lookup filters. Removing the last remaining filter is more complicated and will happen in a separate patch. Fixes PR 6885 as well some spectrum of unfiled bugs. llvm-svn: 102164 | ||||
| * | Change the 'declared at' diagnostic to say 'declared here'. | Anders Carlsson | 2010-04-23 | 9 | -24/+24 |
| | | | | | llvm-svn: 102163 | ||||
| * | Factor code to initialize an implicit member out into a separate function. | Anders Carlsson | 2010-04-23 | 2 | -40/+63 |
| | | | | | llvm-svn: 102162 | ||||
| * | When parsing a cast-expression that starts with a scope annotation, | Douglas Gregor | 2010-04-23 | 2 | -0/+30 |
| | | | | | | | | try to annotate as a type first to determine whether we have a functional-style cast. Patch by Eli Friedman, fixes PR6830. llvm-svn: 102161 | ||||
| * | I hate default statements. Fixes PR6874. | Douglas Gregor | 2010-04-23 | 2 | -4/+44 |
| | | | | | llvm-svn: 102160 | ||||
| * | Remove calls to isDependentContext, since we handle that case earlier in the ↵ | Anders Carlsson | 2010-04-23 | 1 | -23/+15 |
| | | | | | | | code. Make BuildImplicitBaseInitializer return a boolean instead. llvm-svn: 102159 | ||||
| * | Template instantiation for @try and @finally (but not @catch, yet). | Douglas Gregor | 2010-04-22 | 2 | -6/+81 |
| | | | | | llvm-svn: 102147 | ||||
| * | Make TemplateDecl and ObjCContainerDecl abstract | Douglas Gregor | 2010-04-22 | 4 | -11/+4 |
| | | | | | llvm-svn: 102145 | ||||
| * | Kill off IDNS_ObjCImplementation and IDNS_ObjCCategoryName; they | Douglas Gregor | 2010-04-22 | 4 | -19/+5 |
| | | | | | | | | aren't and never were used. There's a gap in the bit pattern for IDNS now, but I'm sure *someone* will fill it. llvm-svn: 102143 | ||||

