[clang] [Clang] Implement P3034R1 Module Declarations Shouldn’t be Macros (PR #90574)
via cfe-commits
cfe-commits at lists.llvm.org
Thu May 9 09:37:33 PDT 2024
================
@@ -520,6 +524,18 @@ class alignas(IdentifierInfoAlignment) IdentifierInfo {
RecomputeNeedsHandleIdentifier();
}
+ /// Determine whether this is the contextual keyword \c module.
+ bool isModulesDecl() const { return IsModulesDecl; }
----------------
cor3ntin wrote:
can you say `Declaration`? (to avoid confusing with the Decl` class?
https://github.com/llvm/llvm-project/pull/90574
More information about the cfe-commits
mailing list