aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMikhail Maltsev <mikhail.maltsev@arm.com>2020-10-19 18:30:51 +0100
committerMikhail Maltsev <mikhail.maltsev@arm.com>2020-10-19 18:31:05 +0100
commita3c16039b3f119cd83d872f256c45599ae6ac60c (patch)
treeac12871e6c4e033fe750364594e2c3029b5492ea /clang/lib/Frontend/CompilerInvocation.cpp
parent3cbdae22b91b94d21c0ca348e5ceea7081c9887d (diff)
downloadllvm-a3c16039b3f119cd83d872f256c45599ae6ac60c.zip
llvm-a3c16039b3f119cd83d872f256c45599ae6ac60c.tar.gz
llvm-a3c16039b3f119cd83d872f256c45599ae6ac60c.tar.bz2
[clang] Use SourceLocation as key in std::map, NFCI
SourceLocation implements `operator<`, so `SourceLocation`-s can be used as keys in `std::map` directly, there is no need to extract the internal representation. Since the `operator<` simply compares the internal representations of its operands, this patch does not introduce any functional changes. Reviewed By: dexonsmith Differential Revision: https://reviews.llvm.org/D89705
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions