- Feb 08, 2011
-
-
Argyrios Kyrtzidis authored
[analyzer] lib/StaticAnalyzer/Checkers/ExprEngineExperimentalChecks.h -> lib/StaticAnalyzer/Checkers/ExperimentalChecks.h llvm-svn: 125122
-
Argyrios Kyrtzidis authored
[analyzer] lib/StaticAnalyzer/Checkers/ExprEngineInternalChecks.h -> lib/StaticAnalyzer/Checkers/InternalChecks.h llvm-svn: 125121
-
- Feb 05, 2011
-
-
Argyrios Kyrtzidis authored
A common pattern in classes with multiple initializers is to put the subclass's common initialization bits into a static function that receives the value of 'self', e.g: if (!(self = [super init])) return nil; if (!(self = _commonInit(self))) return nil; It was reported that 'self' was not set to the result of [super init]. Until we can use inter-procedural analysis, in such a call, transfer the ObjCSelfInitChecker flags associated with 'self' to the result of the call. Fixes rdar://8937441 & http://llvm.org/PR9094 llvm-svn: 124940
-
- Feb 03, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 124822
-
- Feb 02, 2011
-
-
John McCall authored
on, as well as more reliably limiting invalid references to locals from nested scopes. llvm-svn: 124721
-
- Feb 01, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 124680
-
Argyrios Kyrtzidis authored
llvm-svn: 124674
-
- Jan 27, 2011
-
-
Argyrios Kyrtzidis authored
llvm-svn: 124376
-
- Jan 26, 2011
-
-
Argyrios Kyrtzidis authored
[analyzer] Enable the self-init checker under command-line option '-analyzer-check-objc-self-init' which by default is enabled by the driver for '--analyze'. llvm-svn: 124266
-
Argyrios Kyrtzidis authored
llvm-svn: 124263
-
Argyrios Kyrtzidis authored
llvm-svn: 124249
-
- Jan 25, 2011
-
-
Ted Kremenek authored
by ExplodedNodes. This leads to about a 4-8% reduction in memory footprint when analyzing functions in sqlite3. llvm-svn: 124214
-
Ted Kremenek authored
for a block capturing the value of an uninitialized variable. llvm-svn: 124212
-
Argyrios Kyrtzidis authored
We translate property accesses to obj-c messages by simulating "loads" or "stores" to properties using a pseudo-location SVal kind (ObjCPropRef). Checkers can now reason about obj-c messages for both explicit message expressions and implicit messages due to property accesses. llvm-svn: 124161
-
Argyrios Kyrtzidis authored
[analyzer] Introduce ExprEngine::VisitObjCMessage for handling general ObjCMessages (both message expressions and property access) and use it in ExprEngine::VisitObjCMessageExpr. llvm-svn: 124160
-
Argyrios Kyrtzidis authored
[analyzer] Introduce ObjCMessage which represents both explicit ObjC message expressions and implicit messages that are sent for handling properties in dot syntax. Replace all direct uses of ObjCMessageExpr in the checkers and checker interface with ObjCMessage. llvm-svn: 124159
-
Argyrios Kyrtzidis authored
[analyzer] Simplify GetReceiverType function in BasicObjCFoundationChecks.cpp; no functionality change. llvm-svn: 124157
-
- Jan 20, 2011
-
-
Ted Kremenek authored
and methods defined within 'namespace X { ... }'. llvm-svn: 123921
-
- Jan 19, 2011
-
-
John McCall authored
thousand other things which were (generally inadvertantly) relying on that. llvm-svn: 123814
-
- Jan 18, 2011
-
-
Jeffrey Yasskin authored
-Wint-to-pointer-cast. llvm-svn: 123719
-
- Jan 17, 2011
-
-
Douglas Gregor authored
Joerg Sonnenberger! llvm-svn: 123669
-
- Jan 15, 2011
-
-
Douglas Gregor authored
that captures the substitution of a non-type template argument pack for a non-type template parameter pack within a pack expansion that cannot be fully expanded. This follows the approach taken by SubstTemplateTypeParmPackType. llvm-svn: 123506
-
- Jan 14, 2011
-
-
Ted Kremenek authored
Found by clang static analyzer. llvm-svn: 123485
-
Ted Kremenek authored
llvm-svn: 123460
-
Ted Kremenek authored
llvm-svn: 123459
-
- Jan 13, 2011
-
-
Ted Kremenek authored
llvm-svn: 123395
-
Ted Kremenek authored
dead stores within nested assignments. I have never seen an actual bug found by this specific warning, and it can lead to many false positives. llvm-svn: 123394
-
Zhongxing Xu authored
since the bindings are purged after they are set up. Need to investigate RemoveDeadBindings algorithm. llvm-svn: 123374
-
Ted Kremenek authored
and 'getBasePredecessor()' to 'getPredecessor()'. Also remove a unneeded save-and-restore of node builder's tag field. llvm-svn: 123363
-
Ted Kremenek authored
node builder's 'HasGeneratedNode' field. llvm-svn: 123362
-
- Jan 11, 2011
-
-
Argyrios Kyrtzidis authored
[analyzer] Introduce ObjCSelfInitChecker, which checks initialization methods to verify that they assign 'self' to the result of an initialization call (e.g. [super init], or [self initWith..]) before using any instance variable or returning 'self'. llvm-svn: 123264
-
Argyrios Kyrtzidis authored
llvm-svn: 123263
-
Argyrios Kyrtzidis authored
[analyzer] Add 'isLoad' parameter in Checker::visitLocation() to conveniently distinguish between loads/stores. llvm-svn: 123261
-
Ted Kremenek authored
llvm-svn: 123240
-
Ted Kremenek authored
to use a node builder. This paves the way for Checkers to interpose (via a "visit" method) at the entrance to blocks. llvm-svn: 123217
-
Ted Kremenek authored
with lowercase letter. llvm-svn: 123212
-
Ted Kremenek authored
with a lower-case letter. No functionality change. llvm-svn: 123211
-
- Jan 10, 2011
-
-
Zhongxing Xu authored
llvm-svn: 123167
-
Zhongxing Xu authored
llvm-svn: 123166
-
Douglas Gregor authored
llvm-svn: 123162
-