- Jul 17, 2008
-
-
Ted Kremenek authored
llvm-svn: 53740
-
Ted Kremenek authored
Begin major changes to EvalXXX methods in GRTransferFuncs. Currently some of the methods only return an RVal; we want them to be able to create an arbitrary number of states. llvm-svn: 53739
-
Daniel Dunbar authored
<rdar://problem/6078606> llvm-svn: 53737
-
Ted Kremenek authored
Moved RemoveDeadBindings logic for the contents of 'Store' to a virtual RemoveDeadBindings method in StoreManager. llvm-svn: 53726
-
Argyrios Kyrtzidis authored
Unify ctx_iterator/ctx_begin()/ctx_end() and iterator/begin()/end() so that a single iterator type is used for both traversing decls of the same declaration context *and* of the parent declaration contexts, depending on the value of the bool parameter 'LookInParentCtx' that is passed to IdentifierResolver::begin(). llvm-svn: 53724
-
- Jul 16, 2008
-
-
Argyrios Kyrtzidis authored
When in C++, make EnumConstant names hide tag names in the same scope, instead of colliding with them. llvm-svn: 53702
-
Steve Naroff authored
- Make sure ObjCIvarDecl propagates the bitfield width. - RewriteObjC::SynthesizeIvarOffsetComputation(): Avoid using the __OFFSETOF__ mumbo jumbo for bitfields (since it isn't legal C). This fixes <rdar://problem/5986079> clang ObjC rewriter: bitfields and ivar access don't mix. llvm-svn: 53694
-
Argyrios Kyrtzidis authored
When checking for name collision between a tag and a previously defined namespace, the collision occured even when the tag was in a different nested scope. Fix it by taking into account the scope when checking for namespace-tag name collisions. llvm-svn: 53667
-
Argyrios Kyrtzidis authored
llvm-svn: 53665
-
Ted Kremenek authored
Fix regression introduced by http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20080714/006514.html. The regression was the casts from integers to pointers where not being handled: they would just return UnknownVal. This would greatly decrease path-sensitivity. llvm-svn: 53659
-
Ted Kremenek authored
Fix transfer function logic in GRSimpleVals for integer casts: only support casts from integers to integers. This fixes a crash reported by Anders Carlsson! llvm-svn: 53649
-
Ted Kremenek authored
llvm-svn: 53647
-
Ted Kremenek authored
llvm-svn: 53645
-
Ted Kremenek authored
Added parsing/sema support for __attribute__ ((IBOutlet)), a clang-specific attribute that the static analyzer will use to recognize what ivars are IBOutlets. llvm-svn: 53644
-
- Jul 15, 2008
-
-
Ted Kremenek authored
llvm-svn: 53628
-
Ted Kremenek authored
isRetain() and isRelease() now only returns true if "Retain"/"Release" appears in the suffix of a function's name. llvm-svn: 53621
-
Ted Kremenek authored
llvm-svn: 53617
-
- Jul 14, 2008
-
-
Ted Kremenek authored
llvm-svn: 53573
-
Nate Begeman authored
Add some code to handle vector comparisons, which is the language side of the llvm vicmp/vfcmp instructions. Also make the vector-vector and vector-scalar asign checks a bit more sane under the presence of lax vector conversions. llvm-svn: 53565
-
Ted Kremenek authored
Refactored error reporting in CheckObjCDealloc and CheckObjCInstMethSignature to use this new bug reporting interface (major code simplification). llvm-svn: 53560
-
Chris Lattner authored
llvm-svn: 53552
-
- Jul 12, 2008
-
-
Argyrios Kyrtzidis authored
Simplify the parser by removing Parser::ParseIdentifierStatement. llvm-svn: 53520
-
Argyrios Kyrtzidis authored
llvm-svn: 53519
-
Chris Lattner authored
Casts from pointers remain a problem. :) llvm-svn: 53501
-
Chris Lattner authored
llvm-svn: 53500
-
Chris Lattner authored
code. Switch to Eli's getIntWidth method. llvm-svn: 53499
-
Ted Kremenek authored
llvm-svn: 53493
-
Ted Kremenek authored
llvm-svn: 53492
-
Chris Lattner authored
diagnosic+loc info for i-c-e evaluation. llvm-svn: 53490
-
Ted Kremenek authored
ObjCImplementationDecls and sees if a ancestor class defines a method with the same selector but with a different type signature. Right now it just compares return types, and mainly looks at differences in primitive values. The checking will be expanded in the future. llvm-svn: 53482
-
Chris Lattner authored
llvm-svn: 53477
-
- Jul 11, 2008
-
-
Chris Lattner authored
llvm-svn: 53475
-
Ted Kremenek authored
llvm-svn: 53473
-
Chris Lattner authored
comparison has the right width. llvm-svn: 53469
-
Chris Lattner authored
llvm-svn: 53468
-
Chris Lattner authored
llvm-svn: 53467
-
Chris Lattner authored
Add some accessors to APValue. llvm-svn: 53465
-
Ted Kremenek authored
Refactored auditor interface within GRExprEngine and GRCoreEngine to use a "batch auditor" to dispatch to specialized auditors instead of having a separate vector for each audited Expr*. This not only provides a much cleaner implementation, but also allows us to install auditors for any expression. llvm-svn: 53464
-
Chris Lattner authored
llvm-svn: 53463
-
Ted Kremenek authored
"adds support (de)serialization (from)to (in memory) buffer." llvm-svn: 53425
-