summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2011-12-20 02:48:34 +0000
committerDavid Blaikie <dblaikie@gmail.com>2011-12-20 02:48:34 +0000
commit68e081d606c7e80baa01400a738e118d7bb165b2 (patch)
tree9fdaa34f1b6e1b85648e91e4358cafd942254872 /clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
parentf96d0ade79b2f88922a39428105b5ea11921636a (diff)
downloadbcm5719-llvm-68e081d606c7e80baa01400a738e118d7bb165b2.tar.gz
bcm5719-llvm-68e081d606c7e80baa01400a738e118d7bb165b2.zip
Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch
llvm-svn: 146959
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp b/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
index 6c2f2ae46f2..50ebe3b7466 100644
--- a/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
+++ b/clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
@@ -82,6 +82,8 @@ PathDiagnostic::PathDiagnostic(StringRef bugtype, StringRef desc,
Desc(StripTrailingDots(desc)),
Category(StripTrailingDots(category)) {}
+void PathDiagnosticConsumer::anchor() { }
+
void PathDiagnosticConsumer::HandlePathDiagnostic(const PathDiagnostic *D) {
// For now this simply forwards to HandlePathDiagnosticImpl. In the future
// we can use this indirection to control for multi-threaded access to
OpenPOWER on IntegriCloud