[all-commits] [llvm/llvm-project] 23ed57: Split out llvm/Support/FileSystem/UniqueID.h and c...

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Wed Oct 28 13:39:05 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 23ed570af1cc165afea1b70a533a4a39d6656501
      https://github.com/llvm/llvm-project/commit/23ed570af1cc165afea1b70a533a4a39d6656501
  Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    A clang/include/clang/Basic/FileEntry.h
    M clang/include/clang/Basic/FileManager.h
    M clang/lib/Basic/CMakeLists.txt
    A clang/lib/Basic/FileEntry.cpp
    M llvm/include/llvm/Support/FileSystem.h
    A llvm/include/llvm/Support/FileSystem/UniqueID.h

  Log Message:
  -----------
  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




More information about the All-commits mailing list