diff options
author | Anna Zaks <ganna@apple.com> | 2011-09-20 01:38:47 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2011-09-20 01:38:47 +0000 |
commit | de8c5eddb9c9a1fee0f1e7d0c84be85a0dcf55f6 (patch) | |
tree | d947e9c04686a97b48e537fcbac2610feb7f6fc9 /clang/lib/StaticAnalyzer/Core/BugReporter.cpp | |
parent | 12e58f9c22749e7566ed1ea8c2927f1f630f43df (diff) | |
download | bcm5719-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.cpp | 2 |
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; } |