diff options
author | Ted Kremenek <kremenek@apple.com> | 2011-08-27 21:39:14 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2011-08-27 21:39:14 +0000 |
commit | 07453ac7b3d46f930733b44a593737bdd98706b6 (patch) | |
tree | aadda468d4ab9fd7c4855d75ad56ef391fd88bd8 /lib/StaticAnalyzer/Core/TextPathDiagnostics.cpp | |
parent | fee618af5dd7dee2caaa7347b372eb3dc5fdeffc (diff) |
[analyzer] Rename current PathDiagnosticClient::HandlePathDiagnostic() to HandlePathDiagnosticImpl(), and slot in new HandlePathDiagnostic() for potentially handling concurrent access to PathDiagnosticClients (in the future).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138713 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/TextPathDiagnostics.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/TextPathDiagnostics.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/StaticAnalyzer/Core/TextPathDiagnostics.cpp b/lib/StaticAnalyzer/Core/TextPathDiagnostics.cpp index c4665ef097..e91b48d9fe 100644 --- a/lib/StaticAnalyzer/Core/TextPathDiagnostics.cpp +++ b/lib/StaticAnalyzer/Core/TextPathDiagnostics.cpp @@ -31,7 +31,7 @@ public: TextPathDiagnostics(const std::string& output, Diagnostic &diag) : OutputFile(output), Diag(diag) {} - void HandlePathDiagnostic(const PathDiagnostic* D); + void HandlePathDiagnosticImpl(const PathDiagnostic* D); void FlushDiagnostics(SmallVectorImpl<std::string> *FilesMade) { } @@ -53,7 +53,7 @@ ento::createTextPathDiagnosticClient(const std::string& out, return new TextPathDiagnostics(out, PP.getDiagnostics()); } -void TextPathDiagnostics::HandlePathDiagnostic(const PathDiagnostic* D) { +void TextPathDiagnostics::HandlePathDiagnosticImpl(const PathDiagnostic* D) { if (!D) return; |