]> granicus.if.org Git - clang/commit
Hack: Add 'PathDiagnostic::flattenLocations()'. Because PlistDiagnosticClient
authorTed Kremenek <kremenek@apple.com>
Thu, 2 Apr 2009 05:13:24 +0000 (05:13 +0000)
committerTed Kremenek <kremenek@apple.com>
Thu, 2 Apr 2009 05:13:24 +0000 (05:13 +0000)
commit96a69267fc771dcb288bb7b3c5b5b6d49a9542ff
tree73ca6201973b9fef0ef76cd52a02d732cec5b11f
parentef5cc75782f7c3537ae81cc2a1f3aef8a5cd4c26
Hack: Add 'PathDiagnostic::flattenLocations()'. Because PlistDiagnosticClient
can use a PathLocation after any reference Stmts are reclaimed,
flattenLocation() converts those references to statements to source ranges.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@68292 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Analysis/PathDiagnostic.h
lib/Frontend/PlistDiagnostics.cpp