aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-12-09 16:42:33 -0800
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2021-01-25 17:03:12 -0800
commit8d67b9e2461d654c0a3657e511e2295006f23748 (patch)
tree5f350cbdd42e1af98d76358df4911858cfc09e66 /clang/lib/Frontend/CompilerInvocation.cpp
parent46b1645e6c4fe5020ae08e4d94b3de0c80117b4b (diff)
downloadllvm-8d67b9e2461d654c0a3657e511e2295006f23748.zip
llvm-8d67b9e2461d654c0a3657e511e2295006f23748.tar.gz
llvm-8d67b9e2461d654c0a3657e511e2295006f23748.tar.bz2
SourceManager: Migrate to FileEntryRef in getOrCreateContentCache, NFC
Change `SourceManager::getOrCreateContentCache` to take a `FileEntryRef` and update call sites (mostly internal to SourceManager.cpp). In a couple of cases this temporarily relies on `FileEntry::getLastRef`, but those can be cleaned up once other APIs switch over. The one change outside of SourceManager.cpp is in ASTReader.cpp, which stops relying on the auto-degrade-to-`FileEntry*` behaviour from `InputFile::getFile` since it now needs a `FileEntryRef`. No functionality change here. Differential Revision: https://reviews.llvm.org/D92983
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions