diff options
author | Ted Kremenek <kremenek@apple.com> | 2008-03-31 18:26:32 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2008-03-31 18:26:32 +0000 |
commit | c27815ca8262d257250e96be86e124ff8c28b375 (patch) | |
tree | 6ab0722b0e2475947b574cb7579a7bc07ba5a839 /clang/lib/Analysis/CFRefCount.cpp | |
parent | 612d34641b86517fcc451dde1ce3c8613505378c (diff) | |
download | bcm5719-llvm-c27815ca8262d257250e96be86e124ff8c28b375.tar.gz bcm5719-llvm-c27815ca8262d257250e96be86e124ff8c28b375.zip |
Inlined clang/Analysis/Analyses/GRSimpleVals.h into LocalCheckers.h and removed
GRSimpleVals.h
Added a PathDiagnosticClient option to the driver functions for the
CFRefCountChecker and the GRSimpleVals analysis. Both analyses now accept a "-o"
argument from the driver that specifies where HTML reports should be dumped.
llvm-svn: 48989
Diffstat (limited to 'clang/lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | clang/lib/Analysis/CFRefCount.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index ead329936be..2e7b410065e 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/lib/Analysis/CFRefCount.cpp @@ -14,7 +14,7 @@ #include "GRSimpleVals.h" #include "clang/Analysis/PathSensitive/ValueState.h" -#include "clang/Basic/Diagnostic.h" +#include "clang/Analysis/PathDiagnostic.h" #include "clang/Analysis/LocalCheckers.h" #include "llvm/ADT/DenseMap.h" #include "llvm/ADT/FoldingSet.h" @@ -778,7 +778,7 @@ CFRefCount::RefBindings CFRefCount::Update(RefBindings B, SymbolID sym, namespace clang { void CheckCFRefCount(CFG& cfg, Decl& CD, ASTContext& Ctx, - Diagnostic& Diag) { + Diagnostic& Diag, PathDiagnosticClient* PD) { if (Diag.hasErrorOccurred()) return; |