| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Use the correct function info for constructors when applying function ↵ | Anders Carlsson | 2010-02-06 | 5 | -6/+26 | |
| | | | | | | | attributes. Fixes PR6245. llvm-svn: 95474 | |||||
| * | Implement a warning diagnostic for weak vtables. Fixes PR6116. | Anders Carlsson | 2010-02-06 | 1 | -2/+9 | |
| | | | | | llvm-svn: 95472 | |||||
| * | Teach Sema how to instantiate a local function declaration properly. Fixes | John McCall | 2010-02-06 | 1 | -3/+8 | |
| | | | | | | | PR 5517. llvm-svn: 95470 | |||||
| * | Assert when we try to mangle a dependent template name, rather than | Douglas Gregor | 2010-02-06 | 1 | -1/+3 | |
| | | | | | | | crashing unceremoniously. llvm-svn: 95464 | |||||
| * | Per discussion, remove the explicit restriction on static const data members ↵ | John McCall | 2010-02-06 | 1 | -10/+3 | |
| | | | | | | | | | with out-of-line initializers as integer constant expressions. Fixes PR6206. llvm-svn: 95463 | |||||
| * | Teach RegionStore::InvalidateRegions() to also invalidate static variables ↵ | Ted Kremenek | 2010-02-06 | 3 | -7/+26 | |
| | | | | | | | referenced by blocks. llvm-svn: 95459 | |||||
| * | Rearrange some checks to avoid call to isCopyConstructor() and clarify path | John McCall | 2010-02-06 | 1 | -12/+14 | |
| | | | | | | | taken for non-trivial constructors. llvm-svn: 95457 | |||||
| * | Fix a bogus assertion after adjusting the type of a substituted | Douglas Gregor | 2010-02-05 | 1 | -1/+3 | |
| | | | | | | | | non-type template argument for a non-type template parameter of pointer type. Fixes PR6244. llvm-svn: 95447 | |||||
| * | Cope with finding the "instantiated" declaration when we are | Douglas Gregor | 2010-02-05 | 1 | -21/+36 | |
| | | | | | | | | | type-checking within a template definition. In this case, the "instantiated" declaration is just the declaration itself, found within the current instantiation. Fixes PR6239. llvm-svn: 95442 | |||||
| * | Standardize the parsing of function type attributes in a way that | John McCall | 2010-02-05 | 21 | -337/+328 | |
| | | | | | | | | | | | | | follows (as conservatively as possible) gcc's current behavior: attributes written on return types that don't apply there are applied to the function instead, etc. Only parse CC attributes as type attributes, not as decl attributes; don't accepet noreturn as a decl attribute on ValueDecls, either (it still needs to apply to other decls, like blocks). Consistently consume CC/noreturn information throughout codegen; enforce this by removing their default values in CodeGenTypes::getFunctionInfo(). llvm-svn: 95436 | |||||
| * | Add guard in RewriteObjC::HandleTopLevelSingleDecl() to not do | Ted Kremenek | 2010-02-05 | 1 | -5/+3 | |
| | | | | | | | | anything when Sema has issued an error. This matches the behavior in RewriteObjC::HandleTranslationUnit(). llvm-svn: 95434 | |||||
| * | Revert r95393, which broke Clang's self-host. | Douglas Gregor | 2010-02-05 | 3 | -14/+22 | |
| | | | | | llvm-svn: 95430 | |||||
| * | Implement name mangling for template template parameters | Douglas Gregor | 2010-02-05 | 1 | -2/+15 | |
| | | | | | llvm-svn: 95427 | |||||
| * | IRgen: A few more ConvertType cleanups. | Daniel Dunbar | 2010-02-05 | 1 | -11/+6 | |
| | | | | | llvm-svn: 95423 | |||||
| * | Fix two issues with the substitution of template template parameters | Douglas Gregor | 2010-02-05 | 2 | -9/+9 | |
| | | | | | | | | | | | | | | | | | when instantiating the declaration of a member template: - Only check if the have a template template argument at a specific position when we already know that we have template arguments at that level; otherwise, we're substituting for a level-reduced template template parameter. - When trying to find an instantiated declaration for a template template parameter, look into the instantiated scope. This was a typo, where we had two checks for TemplateTypeParmDecl, one of which should have been a TemplateTemplateParmDecl. With these changes, tramp3d-v4 passes -fsyntax-only. llvm-svn: 95421 | |||||
| * | IRgen: Factor out EmitAggExprToLValue. | Daniel Dunbar | 2010-02-05 | 3 | -14/+20 | |
| | | | | | llvm-svn: 95416 | |||||
| * | Fix a code gen bug accessing 'isa' field via a message call | Fariborz Jahanian | 2010-02-05 | 1 | -5/+14 | |
| | | | | | | | (Fixes radar 7609722). llvm-svn: 95406 | |||||
| * | When we're parsing an expression that may have looked like a | Douglas Gregor | 2010-02-05 | 2 | -3/+41 | |
| | | | | | | | | | | declaration, we can end up with template-id annotation tokens for types that have not been converted into type annotation tokens. When this is the case, translate the template-id into a type and parse as an expression. llvm-svn: 95404 | |||||
| * | IRgen: Fix some CreateTempAlloca calls to use ConvertTypeForMem when that is | Daniel Dunbar | 2010-02-05 | 4 | -6/+9 | |
| | | | | | | | conceptually correct. Review appreciated (Chris, Eli, Anders). llvm-svn: 95401 | |||||
| * | Fix the bug that was breaking self-host, and re-land the static ctor fixes. | Anders Carlsson | 2010-02-05 | 1 | -1/+12 | |
| | | | | | llvm-svn: 95400 | |||||
| * | Now that we store calling conventions in the types, use them instead of | Charles Davis | 2010-02-05 | 1 | -6/+10 | |
| | | | | | | | | getting the calling convention from the target function, which may or may not exist. Fixes PR5280. llvm-svn: 95399 | |||||
| * | Initial skeleton of an AST "importer", which will take AST elements from | Douglas Gregor | 2010-02-05 | 2 | -0/+510 | |
| | | | | | | | | | one context and import them into another context, merging them according to language-specific rules. This is a skeleton. It doesn't work, it isn't testable, but I want it in version control. llvm-svn: 95395 | |||||
| * | Testing, 1, 2, 3... | Charles Davis | 2010-02-05 | 1 | -2/+4 | |
| | | | | | | | Also make the comments I added in r95291 consistent. llvm-svn: 95394 | |||||
| * | IRgen: Use hasAggregateLLVMType instead of isSingleValueType() for cases that | Daniel Dunbar | 2010-02-05 | 3 | -22/+14 | |
| | | | | | | | | | need to deal with aggregates specially; this is consistent with the rest of IRgen. Also, simplify EmitParmDecl and don't worry about using Decl::getNameAsString. llvm-svn: 95393 | |||||
| * | Fixes a minor rewriter bug messaging inside a function call. | Fariborz Jahanian | 2010-02-05 | 1 | -1/+5 | |
| | | | | | | | Fixes radar 7617047. llvm-svn: 95392 | |||||
| * | Some clean up of replacement text API no longer needed by | Fariborz Jahanian | 2010-02-05 | 2 | -5/+4 | |
| | | | | | | | my recent changes. llvm-svn: 95391 | |||||
| * | Revert r95363 and r95375, which broke self-host. | Douglas Gregor | 2010-02-05 | 1 | -11/+1 | |
| | | | | | llvm-svn: 95389 | |||||
| * | A dependent initializer with zero arguments should return a NULL | Douglas Gregor | 2010-02-05 | 2 | -1/+5 | |
| | | | | | | | | initializer (for no initialization) rather than a ParenListExpr with zero arguments in it. llvm-svn: 95382 | |||||
| * | Revert the unused TST_pixel entry from r95335 as it is not listed in the Sema | Chandler Carruth | 2010-02-05 | 1 | -1/+0 | |
| | | | | | | | switch, triggering warnings. llvm-svn: 95381 | |||||
| * | Default function arguments for function template specializations | Douglas Gregor | 2010-02-05 | 3 | -5/+16 | |
| | | | | | | | | always come from the primary template, so gather the instantiation template arguments from the primary template. llvm-svn: 95380 | |||||
| * | Tweak inliner thresholds to match llvm-gcc, see r95321. | Daniel Dunbar | 2010-02-05 | 1 | -3/+3 | |
| | | | | | llvm-svn: 95379 | |||||
| * | Check in a mangle checker that's turned off by default. | Anders Carlsson | 2010-02-05 | 1 | -0/+18 | |
| | | | | | llvm-svn: 95377 | |||||
| * | Teach C++ name lookup that it's okay to look in a scope without a | Douglas Gregor | 2010-02-05 | 1 | -8/+10 | |
| | | | | | | | | | context. This happens fairly rarely (which is why we got away with this bug). Fixes PR6184, where we skipped over the template parameter scope while tentatively parsing. llvm-svn: 95376 | |||||
| * | Fix array initialization test. | Anders Carlsson | 2010-02-05 | 1 | -1/+2 | |
| | | | | | llvm-svn: 95375 | |||||
| * | A function declarator with a non-identifier name in an anonymous class | Douglas Gregor | 2010-02-05 | 2 | -2/+3 | |
| | | | | | | | is a constructor for that class, right? Fixes PR6238. llvm-svn: 95367 | |||||
| * | More GRState* -> Store changes. | Zhongxing Xu | 2010-02-05 | 4 | -23/+15 | |
| | | | | | llvm-svn: 95365 | |||||
| * | Remove unused parameter. | Zhongxing Xu | 2010-02-05 | 2 | -5/+3 | |
| | | | | | llvm-svn: 95364 | |||||
| * | If a global initializer has a non-trivial destructor it can't be emitted as ↵ | Anders Carlsson | 2010-02-05 | 1 | -1/+10 | |
| | | | | | | | a constant (even if it has a trivial constructor). llvm-svn: 95363 | |||||
| * | More GRState* -> Store changes. | Zhongxing Xu | 2010-02-05 | 4 | -14/+9 | |
| | | | | | llvm-svn: 95362 | |||||
| * | When adding ADL candidates for overloaded | Douglas Gregor | 2010-02-05 | 1 | -1/+1 | |
| | | | | | | | | post-increment/post-decrement operators, be sure to consider both arguments. Fixes PR6237. llvm-svn: 95361 | |||||
| * | More GRState* -> Store changes. | Zhongxing Xu | 2010-02-05 | 5 | -173/+144 | |
| | | | | | llvm-svn: 95360 | |||||
| * | When determining whether a scope specifier is complete, consider a | Douglas Gregor | 2010-02-05 | 1 | -0/+4 | |
| | | | | | | | dependent DeclContext to be "complete". Fixes PR6236. llvm-svn: 95359 | |||||
| * | More GRState* -> Store changes. | Zhongxing Xu | 2010-02-05 | 3 | -37/+32 | |
| | | | | | llvm-svn: 95357 | |||||
| * | Change LazyCompoundVal to a <Store, MemRegion*> pair. We really don't need to | Zhongxing Xu | 2010-02-05 | 3 | -55/+54 | |
| | | | | | | | spread GRState* everywhere. llvm-svn: 95354 | |||||
| * | Rename -cc1 option '-checker-cfref' to '-analyzer-check-objc-mem'. | Ted Kremenek | 2010-02-05 | 2 | -7/+7 | |
| | | | | | llvm-svn: 95348 | |||||
| * | Rename -cc1 option '-warn-objc-missing-dealloc' to ↵ | Ted Kremenek | 2010-02-05 | 1 | -1/+1 | |
| | | | | | | | '-analyzer-check-objc-missing-dealloc'. llvm-svn: 95347 | |||||
| * | Rename -cc1 option '-warn-objc-methodsigs' to '-analyzer-check-objc-methodsigs'. | Ted Kremenek | 2010-02-05 | 1 | -1/+1 | |
| | | | | | llvm-svn: 95346 | |||||
| * | Rename -cc1 option '-warn-objc-unused-ivars' to ↵ | Ted Kremenek | 2010-02-05 | 1 | -1/+1 | |
| | | | | | | | '-analyzer-check-objc-unused-ivars'. llvm-svn: 95345 | |||||
| * | Rename -cc1 option '-warn-dead-stores' to '-analyzer-check-dead-stores'. | Ted Kremenek | 2010-02-05 | 1 | -1/+1 | |
| | | | | | llvm-svn: 95343 | |||||
| * | Rename -cc1 option '-warn-security-syntactic' to ↵ | Ted Kremenek | 2010-02-05 | 1 | -1/+1 | |
| | | | | | | | '-analyzer-check-security-syntactic'. llvm-svn: 95342 | |||||

