[all-commits] [llvm/llvm-project] 7bca6f: [clang] Use `{File, Directory}EntryRef` in modular ...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Thu Jun 15 02:22:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7bca6f452f53a4a8d31a56b480e5b9fbaabad4fb
      https://github.com/llvm/llvm-project/commit/7bca6f452f53a4a8d31a56b480e5b9fbaabad4fb
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M clang/include/clang/Lex/HeaderSearch.h
    M clang/include/clang/Lex/ModuleMap.h
    M clang/lib/Lex/HeaderSearch.cpp
    M clang/lib/Lex/ModuleMap.cpp
    M clang/test/Modules/crash-vfs-umbrella-frameworks.m

  Log Message:
  -----------
  [clang] Use `{File,Directory}EntryRef` in modular header search (part 2/2)

This patch removes some deprecated uses of `{File,Directory}Entry::getName()`. No functional change intended.

Depends on D151854.

Reviewed By: benlangmuir

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


  Commit: 1dee56aed7357ad87e7b30316554b760c75d5779
      https://github.com/llvm/llvm-project/commit/1dee56aed7357ad87e7b30316554b760c75d5779
  Author: Jan Svoboda <jan_svoboda at apple.com>
  Date:   2023-06-15 (Thu, 15 Jun 2023)

  Changed paths:
    M clang-tools-extra/clang-move/Move.cpp
    M clang-tools-extra/clangd/SourceCode.cpp
    M clang/include/clang/Basic/FileManager.h
    M clang/lib/Basic/FileManager.cpp
    M clang/lib/Lex/ModuleMap.cpp

  Log Message:
  -----------
  [clang] NFC: Use `DirectoryEntryRef` in `FileManager::getCanonicalName()`

This patch removes the last use of deprecated `DirectoryEntry::getName()`.

Depends on D151855.

Reviewed By: benlangmuir

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


Compare: https://github.com/llvm/llvm-project/compare/253afd03f1ff...1dee56aed735


More information about the All-commits mailing list