[clang] Issue #63106: [сlang] Representation of ellipsis in AST (PR #80976)

Shahid Iqbal via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 27 02:06:15 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);
----------------
shahidiqbal13 wrote:

Will do it

https://github.com/llvm/llvm-project/pull/80976


More information about the cfe-commits mailing list