- Mar 26, 2010
-
-
Ted Kremenek authored
when determining if it returns. Fixes <rdar://problem/7796563>. llvm-svn: 99663
-
- Mar 25, 2010
-
-
Zhongxing Xu authored
Instead of setting the ReturnExpr GDM to NULL, remove it. llvm-svn: 99470
-
- Mar 24, 2010
-
-
Ted Kremenek authored
llvm-svn: 99442
-
Ted Kremenek authored
llvm-svn: 99441
-
- Mar 23, 2010
-
-
Zhongxing Xu authored
llvm-svn: 99271
-
Zhongxing Xu authored
llvm-svn: 99269
-
Zhongxing Xu authored
llvm-svn: 99268
-
Zhongxing Xu authored
plate code for evaluating expressions of C++ class type. llvm-svn: 99267
-
Zhongxing Xu authored
llvm-svn: 99259
-
Zhongxing Xu authored
change the block counter map from unsigned -> unsigned to <StackFrameContext*, unsigned> -> unsigned. llvm-svn: 99255
-
Ted Kremenek authored
a null dereference results from a field access. llvm-svn: 99236
-
- Mar 22, 2010
-
-
Ted Kremenek authored
uninitialized value is used in the LHS of a compound assignment. llvm-svn: 99221
-
Kovarththanan Rajaratnam authored
llvm-svn: 99191
-
- Mar 21, 2010
-
-
Ted Kremenek authored
llvm-svn: 99114
-
- Mar 20, 2010
-
-
Ted Kremenek authored
llvm-svn: 99064
-
Ted Kremenek authored
This avoids redundant diagnostics. llvm-svn: 99063
-
Daniel Dunbar authored
expression", statistical evidence indicates it has some kind of memory error. llvm-svn: 99040
-
Ted Kremenek authored
is not evaluated because the receiver is nil. llvm-svn: 99024
-
- Mar 18, 2010
-
-
Ted Kremenek authored
for both CallExprs and ObjCMessageExprs. llvm-svn: 98800
-
Ted Kremenek authored
uninitialized data. llvm-svn: 98796
-
Ted Kremenek authored
a scalar variable with a scalar parameter. This is a form of defensive programming. If the variable is unused, it will be caused by -Wunused-variable. llvm-svn: 98795
-
- Mar 17, 2010
-
-
Zhongxing Xu authored
their bindings are not removed. llvm-svn: 98705
-
- Mar 16, 2010
-
-
Zhongxing Xu authored
since RemoveDeadBinding mistakenly remove the binding to CXXThisRegion. llvm-svn: 98629
-
- Mar 12, 2010
-
-
Jeffrey Yasskin authored
Tested: make CPPFLAGS=-m64 CXXFLAGS=-m64 -j8 && (cd tools/clang;make test) llvm-svn: 98399
-
- Mar 10, 2010
-
-
Ted Kremenek authored
llvm-svn: 98176
-
Ted Kremenek authored
llvm-svn: 98175
-
Ted Kremenek authored
llvm-svn: 98161
-
Ted Kremenek authored
llvm-svn: 98160
-
Ted Kremenek authored
Really apply (unnoticed weird git-svn merge conflict in 98144): Refactor RegionStore::RemoveDeadBindings to use the same core cluster analysis algorithm as RegionStore::InvalidateRegions(). Beyond simplifying the algorithm significantly, we no longer need to build subregion maps in RemoveDeadBindings(). This and other changes cause a significant speedup: the time to analyze sqlite3.c (single core) drops by 14%. llvm-svn: 98159
-
Ted Kremenek authored
cluster analysis algorithm as RegionStore::InvalidateRegions(). Beyond simplifying the algorithm significantly, we no longer need to build subregion maps in RemoveDeadBindings(). This and other changes cause a significant speedup: the time to analyze sqlite3.c (single core) drops by 14%. llvm-svn: 98144
-
Ted Kremenek authored
into a 'ClusterAnalysis' parent class. The idea is to potentially reuse this for reworking RemoveDeadBindings. llvm-svn: 98143
-
Zhongxing Xu authored
llvm-svn: 98136
-
Ted Kremenek authored
with an 'unknown' memory space. llvm-svn: 98110
-
- Mar 08, 2010
-
-
Douglas Gregor authored
of the class name. llvm-svn: 97943
-
Duncan Sands authored
llvm-svn: 97941
-
- Mar 05, 2010
-
-
Zhongxing Xu authored
information in ExplodedNode. llvm-svn: 97785
-
- Mar 04, 2010
-
-
Zhongxing Xu authored
we now may have identical states with different analysis context. Set the right AnalysisContext in state when entering and leaving a callee. With both of the above changes, we can pass the test case. llvm-svn: 97724
-
- Mar 02, 2010
-
-
Ted Kremenek authored
After discussion with Zhongxing, don't force the initializer of DeclStmts to be block-level expressions. This led to some interesting fallout: [UninitializedValues] Always visit the initializer of DeclStmts (do not assume they are block-level expressions). [BasicStore] With initializers of DeclStmts no longer block-level expressions, this causes self-referencing initializers (e.g. 'int x = x') to no longer cause the initialized variable to be live before the DeclStmt. While this is correct, it caused BasicStore::RemoveDeadBindings() to prune off the values of these variables from the initial store (where they are set to uninitialized). The fix is to back-port some (and only some) of the lazy-binding logic from RegionStore to BasicStore. Now the default values of local variables are determined lazily as opposed to explicitly initialized. llvm-svn: 97591
-
Ted Kremenek authored
llvm-svn: 97590
-
- Mar 01, 2010
-
-
Zhongxing Xu authored
no need to store a type with SymbolRegionValue. llvm-svn: 97437
-