commit | 1531bb0c69d9afff6a6434e4cadf345eb628b287 | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Tue Sep 20 01:38:47 2011 +0000 |
committer | Anna Zaks <ganna@apple.com> | Tue Sep 20 01:38:47 2011 +0000 |
tree | cb12b3eb00dd8f48093bd59ab9e6011b6f2917a3 | |
parent | eecb6a1e8b95fcdb7d1a0d92b0a0311c041440cd [diff] [blame] |
[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
diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp index a90e791..043f5d2 100644 --- a/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/lib/StaticAnalyzer/Core/BugReporter.cpp
@@ -881,7 +881,7 @@ } if (firstCharOnly) - L.setSingleLocKind(); + L = PathDiagnosticLocation::createSingleLocation(L); return L; }