diff options
author | Anna Zaks <ganna@apple.com> | 2011-09-16 19:18:30 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2011-09-16 19:18:30 +0000 |
commit | 0cd59482abd8aec9ed1eaad11f5fe9c1e42639f6 (patch) | |
tree | 64be666cff89307f916a1f1638a3977fc058184b /lib/Serialization/ASTWriter.cpp | |
parent | b5f8f07c68e7ec7b63c62649b11d557da4f0bed1 (diff) |
[analyzer] Refactor: make PathDiagnosticLocation responsible for validation of SourceLocations (commit 5 of ?):
- Get rid of PathDiagnosticLocation(SourceRange r,..) constructor by providing a bunch of create methods.
- The PathDiagnosticLocation(SourceLocation L,..), which is used by crate methods, will eventually become private.
- Test difference is in the case when the report starts at the beginning of the function. We used to represent that point as a range of the very first token in the first statement. Now, it's just a single location representing the first character of the first statement.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@139932 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriter.cpp')
0 files changed, 0 insertions, 0 deletions