summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2011-09-20 01:38:47 +0000
committerAnna Zaks <ganna@apple.com>2011-09-20 01:38:47 +0000
commitde8c5eddb9c9a1fee0f1e7d0c84be85a0dcf55f6 (patch)
treed947e9c04686a97b48e537fcbac2610feb7f6fc9 /clang/lib/StaticAnalyzer/Core/BugReporter.cpp
parent12e58f9c22749e7566ed1ea8c2927f1f630f43df (diff)
downloadbcm5719-llvm-de8c5eddb9c9a1fee0f1e7d0c84be85a0dcf55f6.tar.gz
bcm5719-llvm-de8c5eddb9c9a1fee0f1e7d0c84be85a0dcf55f6.zip
[analyzer] Use more create methods in the PathDiagnostic, cleanup.
llvm-svn: 140130
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/BugReporter.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/BugReporter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
index a90e79118d4..043f5d2b813 100644
--- a/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
+++ b/clang/lib/StaticAnalyzer/Core/BugReporter.cpp
@@ -881,7 +881,7 @@ class EdgeBuilder {
}
if (firstCharOnly)
- L.setSingleLocKind();
+ L = PathDiagnosticLocation::createSingleLocation(L);
return L;
}
OpenPOWER on IntegriCloud