Split out llvm/Support/FileSystem/UniqueID.h and clang/Basic/FileEntry.h, NFC
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Fri, 16 Oct 2020 20:37:14 +0000 (16:37 -0400)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 28 Oct 2020 20:38:32 +0000 (16:38 -0400)
commit23ed570af1cc165afea1b70a533a4a39d6656501
treef0488740a2cd6b1ef6dd0acf9495eb7c818d200e
parent49cddb90f6455d850fcee7d7cd5b414531e3422f
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.

Differential Revision: https://reviews.llvm.org/D89761
clang/include/clang/Basic/FileEntry.h [new file with mode: 0644]
clang/include/clang/Basic/FileManager.h
clang/lib/Basic/CMakeLists.txt
clang/lib/Basic/FileEntry.cpp [new file with mode: 0644]
llvm/include/llvm/Support/FileSystem.h
llvm/include/llvm/Support/FileSystem/UniqueID.h [new file with mode: 0644]