[clang] Issue #63106: [сlang] Representation of ellipsis in AST (PR #80976)
Chuanqi Xu via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 26 18:07:57 PST 2024
================
@@ -115,6 +115,10 @@ void JSONNodeDumper::Visit(const Decl *D) {
else if (D->isThisDeclarationReferenced())
JOS.attribute("isReferenced", true);
+ if (const VarDecl *ND = dyn_cast<VarDecl>(D))
+ if (ND->isEllipsisVariable())
+ JOS.attribute("catch_all", true);
----------------
ChuanqiXu9 wrote:
Format this.
https://github.com/llvm/llvm-project/pull/80976
More information about the cfe-commits
mailing list