Weaken the ObjCSelfInitChecker to only warn when one calls an 'init' method...
Weaken the ObjCSelfInitChecker to only warn when one calls an 'init' method within an 'init' method. This is a temporary stop gap to avoid false positives while we investigate how to make it smarter. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@125427 91177308-0d34-0410-b5e6-96231b3b80d8
Showing
- include/clang/StaticAnalyzer/Core/PathSensitive/GRStateTrait.h 13 additions, 0 deletions...de/clang/StaticAnalyzer/Core/PathSensitive/GRStateTrait.h
- lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp 22 additions, 7 deletionslib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
- test/Analysis/self-init.m 6 additions, 6 deletionstest/Analysis/self-init.m
Please register or sign in to comment