- Feb 24, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 126438
-
-
Rafael Espindola authored
in PR9301. llvm-svn: 126422
-
Chandler Carruth authored
namespace blanket rule for variables and functions declared 'extern "C"'. llvm-svn: 126400
-
Douglas Gregor authored
nested-name-specifiers throughout the parser, and provide a new class (NestedNameSpecifierLoc) that contains a nested-name-specifier along with its type-source information. Right now, this information is completely useless, because we don't actually store the source-location information anywhere in the AST. Call this Step 1/N. llvm-svn: 126391
-
Axel Naumann authored
Add an interface for last resort, unqualified lookup. It can provide results for unqualified lookup when Sema fails to find anything itself. llvm-svn: 126387
-
Daniel Dunbar authored
layout", it broke some GCC tests. llvm-svn: 126386
-
Argyrios Kyrtzidis authored
-analyzer-checker=cocoa,unix llvm-svn: 126372
-
Argyrios Kyrtzidis authored
llvm-svn: 126371
-
Argyrios Kyrtzidis authored
If the state is new, make sure an ExplodedNode is associated with it. llvm-svn: 126370
-
Argyrios Kyrtzidis authored
llvm-svn: 126369
-
Chris Lattner authored
_Bool is 1 bit, not 8. This fixes an assertion on the testcase, which is PR9304 and rdar://9045501. llvm-svn: 126368
-
Chris Lattner authored
magic integer arithmetic and allows it to work with types larger than 64 bits. llvm-svn: 126365
-
Chris Lattner authored
unneeded allocation of an empty StringLiteral when these don't have a message. llvm-svn: 126364
-
Ted Kremenek authored
Fix tiny error in CFG construction for BinaryConditionalOperators, making sure the branch always has two successors. Also teach Environment::getSVal() about OpaqueValueExprs. This fixes a crash reported in PR9287, and also fixes a false positive involving the value of such ternary expressions not properly getting propagated. llvm-svn: 126362
-
Douglas Gregor authored
way it keeps track of namespaces. Previously, we would map from the namespace alias to its underlying namespace when building a nested-name-specifier, losing source information in the process. llvm-svn: 126358
-
Ken Dyck authored
methods, when they are known to be exact multiples of the width of the char type. llvm-svn: 126357
-
Ken Dyck authored
llvm-svn: 126356
-
Ken Dyck authored
with getter and setter methods in both bit units and CharUnits. This will help simplify some of the unit mismatch in the parts of the code where sizes are known to be exact multiples of the width of the char type. Assertions in the getters help guard against accidentally converting to CharUnits when sizes are not exact multiples of the char width. llvm-svn: 126354
-
Argyrios Kyrtzidis authored
llvm-svn: 126352
-
Argyrios Kyrtzidis authored
llvm-svn: 126351
-
Argyrios Kyrtzidis authored
llvm-svn: 126350
-
Douglas Gregor authored
nested-name-specifier and source range to be set at the same time. llvm-svn: 126347
-
Douglas Gregor authored
with another component in the nested-name-specifiers, updating its representation (a NestedNameSpecifier) and source-location information (currently a SourceRange) simultaneously. This is groundwork for adding source-location information to nested-name-specifiers. llvm-svn: 126346
-
Chandler Carruth authored
don't seem to have been covered by our tests previously. This should fix bootstrap failure. llvm-svn: 126345
-
Chandler Carruth authored
expressions. Consider the code: int64_t i = 10 << 30; This compiles fine, but most developers expect it to produce the value for 10 gigs, not -2 gigs. This is actually undefined behavior because the LHS is a signed integer type. The warning is currently gated behind -Wshift-overflow. There is a special case where only the sign bit is overridden that gets a custom error message and is by default ignored. This case is much less likely to cause observed buggy behavior, it's just undefined behavior according to the spec. This warning can be enabled with -Wshift-sign-overflow. Original patch by Oleg Slezberg, with style tweaks and some correctness fixes by me. llvm-svn: 126342
-
Ted Kremenek authored
llvm-svn: 126341
-
- Feb 23, 2011
-
-
Nick Lewycky authored
llvm-svn: 126334
-
Argyrios Kyrtzidis authored
llvm-svn: 126333
-
Argyrios Kyrtzidis authored
-Introduce EndOfFunctionNodeBuilder::withCheckerTag to allow it be "specialized" with a checker tag and not require the checkers to pass a tag. -For EndOfFunctionNodeBuilder::generateNode, reverse the order of tag/P parameters since there are actual calls that assume the second parameter is ExplodedNode. llvm-svn: 126332
-
Argyrios Kyrtzidis authored
llvm-svn: 126331
-
Argyrios Kyrtzidis authored
llvm-svn: 126326
-
Argyrios Kyrtzidis authored
llvm-svn: 126325
-
Argyrios Kyrtzidis authored
llvm-svn: 126324
-
Chandler Carruth authored
several ways. We now warn for more of the return types, and correctly locate the ignored ones. Also adds fix-it hints to remove the ignored qualifiers. Fixes much of PR9058, although not all of it. Patch by Hans Wennborg, a couple of minor style tweaks from me. llvm-svn: 126321
-
David Chisnall authored
Fix type mismatch between property function that CGObjCGNU was returning and the one CGObjC was calling. Fixes bug r9294. llvm-svn: 126312
-
Argyrios Kyrtzidis authored
llvm-svn: 126308
-
Argyrios Kyrtzidis authored
NSAutoreleasePoolChecker ObjCAtSyncChecker llvm-svn: 126307
-
Argyrios Kyrtzidis authored
llvm-svn: 126306
-
Ted Kremenek authored
Teach CFGBuilder about null pointer constants in conditionals, and how they can be used to prune branches. Fixes false null pointer dereference warning in PR 8183. llvm-svn: 126305
-