[PATCH] D98664: Fix crash on dumping AST containing constant initializer with ParenListExpr

Aaron Puchert via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 15 15:37:26 PDT 2021


aaronpuchert added inline comments.


================
Comment at: clang/test/AST/ast-dump-templates.cpp:71-73
+template <typename T> constexpr T var(0);
+// DUMP: VarDecl {{.*}} <col:23, col:40> col:35 var 'const T' constexpr callinit
+// DUMP-NEXT: ParenListExpr {{.*}} <col:38, col:40> 'void'
----------------
This is what's currently crashing.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D98664/new/

https://reviews.llvm.org/D98664



More information about the cfe-commits mailing list