- Jun 23, 2009
-
-
Ted Kremenek authored
- Change implementation of MemRegion::hasStackStorage()/hasHeapStorage() to use 'getMemorySpace()'. This avoids a double traversal up the region hierarchy and is simpler. - Add MemRegion::hasHeapOrStackStorage() as a slightly more efficient alternative to 'hasStackStorage() || hasHeapStorage()'. llvm-svn: 73977
-
Ted Kremenek authored
llvm-svn: 73973
-
Ted Kremenek authored
llvm-svn: 73968
-
Ted Kremenek authored
llvm-svn: 73958
-
Zhongxing Xu authored
llvm-svn: 73954
-
Zhongxing Xu authored
No functionality change. llvm-svn: 73952
-
Zhongxing Xu authored
Clean up code with ValueManager. llvm-svn: 73951
-
Zhongxing Xu authored
explicitly. Make 0 value with the field type. llvm-svn: 73949
-
Zhongxing Xu authored
array elements to 0 explicitly. Create 0 values with the element type. llvm-svn: 73946
-
Zhongxing Xu authored
trait-based MemRegion creation. llvm-svn: 73941
-
Zhongxing Xu authored
llvm-svn: 73940
-
Zhongxing Xu authored
llvm-svn: 73939
-
Ted Kremenek authored
- Embed a reference to MemRegionManager objects in MemSpaceRegion objects - Use this embedded reference for MemRegion objects to access ASTContext objects without external help - Use this access to ASTContext to simplify 'isBoundable' (no ASTContext& argument required) llvm-svn: 73935
-
Ted Kremenek authored
llvm-svn: 73927
-
Ted Kremenek authored
the new trait-based construction of MemRegion objects. llvm-svn: 73926
-
Ted Kremenek authored
new generalized region-construction code. llvm-svn: 73921
-
Ted Kremenek authored
member template functions and traits. The idea is to allow MemRegionManager to construct subclasses of MemRegion that aren't declared in MemRegion.h (e.g., checker-specific regions). llvm-svn: 73917
-
- Jun 22, 2009
-
-
Zhongxing Xu authored
llvm-svn: 73880
-
- Jun 21, 2009
-
-
Zhongxing Xu authored
llvm-svn: 73851
-
- Jun 19, 2009
-
-
Ted Kremenek authored
preferring to use their replacements in GRState. This further unifies the code paths for such logic and leads to some code reduction. llvm-svn: 73771
-
Zhongxing Xu authored
because the type of the symbol is used to create the default range. We need the sign to be consistent. llvm-svn: 73756
-
Zhongxing Xu authored
ElementRegion. llvm-svn: 73754
-
Ted Kremenek authored
GRState->bindXXX and friends (and constify some arguments along the way). llvm-svn: 73740
-
Ted Kremenek authored
llvm-svn: 73735
-
Ted Kremenek authored
- Remove the 'isFeasible' flag from all uses of 'Assume'. - Remove the 'Assume' methods from GRStateManager. Now the only way to create a new GRState with an assumption is to use the new 'assume' methods in GRState. llvm-svn: 73731
-
- Jun 18, 2009
-
-
-
Zhongxing Xu authored
type. When retrieving the region value, if we are going to create a symbol value, use the cast-to type if possible. llvm-svn: 73690
-
Ted Kremenek authored
llvm-svn: 73670
-
Ted Kremenek authored
pretty-print a GRState object anywhere it is referenced (instead of needing a GRStateRef of a GRStateManager handy). llvm-svn: 73669
-
Ted Kremenek authored
llvm-svn: 73667
-
rdar://problem/6613046Steve Naroff authored
Add a type (ObjCObjectPointerType) and remove a type (ObjCQualifiedIdType). This large/tedious patch is just a first step. Next step is to remove ObjCQualifiedInterfaceType. After that, I will remove the magic TypedefType for 'id' (installed by Sema). This work will enable various simplifications throughout clang (when dealing with ObjC types). No functionality change. llvm-svn: 73649
-
Ted Kremenek authored
llvm-svn: 73648
-
Ted Kremenek authored
GRState object has a direct reference to its GRStateManager, making the functionality of GRStateRef redunandant. This will lead to some nice API cleanup and code shrinking across libAnalysis. llvm-svn: 73644
-
- Jun 17, 2009
-
-
Ted Kremenek authored
- Add "sections" to RegionStoreManager.cpp to delineate functionality. - Add new function "CreateFieldsOnlyRegionStoreManager" that uses the new RegionStoreFeatures class to use a reduced set of features from RegionStoreManager (in this case, only field-sensitivity). This isn't completely hooked up yet. llvm-svn: 73572
-
- Jun 16, 2009
-
-
Zhongxing Xu authored
be unique. llvm-svn: 73482
-
Zhongxing Xu authored
llvm-svn: 73474
-
- Jun 15, 2009
-
-
rdar://problem/6945561Ted Kremenek authored
Fix: <rdar://problem/6945561> -[CIContext createCGLayerWithSize:info:] misinterpreted by clang scan-build llvm-svn: 73415
-
-
- Jun 14, 2009
-
-
Chris Lattner authored
preprocessor and initialize it early in clang-cc. This ensures that __has_builtin works in all modes, not just when ASTContext is around. llvm-svn: 73319
-
- Jun 13, 2009
-
-
Zhongxing Xu authored
logic. llvm-svn: 73279
-