[all-commits] [llvm/llvm-project] f263da: [clang][parse] NFCI: Use FileEntryRef in Parser::P...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Fri Apr 15 06:16:31 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f263dac4465c251e37af9787baf5e9f56138e369
      https://github.com/llvm/llvm-project/commit/f263dac4465c251e37af9787baf5e9f56138e369
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2022-04-15 (Fri, 15 Apr 2022)

  Changed paths:
    M clang/lib/Parse/Parser.cpp

  Log Message:
  -----------
  [clang][parse] NFCI: Use FileEntryRef in Parser::ParseModuleImport()

This patch removes use of the deprecated `DirectoryEntry::getName()` from `Parser` by using `{File,Directory}EntryRef` instead.

Reviewed By: bnbarham

Differential Revision: https://reviews.llvm.org/D123767


  Commit: 9d98f58959b12b6ddab5ac10453e1464bb830e96
      https://github.com/llvm/llvm-project/commit/9d98f58959b12b6ddab5ac10453e1464bb830e96
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2022-04-15 (Fri, 15 Apr 2022)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGObjCGNU.cpp

  Log Message:
  -----------
  [clang][CodeGen] NFCI: Use FileEntryRef

This patch removes use of the deprecated `DirectoryEntry::getName()` from clangCodeGen by using `{File,Directory}EntryRef` instead.

Reviewed By: bnbarham

Differential Revision: https://reviews.llvm.org/D123768


  Commit: 99b4874a53cf4cd39a164a63b5505baace825d7c
      https://github.com/llvm/llvm-project/commit/99b4874a53cf4cd39a164a63b5505baace825d7c
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2022-04-15 (Fri, 15 Apr 2022)

  Changed paths:
    M clang/lib/Frontend/CompilerInstance.cpp

  Log Message:
  -----------
  [clang] NFCI: Use DirectoryEntryRef in collectIncludePCH

This patch removes use of the deprecated `DirectoryEntry::getName()` from `collectIncludePCH` by using `{File,Directory}EntryRef` instead.

Reviewed By: bnbarham

Differential Revision: https://reviews.llvm.org/D123769


  Commit: 713e716cdaef1ee069f27bb71fd232a782565e0a
      https://github.com/llvm/llvm-project/commit/713e716cdaef1ee069f27bb71fd232a782565e0a
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2022-04-15 (Fri, 15 Apr 2022)

  Changed paths:
    M clang/unittests/Basic/FileManagerTest.cpp

  Log Message:
  -----------
  [clang] NFCI: Use FileEntryRef in FileManagerTest

This patch removes use of the deprecated `{File,Directory}Entry::getName()` from `FileManager` unit tests by using `{File,Directory}EntryRef` instead.

Reviewed By: bnbarham

Differential Revision: https://reviews.llvm.org/D123770


  Commit: 0b09b5d44837ea71c6bf017607b33f283c4417c6
      https://github.com/llvm/llvm-project/commit/0b09b5d44837ea71c6bf017607b33f283c4417c6
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2022-04-15 (Fri, 15 Apr 2022)

  Changed paths:
    M clang/include/clang/Lex/PreprocessorLexer.h
    M clang/lib/Lex/PreprocessorLexer.cpp
    M clang/lib/Sema/SemaCodeComplete.cpp

  Log Message:
  -----------
  [clang][lex] NFC: Use FileEntryRef in PreprocessorLexer::getFileEntry()

This patch changes the return type of `PreprocessorLexer::getFileEntry()` so that its clients may stop using the deprecated APIs of `FileEntry`.

Reviewed By: bnbarham

Differential Revision: https://reviews.llvm.org/D123772


Compare: https://github.com/llvm/llvm-project/compare/33d3fc446647...0b09b5d44837


More information about the All-commits mailing list