[PATCH] D126691: ASTContext: Provide a query for module initializer contents.
Chuanqi Xu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 31 19:06:51 PDT 2022
ChuanqiXu accepted this revision.
ChuanqiXu added a comment.
This revision is now accepted and ready to land.
LGTM with a nits.
================
Comment at: clang/include/clang/AST/ASTContext.h:1083
+ /// Does the module initializer array contain this decl.
+ bool moduleInitializerContains(Module *M, const Decl *D);
+
----------------
Nit: It looks better with `containsModuleInitializer`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D126691/new/
https://reviews.llvm.org/D126691
More information about the cfe-commits
mailing list