[all-commits] [llvm/llvm-project] 434f37: clangd: Stop calling FileEntryRef::FileEntryRef

Duncan P. N. Exon Smith via All-commits all-commits at lists.llvm.org
Fri Oct 23 18:28:28 PDT 2020


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

  Changed paths:
    M clang-tools-extra/clangd/ParsedAST.cpp

  Log Message:
  -----------
  clangd: Stop calling FileEntryRef::FileEntryRef

In `ReplayPreamble::replay`, use `getFileRef` instead of `getFile`, and
then use that `FileEntryRef` later to avoid needing
`FileEntryRef::FileEntryRef`. The latter is going to become private to
`FileManager` in a later commit.




More information about the All-commits mailing list