]> granicus.if.org Git - clang/commit
[analyzer] Refactor: make PathDiagnosticLocation responsible for validation of Source...
authorAnna Zaks <ganna@apple.com>
Thu, 15 Sep 2011 01:08:34 +0000 (01:08 +0000)
committerAnna Zaks <ganna@apple.com>
Thu, 15 Sep 2011 01:08:34 +0000 (01:08 +0000)
commit220ac8c175cb1bf9b18d82eefe036995d7a2164d
tree5e2b69c8cd558e2011ee06f02ad0f29b006baaa6
parentf60dca355d3e754b7a51726c7455d1e7583a65ba
[analyzer] Refactor: make PathDiagnosticLocation responsible for validation of SourceLocations (commit 2 of ?):
- Modify all PathDiagnosticLocation constructors that take Stmt to also requre LocationContext.
- Add a constructor which should be used in case there is no valid statement/location (it will grab the location of the enclosing function).

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