- Nov 13, 2008
-
-
Ted Kremenek authored
GRExprEngine/CFRefCount/GRSimpleVals: We don't do any special handling (yet) of vector types. Add explicit checks that when we process integers that they really are scalars. llvm-svn: 59225
-
Ted Kremenek authored
llvm-svn: 59222
-
Ted Kremenek authored
- Don't crash on vector types. - Handle typedefs. llvm-svn: 59220
-
- Nov 12, 2008
-
-
Ted Kremenek authored
Update CFGStmtVisitor to recognize that ObjCForCollectionStmts are special block-level "expressions". llvm-svn: 59176
-
Ted Kremenek authored
llvm-svn: 59162
-
Ted Kremenek authored
llvm-svn: 59161
-
Ted Kremenek authored
Add (preliminary) transfer function support for ObjCForCollectionStmt. Still need to flesh out some logic. When processing DeclStmt, use the new interface to StateManager::BindDecl. Conjuring of symbols is now done in VisitDeclStmt. llvm-svn: 59155
-
Ted Kremenek authored
llvm-svn: 59154
-
Ted Kremenek authored
llvm-svn: 59153
-
Ted Kremenek authored
- Rename SetSVal to BindLoc - Add BindDecl - Add BindExpr GRState: - Environment now binds to Stmt* instead of Expr*. This is needed for processing ObjCForCollectionStmt (essentially the declaration of the the 'element' variable can have an SVal attached to it). - BindDecl no longer accepts Expr* for the initialization value; use SVal* instead. llvm-svn: 59152
-
Ted Kremenek authored
StoreManager::BindDecl now takes an SVal* for the initialization value instead of an Expr* (which can be null). Lazy symbolication of conjured symbols is now the sole responsibility of GRExprEngine. llvm-svn: 59151
-
- Nov 11, 2008
-
-
Ted Kremenek authored
- Added support for ObjCForCollectionStmt - Fixed bug where expression values would be always set to uninitialized when loops were involved llvm-svn: 59076
-
Ted Kremenek authored
llvm-svn: 59075
-
Sebastian Redl authored
Introduce a single AST node SizeOfAlignOfExpr for all sizeof and alignof expressions, both of values and types. llvm-svn: 59057
-
Ted Kremenek authored
llvm-svn: 59053
-
Zhongxing Xu authored
llvm-svn: 59015
-
- Nov 10, 2008
-
-
Zhongxing Xu authored
llvm-svn: 58985
-
Zhongxing Xu authored
Implement RegionStoreManager::RemoveDeadBindings(). This prunes several false warning caused by removal of symbolic constraints. Currently we just mark all symbols live. Further optimization for dead binding removal needed. llvm-svn: 58982
-
Zhongxing Xu authored
Print integer value instead of raw pointer. This is a hack to be fixed by migrating the output in analyzer to llvm::raw_ostream. llvm-svn: 58965
-
Chris Lattner authored
llvm-svn: 58956
-
- Nov 08, 2008
-
-
Zhongxing Xu authored
llvm-svn: 58886
-
- Nov 07, 2008
-
-
Zhongxing Xu authored
available, things get much simplified. One addition is that CompoundLiteralExpr can appear both in rvalue and lvalue context. llvm-svn: 58837
-
Zhongxing Xu authored
llvm-svn: 58833
-
- Nov 05, 2008
-
-
Ted Kremenek authored
llvm-svn: 58771
-
Ted Kremenek authored
llvm-svn: 58758
-
- Nov 04, 2008
-
-
Douglas Gregor authored
Add a new expression class, ObjCSuperExpr, to handle the Objective-C 'super'. Remove ObjCThis from PredefinedExpr llvm-svn: 58698
-
Ted Kremenek authored
llvm-svn: 58666
-
- Nov 03, 2008
-
-
Zhongxing Xu authored
llvm-svn: 58597
-
Zhongxing Xu authored
llvm-svn: 58596
-
Zhongxing Xu authored
- Prepare AnonPointeeRegioin for later use. llvm-svn: 58595
-
- Nov 02, 2008
-
-
Zhongxing Xu authored
sets the whole struct to Unknown. Then we cannot assume the V passed to BindStruct() is always a CompoundVal. When it is an UnknownVal, we call BindStructToVal(UnknownVal). 2. Change the signature of InitializeStructToUndefined() to BindStructToVal() to reuse the code. llvm-svn: 58564
-
Ted Kremenek authored
llvm-svn: 58553
-
Ted Kremenek authored
llvm-svn: 58552
-
Ted Kremenek authored
llvm-svn: 58551
-
- Oct 31, 2008
-
-
Ted Kremenek authored
Comment out invalid assertion. I'm leaving it in the code for now as a reminder to produce a test case. llvm-svn: 58510
-
Zhongxing Xu authored
Simplify interface. We can get canonical type from the base region directly. No need for an extra type argument. llvm-svn: 58507
-
Zhongxing Xu authored
llvm-svn: 58506
-
Zhongxing Xu authored
llvm-svn: 58504
-
Sanjiv Gupta authored
etc more generic. For some targets, long may not be equal to pointer size. For example: PIC16 has int as i16, ptr as i16 but long as i32. Also fixed a few build warnings in assert() functions in CFRefCount.cpp, CGDecl.cpp, SemaDeclCXX.cpp and ParseDeclCXX.cpp. llvm-svn: 58501
-
Zhongxing Xu authored
llvm-svn: 58496
-