[all-commits] [llvm/llvm-project] f43ce5: [clang][lex] NFCI: Use DirectoryEntryRef in Framew...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Wed Apr 20 10:01:43 PDT 2022


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

  Changed paths:
    M clang/include/clang/Lex/HeaderSearch.h
    M clang/lib/Lex/HeaderSearch.cpp

  Log Message:
  -----------
  [clang][lex] NFCI: Use DirectoryEntryRef in FrameworkCacheEntry

This patch changes the member of `FrameworkCacheEntry` from `const DirectoryEntry *` to `Optional<DirectoryEntryRef>` in order to remove uses of the deprecated `DirectoryEntry::getName()`.

Reviewed By: bnbarham

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




More information about the All-commits mailing list