[PATCH] D114092: [clang][lex] NFC: Remove unused HeaderFileInfo member
Jan Svoboda via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 18 03:33:38 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG7b6790850968: [clang][lex] NFC: Remove unused HeaderFileInfo member (authored by jansvoboda11).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114092/new/
https://reviews.llvm.org/D114092
Files:
clang/include/clang/Lex/HeaderSearch.h
Index: clang/include/clang/Lex/HeaderSearch.h
===================================================================
--- clang/include/clang/Lex/HeaderSearch.h
+++ clang/include/clang/Lex/HeaderSearch.h
@@ -130,13 +130,6 @@
/// any.
const IdentifierInfo *
getControllingMacro(ExternalPreprocessorSource *External);
-
- /// Determine whether this is a non-default header file info, e.g.,
- /// it corresponds to an actual header we've included or tried to include.
- bool isNonDefault() const {
- return isImport || isPragmaOnce || NumIncludes || ControllingMacro ||
- ControllingMacroID;
- }
};
/// An external source of header file information, which may supply
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114092.388150.patch
Type: text/x-patch
Size: 685 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211118/7aca1202/attachment.bin>
More information about the cfe-commits
mailing list