commit | 23803374d8db054192ea6fcb766b87e04f26c8fb | [log] [tgz] |
---|---|---|
author | Anna Zaks <ganna@apple.com> | Tue Sep 20 16:23:37 2011 +0000 |
committer | Anna Zaks <ganna@apple.com> | Tue Sep 20 16:23:37 2011 +0000 |
tree | 2f5bfd0985039557f874e0bb970f33aa09d81ec0 | |
parent | 68018db76756c6959db15160055fd8da6bec5bec [diff] [blame] |
[analyzer] Remove LocationContext and a dependency from PathDiagnosticLoaction. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140146 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/StaticAnalyzer/Core/BugReporter.cpp b/lib/StaticAnalyzer/Core/BugReporter.cpp index 043f5d2..7a0a543 100644 --- a/lib/StaticAnalyzer/Core/BugReporter.cpp +++ b/lib/StaticAnalyzer/Core/BugReporter.cpp
@@ -877,7 +877,7 @@ } if (S != Original) - L = PathDiagnosticLocation(S, L.getManager(), L.getLocationContext()); + L = PathDiagnosticLocation(S, L.getManager(), PDB.getLocationContext()); } if (firstCharOnly)