[all-commits] [llvm/llvm-project] 06611e: [clang] Implement `PointerLikeTraits` for `{File, D...
Jan Svoboda via All-commits
all-commits at lists.llvm.org
Tue Jul 11 11:17:59 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 06611e361363a4c209aaccd0ee24652d2c56cafb
https://github.com/llvm/llvm-project/commit/06611e361363a4c209aaccd0ee24652d2c56cafb
Author: Jan Svoboda <jan_svoboda at apple.com>
Date: 2023-07-11 (Tue, 11 Jul 2023)
Changed paths:
M clang/include/clang/Basic/DirectoryEntry.h
M clang/include/clang/Basic/FileEntry.h
M clang/include/clang/Basic/Module.h
M clang/lib/Basic/Module.cpp
M clang/lib/Lex/ModuleMap.cpp
Log Message:
-----------
[clang] Implement `PointerLikeTraits` for `{File,Directory}EntryRef`
This patch implements `llvm::PointerLikeTraits<FileEntryRef>` and `llvm::PointerLikeTraits<DirectoryEntryRef>`, allowing some simplifications around umbrella header/directory code.
Reviewed By: benlangmuir
Differential Revision: https://reviews.llvm.org/D154905
More information about the All-commits
mailing list