[PATCH] D89761: Split out llvm/Support/FileSystem/UniqueID.h and clang/Basic/FileEntry.h, NFC
Duncan P. N. Exon Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 19 20:00:49 PDT 2020
dexonsmith created this revision.
dexonsmith added reviewers: teemperor, Bigcheese, arphaman, JDevlieghere.
Herald added subscribers: llvm-commits, ributzka, mgorny.
Herald added a project: LLVM.
dexonsmith requested review of this revision.
Split out llvm/Support/FileSystem/UniqueID.h and clang/Basic/FileEntry.h, NFC
Split `FileEntry` and `FileEntryRef` out into a new file
`clang/Basic/FileEntry.h`. This allows current users of a
forward-declared `FileEntry` to transition to `FileEntryRef` without
adding more includers of `FileManager.h`.
Also split `UniqueID` out to llvm/Support/FileSystem/UniqueID.h, so
`FileEntry.h` doesn't need to include all of `FileSystem.h` for just
that type.
https://reviews.llvm.org/D89761
Files:
clang/include/clang/Basic/FileEntry.h
clang/include/clang/Basic/FileManager.h
clang/lib/Basic/CMakeLists.txt
clang/lib/Basic/FileEntry.cpp
llvm/include/llvm/Support/FileSystem.h
llvm/include/llvm/Support/FileSystem/UniqueID.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89761.299248.patch
Type: text/x-patch
Size: 15598 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201020/c856bc53/attachment.bin>
More information about the llvm-commits
mailing list