| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | When building SwitchStmts in Sema, record whether all the enum values of a ↵ | Ted Kremenek | 2010-09-09 | 4 | -35/+69 |
| | | | | | | | | | | | switch(enum) where covered by individual case statements. Flow-based analyses may wish to consult this information, and recording this in the AST allows us to obviate reconstructing this information later when we build the CFG. llvm-svn: 113447 | ||||
| * | Push the range associated with a nested-name-specifier further through | Douglas Gregor | 2010-09-08 | 1 | -12/+21 |
| | | | | | | | | | TreeTransform, since we were getting an empty source range where we shouldn't. Sadly, the test case is Boost.Proto, and isn't worth reducing. llvm-svn: 113446 | ||||
| * | Fix warnings caused by new CXXUuidofExprClass enumerator. | Francois Pichet | 2010-09-08 | 4 | -1/+5 |
| | | | | | llvm-svn: 113444 | ||||
| * | Add another missing CMake dependency. | Daniel Dunbar | 2010-09-08 | 1 | -0/+1 |
| | | | | | llvm-svn: 113443 | ||||
| * | Fix a few minor issues with parsing and semantic analysis of C++ | Douglas Gregor | 2010-09-08 | 4 | -18/+25 |
| | | | | | | | | | typeid expressions: - make sure we have a proper source location for the closing ')' - cache the declaration of std::type_info once we've found it llvm-svn: 113441 | ||||
| * | Add support for a few MS extensions supported by the Borland compiler | Dawn Perchik | 2010-09-08 | 2 | -6/+33 |
| | | | | | | | (__uuidof, _fastcall, etc.). llvm-svn: 113434 | ||||
| * | When providing a completion for a function/method parameter of block | Douglas Gregor | 2010-09-08 | 2 | -20/+36 |
| | | | | | | | pointer type, actually provide a usable block literal expression. llvm-svn: 113431 | ||||
| * | Test removed. | Fariborz Jahanian | 2010-09-08 | 1 | -20/+0 |
| | | | | | llvm-svn: 113428 | ||||
| * | Decl::CheckAccessDeclContext() keeps asserting. Access is not set in some cases. | Argyrios Kyrtzidis | 2010-09-08 | 1 | -4/+9 |
| | | | | | llvm-svn: 113419 | ||||
| * | Removed test case. | Fariborz Jahanian | 2010-09-08 | 1 | -0/+0 |
| | | | | | llvm-svn: 113418 | ||||
| * | Clean up some of the CMake dependencies | Douglas Gregor | 2010-09-08 | 7 | -1/+39 |
| | | | | | llvm-svn: 113416 | ||||
| * | Use the new-initialization code for initializing scalars with a | Douglas Gregor | 2010-09-08 | 6 | -44/+28 |
| | | | | | | | | | function-style cast. Previously, we had a (redundant, incorrect) semantic-checking path for non-class types, which allowed value-initialization of a reference type and then crashed. llvm-svn: 113415 | ||||
| * | Reverse r113397 until we decide what to do with | Fariborz Jahanian | 2010-09-08 | 4 | -45/+1 |
| | | | | | | | | use of 'struct objc_object*' for 'is' (and others) in clang. llvm-svn: 113414 | ||||
| * | Re-enable CheckAccessDeclContext and make sure it doesn't trigger assertions. | Argyrios Kyrtzidis | 2010-09-08 | 3 | -6/+12 |
| | | | | | llvm-svn: 113413 | ||||
| * | Initialize the MSVCGuidDecl variable in the correct order. | Bill Wendling | 2010-09-08 | 1 | -2/+3 |
| | | | | | llvm-svn: 113412 | ||||
| * | Fix a crash when overloading id with objc_object*. | Fariborz Jahanian | 2010-09-08 | 5 | -1/+65 |
| | | | | | | | Radar 8400356. llvm-svn: 113397 | ||||
| * | Fix C++ PCH issues. | Argyrios Kyrtzidis | 2010-09-08 | 7 | -104/+117 |
| | | | | | | | | | | | | PCH got a severe beating by the boost-using test case reported here: http://llvm.org/PR8099 Fix issues like: -When PCH reading, make sure Decl's getASTContext() doesn't get called since a Decl in the parent hierarchy may be initializing. -In ASTDeclReader::VisitFunctionDecl VisitRedeclarable should be called before using FunctionDecl's isCanonicalDecl() -In ASTDeclReader::VisitRedeclarableTemplateDecl CommonOrPrev must be initialized before anything else. llvm-svn: 113391 | ||||
| * | Frontend/-H: Add comment on why I used a temporary string here. | Daniel Dunbar | 2010-09-08 | 1 | -0/+1 |
| | | | | | llvm-svn: 113379 | ||||
| * | Microsoft's __uuidof operator implementation part 1. | Francois Pichet | 2010-09-08 | 19 | -2/+381 |
| | | | | | llvm-svn: 113356 | ||||
| * | Allow type definitions inside anonymous struct/union in Microsoft mode. | Francois Pichet | 2010-09-08 | 4 | -6/+68 |
| | | | | | llvm-svn: 113354 | ||||
| * | Don't give 'global constructor' warnings for function statics, even if they ↵ | Sebastian Redl | 2010-09-08 | 2 | -2/+12 |
| | | | | | | | have a direct initializer. Fixes PR8095. llvm-svn: 113344 | ||||
| * | Put the tautological-comparison-of-unsigned-against-zero warnings in | John McCall | 2010-09-08 | 4 | -6/+7 |
| | | | | | | | | | | -Wtautological-compare instead of -Wsign-compare, which also implies turning them on by default. Restoration of r112877. llvm-svn: 113334 | ||||
| * | Implement ARM static local initialization guards, which are more compact than | John McCall | 2010-09-08 | 12 | -160/+273 |
| | | | | | | | Itanium guards and use a slightly different compiled-in API. llvm-svn: 113330 | ||||
| * | Allow (cv) void and incomplete arrays to be passed to the type traits. | Sebastian Redl | 2010-09-08 | 4 | -8/+49 |
| | | | | | | | Fixes PR8110, and thus PR8109, PR8097, and parts of PR8101, PR8105 and PR8107. Only a few traits have tests for incomplete arrays, since I'm not yet clear what the result for them should be; Howards wants to file a DR to change the standard. llvm-svn: 113326 | ||||
| * | add a fixit when 'main' does ot return 'int'; review welcome | Gabor Greif | 2010-09-08 | 2 | -3/+15 |
| | | | | | llvm-svn: 113324 | ||||
| * | Provide proper type-source location information for | Douglas Gregor | 2010-09-08 | 14 | -177/+237 |
| | | | | | | | | | CXXTemporaryObjectExpr, CXXScalarValueInitExpr, and CXXUnresolvedConstructExpr, getting rid of a bunch of FIXMEs in the process. llvm-svn: 113319 | ||||
| * | Local static block variable referecned in its | Fariborz Jahanian | 2010-09-07 | 3 | -5/+62 |
| | | | | | | | | | block-literal initializer expression causes IRgen to crash. This patch fixes by saving it in StaticLocalDecl map already used for such purposes. (radar 8390455). llvm-svn: 113307 | ||||
| * | tests: Use -ffreestanding when including stdint.h, to avoid platform ↵ | Daniel Dunbar | 2010-09-07 | 8 | -11/+11 |
| | | | | | | | dependencies. llvm-svn: 113301 | ||||
| * | Fix DeclPrinter to not include '=' in printing when no initializer is ↵ | Ted Kremenek | 2010-09-07 | 1 | -3/+3 |
| | | | | | | | provided for a VarDecl. Patch by Jim Goodnow II! llvm-svn: 113296 | ||||
| * | typo | Gabor Greif | 2010-09-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 113295 | ||||
| * | Improve source-location information for CXXNewExpr, by hanging on to | Douglas Gregor | 2010-09-07 | 10 | -36/+86 |
| | | | | | | | the TypeSourceInfo for the allocated type. Fixes PR7501. llvm-svn: 113291 | ||||
| * | Fix null pointer dereference in StreamChecker::Fseek (reported in PR 8081) ↵ | Ted Kremenek | 2010-09-07 | 2 | -17/+18 |
| | | | | | | | and simplify surrounding checking logic. llvm-svn: 113282 | ||||
| * | Re-enabled truncation/extension checking in IdempotentOperationChecker and ↵ | Tom Care | 2010-09-07 | 2 | -6/+12 |
| | | | | | | | added a test case. llvm-svn: 113269 | ||||
| * | Add function attributes to the output of -ast-print-xml, from Martin Vejnar! | Douglas Gregor | 2010-09-07 | 2 | -0/+11 |
| | | | | | llvm-svn: 113266 | ||||
| * | get rid of a warning. | Fariborz Jahanian | 2010-09-07 | 1 | -3/+3 |
| | | | | | llvm-svn: 113256 | ||||
| * | Have Sema check for validity of CGString literal | Fariborz Jahanian | 2010-09-07 | 5 | -17/+22 |
| | | | | | | | instead of asserting in IRGen. Fixes radar 8390459. llvm-svn: 113253 | ||||
| * | Allow 'o' and 'V' as constraints for output asm operands. | Dale Johannesen | 2010-09-07 | 1 | -3/+9 |
| | | | | | | | Allow '<' and '>' as constraints for input or output. llvm-svn: 113246 | ||||
| * | Improve error recovery when we see ':' and expect a ';'. | John McCall | 2010-09-07 | 3 | -1/+27 |
| | | | | | | | I, at least, make this typo all the time. llvm-svn: 113243 | ||||
| * | Adjust a test that's expecting optimizations to be done | Dale Johannesen | 2010-09-07 | 1 | -3/+3 |
| | | | | | | | on MMX palignr; we don't do this for the intrinsics. llvm-svn: 113234 | ||||
| * | Driver/Darwin: Catch another case where ld ends up using ld_classic. | Daniel Dunbar | 2010-09-07 | 1 | -0/+10 |
| | | | | | llvm-svn: 113226 | ||||
| * | Driver/Darwin: Don't pass -demangle to the linker when we know it is going to | Daniel Dunbar | 2010-09-07 | 1 | -1/+7 |
| | | | | | | | | use ld_classic. This is a temporary workaround, the linkr itself should handle this. llvm-svn: 113212 | ||||
| * | Provide a specific diagnostic when trying to redefine an "extern | Douglas Gregor | 2010-09-07 | 3 | -1/+13 |
| | | | | | | | | inline" function outside of GNU89 mode. Fixes <rdar://problem/6880464>. llvm-svn: 113204 | ||||
| * | Improve recovery when there is a stray ']' or ')' before the ';' at | Douglas Gregor | 2010-09-07 | 7 | -20/+53 |
| | | | | | | | the end of a statement. Fixes <rdar://problem/6896493>. llvm-svn: 113202 | ||||
| * | Improve recovery when a comma is missing between enumerators in an | Douglas Gregor | 2010-09-07 | 4 | -5/+22 |
| | | | | | | | enumeration definition. Fixes <rdar://problem/7159693>. llvm-svn: 113201 | ||||
| * | Improve diagnostic and recovery when missing a comma between base or | Douglas Gregor | 2010-09-07 | 3 | -0/+18 |
| | | | | | | | member initializers in a C++ constructor. Fixes <rdar://problem/7796492>. llvm-svn: 113199 | ||||
| * | Replace loops with SmallVector::append. | Benjamin Kramer | 2010-09-06 | 2 | -6/+3 |
| | | | | | llvm-svn: 113185 | ||||
| * | Due to asmparser improvements, this error message is now better | Chris Lattner | 2010-09-06 | 1 | -1/+1 |
| | | | | | llvm-svn: 113177 | ||||
| * | Fix a C++ PCH problem which was exposed by r113019. ↵ | Argyrios Kyrtzidis | 2010-09-06 | 3 | -0/+14 |
| | | | | | | | CXXBaseOrMemberInitializer's IsWritten and source order is not set. llvm-svn: 113161 | ||||
| * | remove curly quotes, patch by Dimitry Andric! | Chris Lattner | 2010-09-06 | 3 | -5/+5 |
| | | | | | llvm-svn: 113156 | ||||
| * | LastFieldBitfield in CGObjCCommonMac::BuildAggrIvarLayout keeps bitfields or ↵ | Argyrios Kyrtzidis | 2010-09-06 | 2 | -15/+39 |
| | | | | | | | | | unnamed fields but later the code assumes that it's always a bitfield. This can lead to a crash (reported at rdar://8368320). llvm-svn: 113154 | ||||

