[all-commits] [llvm/llvm-project] 99cfcc: [clang][lex] NFCI: Use FileEntryRef in ModuleMap::...

Jan Svoboda via All-commits all-commits at lists.llvm.org
Wed Apr 20 11:27:35 PDT 2022


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

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

  Log Message:
  -----------
  [clang][lex] NFCI: Use FileEntryRef in ModuleMap::diagnoseHeaderInclusion()

This patch removes uses of the deprecated `DirectoryEntry::getName()` from the `ModuleMap::diagnoseHeaderInclusion()` function by using `{File,Directory}EntryRef` instead.

Reviewed By: bnbarham

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


  Commit: 340654e0f246cddb3fb6ebddb843ade9bfcff0a5
      https://github.com/llvm/llvm-project/commit/340654e0f246cddb3fb6ebddb843ade9bfcff0a5
  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:
  -----------
  Revert "[clang][lex] NFCI: Use DirectoryEntryRef in HeaderSearch::load*()"

This reverts commit 1d3ba05e4a288b49287fe997763e90234b8c62db which caused failures of the VFS/real-path-found-first.m test on Windows build bots.


Compare: https://github.com/llvm/llvm-project/compare/8a9b4fb4aa6d...340654e0f246


More information about the All-commits mailing list