[analyzer] Move the knowledge of whether or not GC is enabled for the current...
[analyzer] Move the knowledge of whether or not GC is enabled for the current analysis from CFRefCount to ExprEngine. Remove TransferFuncs from ExprEngine and AnalysisConsumer. Demote RetainReleaseChecker to a regular checker, and give it the name osx.cocoa.RetainCount (class name change coming shortly). Update tests accordingly. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138998 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h 4 additions, 0 deletions.../clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
- include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h 5 additions, 7 deletionsinclude/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
- lib/StaticAnalyzer/Checkers/Checkers.td 4 additions, 0 deletionslib/StaticAnalyzer/Checkers/Checkers.td
- lib/StaticAnalyzer/Core/CFRefCount.cpp 87 additions, 86 deletionslib/StaticAnalyzer/Core/CFRefCount.cpp
- lib/StaticAnalyzer/Core/ExprEngine.cpp 2 additions, 5 deletionslib/StaticAnalyzer/Core/ExprEngine.cpp
- lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp 25 additions, 39 deletionslib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
- test/Analysis/CFDateGC.m 2 additions, 2 deletionstest/Analysis/CFDateGC.m
- test/Analysis/CFNumber.c 2 additions, 2 deletionstest/Analysis/CFNumber.c
- test/Analysis/CFRetainRelease_NSAssertionHandler.m 2 additions, 2 deletionstest/Analysis/CFRetainRelease_NSAssertionHandler.m
- test/Analysis/CGColorSpace.c 2 additions, 2 deletionstest/Analysis/CGColorSpace.c
- test/Analysis/NSPanel.m 2 additions, 2 deletionstest/Analysis/NSPanel.m
- test/Analysis/NSString.m 4 additions, 4 deletionstest/Analysis/NSString.m
- test/Analysis/NSWindow.m 2 additions, 2 deletionstest/Analysis/NSWindow.m
- test/Analysis/PR2599.m 1 addition, 1 deletiontest/Analysis/PR2599.m
- test/Analysis/cfref_PR2519.c 2 additions, 2 deletionstest/Analysis/cfref_PR2519.c
- test/Analysis/dead-stores.m 1 addition, 1 deletiontest/Analysis/dead-stores.m
- test/Analysis/delegates.m 1 addition, 1 deletiontest/Analysis/delegates.m
- test/Analysis/idempotent-operations.m 1 addition, 1 deletiontest/Analysis/idempotent-operations.m
- test/Analysis/objc-arc.m 1 addition, 1 deletiontest/Analysis/objc-arc.m
- test/Analysis/plist-output-alternate.m 1 addition, 1 deletiontest/Analysis/plist-output-alternate.m
Loading
Please register or sign in to comment