[all-commits] [llvm/llvm-project] 2ca741: [clang][DeclPrinter] Fix AST print of delegating c...

Timo Stripf via All-commits all-commits at lists.llvm.org
Wed Jul 26 02:30:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2ca74162258b6e808e84d6700a5613c0cbf6efe9
      https://github.com/llvm/llvm-project/commit/2ca74162258b6e808e84d6700a5613c0cbf6efe9
  Author: Timo Stripf <timo.stripf at emmtrix.com>
  Date:   2023-07-26 (Wed, 26 Jul 2023)

  Changed paths:
    M clang/lib/AST/DeclPrinter.cpp
    A clang/test/AST/ast-print-method-decl.cpp

  Log Message:
  -----------
  [clang][DeclPrinter] Fix AST print of delegating constructors

DeclPrinter::PrintConstructorInitializers did not consider delegating initializers. As result, the output contained an "NULL TYPE" for delegating constructors.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D154186




More information about the All-commits mailing list