[PATCH] D156307: [clang][DeclPrinter] Fix AST print of curly constructor initializers

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 26 11:28:12 PDT 2023


aaron.ballman added inline comments.


================
Comment at: clang/test/AST/ast-print-method-decl.cpp:65
+  // CHECK-NEXT: CurlyCtorInit() : a1({}), a2{}, b{} {
+  CurlyCtorInit() : a1({}), a2{}, b{} {
+  // CHECK-NEXT: }
----------------
Can you add another ctor that uses round parens for the member initializers?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156307



More information about the cfe-commits mailing list