[clang][Basic] Integrate SourceLocation with FoldingSet, NFCI
authorMikhail Maltsev <mikhail.maltsev@arm.com>
Tue, 27 Oct 2020 10:43:39 +0000 (10:43 +0000)
committerMikhail Maltsev <mikhail.maltsev@arm.com>
Tue, 27 Oct 2020 10:43:39 +0000 (10:43 +0000)
commit443ab4d2e01246bf93cd410db945dc9ab6adf1b3
tree9766664b618f1103807f289fecdfc6b3e8b313f0
parentf855a553339aa78225a309a6f9b5fcae767de8da
[clang][Basic] Integrate SourceLocation with FoldingSet, NFCI

This patch removes the necessity to access the SourceLocation internal
representation in several places that use FoldingSet objects.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D69844
clang/include/clang/Basic/SourceLocation.h
clang/lib/Analysis/PathDiagnostic.cpp
clang/lib/Basic/SourceLocation.cpp
clang/lib/StaticAnalyzer/Core/BugReporter.cpp