llvm-project/clang/lib
Ted Kremenek 608677a2e1 Remove 'SelfRegion' field from both BasicStoreManager and RegionStoreManager.
SelfRegion represented the object bound to 'self' (when analyzing Objective-C
methods) upon entry to a method. Having this region stored on the side ignores
the current stack frame that we might be analyzing (among other things), and is
a problem for interprocedural analysis.

For RegionStoreManager, the value for SelfRegion is just lazily created.

For BasicStoreManager, the value for SelfRegion is bound eagerly to 'self', but
no explicit tracking of SelfRegion on the side is made.

As part of this change, remove the restriction in BasicStoreManager that we only
track ivars for 'self'. This shouldn't actually change anything in terms of
precision, and simplifies the logic.

llvm-svn: 79694
2009-08-21 23:25:54 +00:00
..
AST Implement conversion function templates, along with the ability to use 2009-08-21 23:19:43 +00:00
Analysis Remove 'SelfRegion' field from both BasicStoreManager and RegionStoreManager. 2009-08-21 23:25:54 +00:00
Basic Issue an error if the user specifies parameters in a function marked as ISR. 2009-08-20 17:48:52 +00:00
CodeGen Calculate the address point for a vtable better, and start fleshing out the vcall 2009-08-21 23:09:30 +00:00
Driver Add additional library paths for Linux distros on mixed 32/64-bit systems. 2009-08-06 01:47:11 +00:00
Frontend Tie the local check NSErrorCheck to a Decl to pave the way 2009-08-21 02:18:44 +00:00
Headers Switch some functions from using x86 builtins to using vector 2009-07-22 17:08:01 +00:00
Index For a CXXOperatorCallExpr, fix the order that StmtLocResolver uses to check subexpressions. 2009-07-31 19:02:11 +00:00
Lex Update lexer to work with the new APFloat string parsing. 2009-08-16 23:36:28 +00:00
Parse Introduce support for constructor templates, which can now be declared 2009-08-21 18:42:58 +00:00
Rewrite Remove now unnecessary helper methods. 2009-08-19 20:32:38 +00:00
Sema Implement conversion function templates, along with the ability to use 2009-08-21 23:19:43 +00:00
CMakeLists.txt Introduce the 'Index' library. 2009-07-05 22:22:19 +00:00
Makefile Introduce the 'Index' library. 2009-07-05 22:22:19 +00:00