[PATCH] D154905: [clang] Implement `PointerLikeTraits` for `{File,Directory}EntryRef`
Jan Svoboda via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 10 16:04:17 PDT 2023
jansvoboda11 created this revision.
jansvoboda11 added a reviewer: benlangmuir.
Herald added a subscriber: ributzka.
Herald added a project: All.
jansvoboda11 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
This patch implements `llvm::PointerLikeTraits<FileEntryRef>` and `llvm::PointerLikeTraits<DirectoryEntryRef>`, allowing some simplifications around umbrella header/directory code.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154905
Files:
clang/include/clang/Basic/DirectoryEntry.h
clang/include/clang/Basic/FileEntry.h
clang/include/clang/Basic/Module.h
clang/lib/Basic/Module.cpp
clang/lib/Lex/ModuleMap.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154905.538865.patch
Type: text/x-patch
Size: 5485 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230710/122b9d96/attachment.bin>
More information about the cfe-commits
mailing list