[clang] [clang] Refactor `IdentifierInfo::ObjcOrBuiltinID` (PR #71709)
Vlad Serebrennikov via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 24 01:09:53 PDT 2024
================
@@ -3597,8 +3597,13 @@ class ASTIdentifierTableTrait {
/// doesn't check whether the name has macros defined; use PublicMacroIterator
/// to check that.
bool isInterestingIdentifier(const IdentifierInfo *II, uint64_t MacroOffset) {
- if (MacroOffset || II->isPoisoned() ||
- (!IsModule && II->getObjCOrBuiltinID()) ||
+ II->getObjCOrBuiltinID();
----------------
Endilll wrote:
Thank you for reporting this!
No, might be a leftover from debugging sessions (this PR was a pain).
Fixed in 662ef8604268b207910225ecca90daf30a46720b
https://github.com/llvm/llvm-project/pull/71709
More information about the cfe-commits
mailing list