[all-commits] [llvm/llvm-project] 75fbb5: [clang][nfc] refactor Module::Header to use Option...
Richard Howell via All-commits
all-commits at lists.llvm.org
Fri Jan 20 07:23:26 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 75fbb5d2238f1824f03d205b699061a115d5effc
https://github.com/llvm/llvm-project/commit/75fbb5d2238f1824f03d205b699061a115d5effc
Author: Richard Howell <rhow at fb.com>
Date: 2023-01-20 (Fri, 20 Jan 2023)
Changed paths:
M clang/include/clang/Basic/Module.h
M clang/include/clang/Lex/ModuleMap.h
M clang/lib/Frontend/FrontendAction.cpp
M clang/lib/Lex/ModuleMap.cpp
M clang/lib/Sema/SemaModule.cpp
M clang/lib/Serialization/ASTReader.cpp
Log Message:
-----------
[clang][nfc] refactor Module::Header to use OptionalFileEntryRef
Refactor the `Module::Header` class to use an `OptionalFileEntryRef`
instead of a `FileEntry*`. This is preparation for refactoring the
`TopHeaderNames` to use `FileEntryRef` so that we preserve the
lookup path of the headers when serializing.
This is mostly based on https://reviews.llvm.org/D90497
Reviewed By: jansvoboda11
Differential Revision: https://reviews.llvm.org/D142113
More information about the All-commits
mailing list