- Dec 20, 2008
-
-
rdar://problem/6454568Ted Kremenek authored
Fix <rdar://problem/6454568>: BugReporter should correctly handle switch statements with no default case. llvm-svn: 61270
-
Fariborz Jahanian authored
@encode of classes and bitfields. llvm-svn: 61268
-
- Dec 19, 2008
-
-
Anders Carlsson authored
llvm-svn: 61260
-
-
Douglas Gregor authored
warning. This matches GCC's behavior and addresses <rdar://problem/6458293>. llvm-svn: 61246
-
Anders Carlsson authored
llvm-svn: 61245
-
Fariborz Jahanian authored
llvm-svn: 61231
-
Douglas Gregor authored
llvm-svn: 61229
-
Ted Kremenek authored
Fix regression when invalidating reference-counts for objects passed-by-reference to a function/method. llvm-svn: 61224
-
- Dec 18, 2008
-
-
Steve Naroff authored
llvm-svn: 61223
-
Douglas Gregor authored
llvm-svn: 61212
-
Douglas Gregor authored
become useful or correct until we (1) parse template arguments correctly, (2) have some way to turn template-ids into types, declarators, etc., and (3) have a real representation of templates. llvm-svn: 61208
-
Ted Kremenek authored
llvm-svn: 61205
-
Fariborz Jahanian authored
code gen which did not belong there. llvm-svn: 61203
-
-
Chris Lattner authored
array size declarators. No need to go through all the trouble of parsing crazy things like [static const 4] when most code doesn't need it. llvm-svn: 61200
-
Chris Lattner authored
these completely ignore parsed attributes anyway, so don't try to read them. llvm-svn: 61198
-
Chris Lattner authored
emit duplicate diags (some in parser and some in sema) and to warn about use of typequals in array sizes. This implements PR2759. llvm-svn: 61197
-
Daniel Dunbar authored
- Update comment to reflect fact that StructRet is now supported for any type (modulo LLVM support). - No functionality change, no scalar types currently use this feature. llvm-svn: 61192
-
Chris Lattner authored
void foo() { return foo(); } llvm-svn: 61188
-
Chris Lattner authored
Fix PR2790 by making a warning an EXTWARN instead of EXTENSION. Add a new EXTENSION warning for "return (some void expression);" llvm-svn: 61187
-
Chris Lattner authored
llvm-svn: 61180
-
Ted Kremenek authored
Rewrite PTHLexer::DiscardToEndOfLine() to not use GetToken and instead only read the bytes needed to determine if a token is not at the start of the line. llvm-svn: 61172
-
Nuno Lopes authored
llvm-svn: 61171
-
Ted Kremenek authored
Change PTHLexer::getSourceLocation() to not call GetToken() and instead just read the file offset in the token data buffer directly. llvm-svn: 61170
-
- Dec 17, 2008
-
-
Douglas Gregor authored
Delay semantic analysis of the C++ names casts when the subexpression is type-dependent or the destination type is dependent. llvm-svn: 61165
-
Nuno Lopes authored
fix a few more memory leaks: clean the ASTRecordLayouts, ASTObjCInterfaces and ASTRecordForInterface maps llvm-svn: 61163
-
Fariborz Jahanian authored
(which will pass duplicate-ivar-check.m test again). llvm-svn: 61161
-
Eli Friedman authored
llvm-svn: 61160
-
Ted Kremenek authored
- Fix regression reported in <rdar://problem/6452745>. After a null check, null references to resources should not have a retain count. This regression was caused by removing the call to "GRTransferFuncs::EvalAssume" in BasicConstraintManager. - Added a test case to test this behavior. llvm-svn: 61155
-
Fariborz Jahanian authored
Note that one test duplicate-ivar-check.m will fail because I need to re-implement duplicate ivar checking. llvm-svn: 61154
-
Chris Lattner authored
llvm-svn: 61152
-
rdar://problem/6451816Ted Kremenek authored
- Because of the introduction of AnonTypedRegions when reasoning about casts, we had a regression in the "symbolication" of variable values passed-by-reference to a function. This is now fixed in CFRefCount.cpp (-checker-cfref) by blasting through the layer of AnonTypedRegions when symbolicating the value of the variable. This logic may get moved elsewhere. Note that this change affects only -checker-cfref and not -checker-simple; eventually this logic should get pulled out of CFRefCount.cpp into a more common place. All users use -checker-cfref by default, and -checker-simple should probably just be removed. - Updated test 'Analysis/uninit-vals-ps.c' to only use -checker-cfref and added a test case for this regression. llvm-svn: 61147
-
Ted Kremenek authored
llvm-svn: 61146
-
Ted Kremenek authored
llvm-svn: 61145
-
Fariborz Jahanian authored
llvm-svn: 61144
-
Douglas Gregor authored
Make the injected-class-name of a C++ class a separate RecordDecl from the class itself, with a different scope. This eliminates some ownership issues, so that the RecordDecl only lives in a single context llvm-svn: 61140
-
Douglas Gregor authored
warning: statement was disambiguated as declaration because it is currently firing in cases where the declaration would not actually parse as a statement. We'd love to bring this warning back if we can make it more accurate. llvm-svn: 61137
-
rdar://problem/6450964Steve Naroff authored
Fix <rdar://problem/6450964> clang on xcode: Assertion failed: (RecordForDecl && "lookupFieldDeclForIvar no storage for class"). This was a recent regression caused by r61043 (related to code gen. for ivar references). Fariborz, please review. I have some other concerns related to code generation for ivars that we can discuss later. llvm-svn: 61134
-
Chris Lattner authored
a name. This implements PR3208. llvm-svn: 61127
-