- Sep 09, 2010
-
-
Ted Kremenek authored
to selectively walk successors/predecessors based on commonly used filters. For starters, add a filter to ignore 'default:' cases for SwitchStmts when all enum values are covered by CaseStmts. llvm-svn: 113449
-
Ted Kremenek authored
llvm-svn: 113448
-
Ted Kremenek authored
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
-
Douglas Gregor authored
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
-
Francois Pichet authored
llvm-svn: 113444
-
Daniel Dunbar authored
llvm-svn: 113443
-
Douglas Gregor authored
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
-
Douglas Gregor authored
pointer type, actually provide a usable block literal expression. llvm-svn: 113431
-
- Sep 08, 2010
-
-
Argyrios Kyrtzidis authored
llvm-svn: 113419
-
Douglas Gregor authored
llvm-svn: 113416
-
Douglas Gregor authored
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
-
Fariborz Jahanian authored
use of 'struct objc_object*' for 'is' (and others) in clang. llvm-svn: 113414
-
Argyrios Kyrtzidis authored
llvm-svn: 113413
-
Bill Wendling authored
llvm-svn: 113412
-
Fariborz Jahanian authored
Radar 8400356. llvm-svn: 113397
-
Argyrios Kyrtzidis authored
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
-
Daniel Dunbar authored
llvm-svn: 113379
-
Francois Pichet authored
llvm-svn: 113356
-
Francois Pichet authored
llvm-svn: 113354
-
Sebastian Redl authored
Don't give 'global constructor' warnings for function statics, even if they have a direct initializer. Fixes PR8095. llvm-svn: 113344
-
John McCall authored
Itanium guards and use a slightly different compiled-in API. llvm-svn: 113330
-
Sebastian Redl authored
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
-
Gabor Greif authored
llvm-svn: 113324
-
Douglas Gregor authored
CXXTemporaryObjectExpr, CXXScalarValueInitExpr, and CXXUnresolvedConstructExpr, getting rid of a bunch of FIXMEs in the process. llvm-svn: 113319
-
Fariborz Jahanian authored
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
-
Ted Kremenek authored
Fix DeclPrinter to not include '=' in printing when no initializer is provided for a VarDecl. Patch by Jim Goodnow II! llvm-svn: 113296
-
- Sep 07, 2010
-
-
Douglas Gregor authored
the TypeSourceInfo for the allocated type. Fixes PR7501. llvm-svn: 113291
-
Ted Kremenek authored
Fix null pointer dereference in StreamChecker::Fseek (reported in PR 8081) and simplify surrounding checking logic. llvm-svn: 113282
-
Tom Care authored
llvm-svn: 113269
-
Fariborz Jahanian authored
llvm-svn: 113256
-
Fariborz Jahanian authored
instead of asserting in IRGen. Fixes radar 8390459. llvm-svn: 113253
-
Dale Johannesen authored
Allow '<' and '>' as constraints for input or output. llvm-svn: 113246
-
John McCall authored
I, at least, make this typo all the time. llvm-svn: 113243
-
Daniel Dunbar authored
llvm-svn: 113226
-
Daniel Dunbar authored
use ld_classic. This is a temporary workaround, the linkr itself should handle this. llvm-svn: 113212
-
Douglas Gregor authored
inline" function outside of GNU89 mode. Fixes <rdar://problem/6880464>. llvm-svn: 113204
-
Douglas Gregor authored
the end of a statement. Fixes <rdar://problem/6896493>. llvm-svn: 113202
-
Douglas Gregor authored
enumeration definition. Fixes <rdar://problem/7159693>. llvm-svn: 113201
-
Douglas Gregor authored
member initializers in a C++ constructor. Fixes <rdar://problem/7796492>. llvm-svn: 113199
-
Benjamin Kramer authored
llvm-svn: 113185
-