diff options
Diffstat (limited to 'clang/lib/Analysis/CFRefCount.cpp')
-rw-r--r-- | clang/lib/Analysis/CFRefCount.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/lib/Analysis/CFRefCount.cpp b/clang/lib/Analysis/CFRefCount.cpp index 0cfd5771fa0..fb11e4c357f 100644 --- a/clang/lib/Analysis/CFRefCount.cpp +++ b/clang/lib/Analysis/CFRefCount.cpp @@ -1281,7 +1281,7 @@ void UseAfterRelease::EmitWarnings(BugReporter& BR) { RangedBugReport report(*this, I->first); report.addRange(I->second->getSourceRange()); - BR.EmitPathWarning(report); + BR.EmitWarning(report); } } @@ -1292,7 +1292,7 @@ void BadRelease::EmitWarnings(BugReporter& BR) { RangedBugReport report(*this, I->first); report.addRange(I->second->getSourceRange()); - BR.EmitPathWarning(report); + BR.EmitWarning(report); } } @@ -1303,7 +1303,7 @@ void Leak::EmitWarnings(BugReporter& BR) { E = TF.leaks_end(); I != E; ++I) { BugReport report(*this, I->second); - BR.EmitPathWarning(report); + BR.EmitWarning(report); } } |