[all-commits] [llvm/llvm-project] 9f151d: Change Module::ASTFile and ModuleFile::File => Opt...
Duncan P. N. Exon Smith via All-commits
all-commits at lists.llvm.org
Mon Nov 2 12:12:12 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 9f151df17800e1668c32e5314a290ae94c8f2dd3
https://github.com/llvm/llvm-project/commit/9f151df17800e1668c32e5314a290ae94c8f2dd3
Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
Date: 2020-11-02 (Mon, 02 Nov 2020)
Changed paths:
M clang/include/clang/Basic/FileEntry.h
M clang/include/clang/Basic/Module.h
M clang/include/clang/Serialization/ModuleFile.h
M clang/include/clang/Serialization/ModuleManager.h
M clang/lib/Basic/Module.cpp
M clang/lib/Sema/SemaModule.cpp
M clang/lib/Serialization/ModuleManager.cpp
M clang/tools/libclang/CIndex.cpp
M clang/tools/libclang/CXIndexDataConsumer.cpp
Log Message:
-----------
Change Module::ASTFile and ModuleFile::File => Optional<FileEntryRef>, NFC
Change `Module::ASTFile` and `ModuleFile::File` to use
`Optional<FileEntryRef>` instead of `const FileEntry *`. One of many
steps toward removing `FileEntry::getName`.
Differential Revision: https://reviews.llvm.org/D89836
More information about the All-commits
mailing list