]> granicus.if.org Git - clang/commit
[analyzer] Refactor PathDiagnosticLocation: Pre-compute Range and Location with gen...
authorAnna Zaks <ganna@apple.com>
Tue, 20 Sep 2011 01:51:40 +0000 (01:51 +0000)
committerAnna Zaks <ganna@apple.com>
Tue, 20 Sep 2011 01:51:40 +0000 (01:51 +0000)
commitb490c4bb01a5a3a86947851fa66823dda32ed012
tree6c4e7cf1dbbd8ca367de18e331567e354570b1a7
parent1531bb0c69d9afff6a6434e4cadf345eb628b287
[analyzer] Refactor PathDiagnosticLocation: Pre-compute Range and Location with gen methods on object creation instead of computing on demand. This would allow to remove dependency on the other members which help with construction and might not even be valid at later stages (to be removed later on).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140131 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Core/BugReporter/PathDiagnostic.h
lib/StaticAnalyzer/Core/PathDiagnostic.cpp