| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
API in favor of addVisitor(BugReporterVisitor*).
1) Create a header file to expose the predefined visitors. And move the parent(BugReporterVisitor) there as well.
2) Remove the registerXXXVisitor functions - the Visitor constructors/getters can be used now to create the object. One exception is registerVarDeclsLastStore(), which registers more then one visitor, so make it static member of FindLastStoreBRVisitor.
3) Modify all the checkers to use the new API.
llvm-svn: 138126
|
|
|
|
|
|
| |
functionality they provided into their parent BugReport. The only functional changes are: made getRanges() non const - it adds default range to Ranges if none are supplied, made getStmt() private, which was another FIXME.
llvm-svn: 137894
|
|
|
|
| |
llvm-svn: 137665
|
|
|
|
|
|
| |
and libStaticAnalyzer[*]. It was highly inconsistent, and very ugly to look at.
llvm-svn: 137537
|
|
|
|
|
|
|
|
| |
separate TypedRegions that implement getValueType() from those that don't.
Patch by Olaf Krzikalla!
llvm-svn: 137498
|
|
|
|
|
|
|
|
| |
LLVM.h imports
them into the clang namespace.
llvm-svn: 135852
|
|
|
|
|
|
| |
API. No functionality change.
llvm-svn: 135349
|
|
|
|
|
|
| |
pointers. Fixes PR9746.
llvm-svn: 129741
|
|
|
|
|
|
| |
declared in protocols.
llvm-svn: 129395
|
|
|
|
| |
llvm-svn: 127798
|
|
|
|
|
|
| |
variadic Objective-C methods.
llvm-svn: 127797
|
|
|
|
|
|
| |
variadic Objective-C methods.
llvm-svn: 127719
|
|
|
|
|
|
|
|
| |
multiple warnings for the same message expression.
Also add a test case showing that we correctly report multiple warnings for the same message expression.
llvm-svn: 127605
|
|
|
|
|
|
|
|
| |
variadic Objective-C methods are of Objective-C pointer types.
Ted or Argiris, I'd appreciate a review!
llvm-svn: 127572
|
|
|
|
|
|
| |
NSString and NSMutableString.
llvm-svn: 127268
|
|
|
|
| |
llvm-svn: 126726
|
|
|
|
|
|
| |
headers.
llvm-svn: 126690
|
|
|
|
|
|
|
|
|
|
|
|
| |
CastToStructChecker
FixedAddressChecker
MacOSXAPIChecker
PointerArithChecker
PointerSubChecker
PthreadLockChecker
UnixAPIChecker
llvm-svn: 126284
|
|
|
|
|
|
|
|
| |
NilArgChecker
CFNumberCreateChecker
ClassReleaseChecker
llvm-svn: 126275
|
|
|
|
| |
llvm-svn: 125777
|
|
|
|
|
|
| |
by kremenek.
llvm-svn: 125687
|
|
|
|
|
|
|
|
|
|
| |
NilArgChecker
CFNumberCreateChecker
NSAutoreleasePoolChecker
CFRetainReleaseChecker
ClassReleaseChecker
llvm-svn: 125636
|
|
|
|
|
|
|
|
| |
'include/clang/StaticAnalyzer/Core' and 'include/clang/StaticAnalyzer/Checkers'.
This layout matches lib/StaticAnalyzer, which corresponds to two StaticAnalyzer libraries.
llvm-svn: 125251
|
|
|
|
|
|
|
|
|
|
| |
expressions and implicit
messages that are sent for handling properties in dot syntax.
Replace all direct uses of ObjCMessageExpr in the checkers and checker interface with ObjCMessage.
llvm-svn: 124159
|
|
|
|
|
|
| |
BasicObjCFoundationChecks.cpp; no functionality change.
llvm-svn: 124157
|
|
layout. :)
Rename the 'EntoSA' directories to 'StaticAnalyzer'.
Internally we will still use the 'ento' namespace
for the analyzer engine (unless there are further
sabre rattlings...).
llvm-svn: 122514
|