- Jul 10, 2009
-
-
Ted Kremenek authored
Rename potentially ambiguous member template 'getRegion' to 'getSubRegion' to hopefully resolve template lookup ambiguities on some compilers. llvm-svn: 75253
-
Ted Kremenek authored
and replace the 'clang-cc' option '-analyzer-store=basic-new-cast' with '-analyzer-store=basic-old-cast'. We'll keep the old CastRegion implementation around for a little while for regression testing. llvm-svn: 75209
-
- Jul 09, 2009
-
-
Zhongxing Xu authored
llvm-svn: 75127
-
- Jul 07, 2009
-
-
Zhongxing Xu authored
llvm-svn: 74890
-
Ted Kremenek authored
llvm-svn: 74884
-
Ted Kremenek authored
llvm-svn: 74877
-
Ted Kremenek authored
region type. This better shows the logic of the method and allows the compiler to check if we didn't handle a specific region kind. llvm-svn: 74876
-
Ted Kremenek authored
llvm-svn: 74875
-
Ted Kremenek authored
llvm-svn: 74874
-
Ted Kremenek authored
llvm-svn: 74872
-
Ted Kremenek authored
- Refactor logic that creates ElementRegions into a help method 'MakeElementRegion'. - Fix crash due to not handling StringRegions. Casts of StringRegions now result in a new ElementRegion layered on the original StringRegion. llvm-svn: 74867
-
- Jul 06, 2009
-
-
Ted Kremenek authored
Make 'BasicStoreManager' + 'NewCastRegion' testable from the command line using '-analyzer-store=basic-new-cast'. llvm-svn: 74865
-
Ted Kremenek authored
- Have test for 'CodeTextRegion' dominate other region tests. - Use 'getAsRecordType' instead of isa<RecordType> llvm-svn: 74853
-
Ted Kremenek authored
llvm-svn: 74852
-
Ted Kremenek authored
(its superclass). This will allow us to experiment with using the new CastRegion with BasicStoreManager, and gradually phase out the old implementation. llvm-svn: 74851
-
rdar://problem/7033733Ted Kremenek authored
Fix <rdar://problem/7033733>. The CF_RETURNS_RETAINED attribute should work if the return type on an Objective-C method is a CF type reference, not just an Objective-C object reference. llvm-svn: 74841
-
Zhongxing Xu authored
llvm-svn: 74816
-
Zhongxing Xu authored
No functionality change. llvm-svn: 74812
-
- Jul 03, 2009
-
-
Zhongxing Xu authored
llvm-svn: 74762
-
Ted Kremenek authored
llvm-svn: 74751
-
Ted Kremenek authored
BasicStoreManager: Use SymbolManager::canSymbolicate() to determine if a variable can be symbolicated. llvm-svn: 74750
-
Ted Kremenek authored
ValueManager::getRegionValueSymbolVal() with unguarded calls to ValueManager::getRegionValueSymbolValOrUnknown(). This changes centralizes the decision of what values to symbolicate in SymbolManager rather than having it scatter in RegionStoreManager. llvm-svn: 74730
-
Ted Kremenek authored
structures passed-by-value as function arguments. llvm-svn: 74729
-
- Jul 02, 2009
-
-
Ted Kremenek authored
directly consulting if a VarDecl is an implicit or actual parameter, a global, etc. llvm-svn: 74716
-
Ted Kremenek authored
This will simplify the logic of StoreManagers that want to specially reason about the values of parameters. llvm-svn: 74715
-
Ted Kremenek authored
llvm-svn: 74709
-
Ted Kremenek authored
actual lifetime to their logical lifetime. llvm-svn: 74665
-
Ted Kremenek authored
pass misc-ps.m. Currently RegionStore/BasicStore don't do any special reasoning about clang-style vectors, so we should return UnknownVal (in all cases) when accessing their values via an array. llvm-svn: 74660
-
- Jul 01, 2009
-
-
Zhongxing Xu authored
llvm-svn: 74581
-
Ted Kremenek authored
TypedRegion. While we plan on removing this code at some point, it serves as a good reference implementation for use with BasicStore until we are sure the new CastRegion logic (in RegionStore.cpp) is correct. llvm-svn: 74559
-
- Jun 30, 2009
-
-
Ted Kremenek authored
llvm-svn: 74552
-
Zhongxing Xu authored
Mark the super region of the binding of block level expr in the Environment as live. llvm-svn: 74525
-
Zhongxing Xu authored
unknown for it. Mark the super region of a live region as live, if the live region is pointed to by a live pointer variable. These fixes xfail_regionstore_wine_crash.c. llvm-svn: 74524
-
Zhongxing Xu authored
DeclStmt would be dead before the DeclStmt. For example: int x = 0; int y = x; 'x' would be dead before 'int y = x'. llvm-svn: 74522
-
Zhongxing Xu authored
llvm-svn: 74521
-
Zhongxing Xu authored
llvm-svn: 74517
-
Zhongxing Xu authored
create TypedViewRegion for it. llvm-svn: 74516
-
Argyrios Kyrtzidis authored
Remove ASTContext parameter from DeclContext's methods. This change cascaded down to other Decl's methods and changes to call sites started "escalating". Timings using pre-tokenized "cocoa.h" showed only a ~1% increase in time run between and after this commit. llvm-svn: 74506
-
Argyrios Kyrtzidis authored
Timings showed no significant difference before and after the commit. llvm-svn: 74504
-
Argyrios Kyrtzidis authored
The implementations of these methods can Use Decl::getASTContext() to get the ASTContext. This commit touches a lot of files since call sites for these methods are everywhere. I used pre-tokenized "carbon.h" and "cocoa.h" headers to do some timings, and there was no real time difference between before the commit and after it. llvm-svn: 74501
-