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 | 1531bb0c69d9afff6a6434e4cadf345eb628b287 (patch) | |
tree | cb12b3eb00dd8f48093bd59ab9e6011b6f2917a3 /lib/StaticAnalyzer/Core/BugReporter.cpp | |
parent | eecb6a1e8b95fcdb7d1a0d92b0a0311c041440cd (diff) |
[analyzer] Use more create methods in the PathDiagnostic, cleanup.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Core/BugReporter.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Core/BugReporter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp index a90e79118d..043f5d2b81 100644 --- a/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/lib/StaticAnalyzer/Core/BugReporter.cpp @@ -881,7 +881,7 @@ class EdgeBuilder { } if (firstCharOnly) - L.setSingleLocKind(); + L = PathDiagnosticLocation::createSingleLocation(L); return L; } |