summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/inlining/InlineObjCInstanceMethod.h
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] ObjC Inlining: add tests for ivars and properties.Anna Zaks2012-08-101-1/+11
| | | | | | | | | | TODO: - Handle @syncronized properties. - Always inline properties declared publicly (do not split the path). This is tricky since there is no mapping from a Decl to the property in the AST as far as I can tell. llvm-svn: 161683
* [analyzer] Track if a region can be a subclass in the dynamic type info.Anna Zaks2012-08-101-0/+10
| | | | | | | When object is allocated with alloc or init, we assume it cannot be a subclass (currently used only for bifurcation purposes). llvm-svn: 161682
* [analyzer] Optimize dynamic dispatch bifurcation by detecting the casesAnna Zaks2012-08-101-0/+7
| | | | | | | | | | | | | | | | when we don't need to split. In some cases we know that a method cannot have a different implementation in a subclass: - the class is declared in the main file (private) - all the method declarations (including the ones coming from super classes) are in the main file. This can be improved further, but might be enough for the heuristic. (When we are too aggressive splitting the state, efficiency suffers. When we fail to split the state coverage might suffer.) llvm-svn: 161681
* [analyzer] Very simple ObjC instance method inliningAnna Zaks2012-07-301-0/+19
- Retrieves the type of the object/receiver from the state. - Binds self during stack setup. - Only explores the path on which the method is inlined (no bifurcation to explore the path on which the method is not inlined). llvm-svn: 160991
OpenPOWER on IntegriCloud