aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-12-03 17:32:32 -0800
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2020-12-09 14:16:05 -0800
commit898d61b3cff5d79870d964c76d82764fef73efbb (patch)
tree63e09048c7324b6ece4e5658d82fb5fc964b612d /clang/lib/Frontend/CompilerInvocation.cpp
parenta7790508522fc277963df974dc953077778e3c11 (diff)
downloadllvm-898d61b3cff5d79870d964c76d82764fef73efbb.zip
llvm-898d61b3cff5d79870d964c76d82764fef73efbb.tar.gz
llvm-898d61b3cff5d79870d964c76d82764fef73efbb.tar.bz2
ARCMigrate: Migrate ObjCMT.cpp over to FileEntryRef
Migrate ObjCMT.cpp from using `const FileEntry*` to `FileEntryRef`. This is one of the blockers for changing `SourceManager` to use `FileEntryRef`. This adds an initial version of `SourceManager::getFileEntryRefForID`, which uses to `FileEntry::getLastRef`; after `SourceManager` switches, `SourceManager::getFileEntryForID` will need to call this function. This also adds uses of `FileEntryRef` as a key in a `DenseMap`, and a call to `hash_value(Optional)` in `DenseMapInfo<EditEntry>`; support for these were added in prep commits. Differential Revision: https://reviews.llvm.org/D92678
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions