diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-10-30 11:13:37 -0400 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-11-02 13:26:15 -0500 |
commit | c17da8676a0ccdf3039b37d9fabb7062ab98070c (patch) | |
tree | 1b86a4621d97fad4febeecf1b403987e9a3bc501 /clang/lib/Basic/Module.cpp | |
parent | 906b9dbc9d7487ee923b6a516c36777a2be0ca35 (diff) | |
download | llvm-c17da8676a0ccdf3039b37d9fabb7062ab98070c.zip llvm-c17da8676a0ccdf3039b37d9fabb7062ab98070c.tar.gz llvm-c17da8676a0ccdf3039b37d9fabb7062ab98070c.tar.bz2 |
Support: Avoid std::tie in Support/FileSystem/UniqueID.h, NFC
Running `-fsyntax-only` on UniqueID.h is 2x faster with this patch
(which avoids calling `std::tie` for `operator<`). Since the transitive
includers of this file will go up as `FileEntryRef` gets used in more
places, avoid that compile-time hit. This is a follow-up to
23ed570af1cc165afea1b70a533a4a39d6656501 (suggested by Reid Kleckner).
Also drop the `<tuple>` include from FileSystem.h (which was vestigal
from before UniqueID.h was split out).
Differential Revision: https://reviews.llvm.org/D90471
Diffstat (limited to 'clang/lib/Basic/Module.cpp')
0 files changed, 0 insertions, 0 deletions