[all-commits] [llvm/llvm-project] 291eb2: [clang][DeclPrinter] Fix AST print to suppress out...

Timo Stripf via All-commits all-commits at lists.llvm.org
Mon Aug 7 16:14:36 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 291eb2589fdc78827af6c2c858bc5e9456e3dc20
      https://github.com/llvm/llvm-project/commit/291eb2589fdc78827af6c2c858bc5e9456e3dc20
  Author: Timo Stripf <timo.stripf at emmtrix.com>
  Date:   2023-08-07 (Mon, 07 Aug 2023)

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

  Log Message:
  -----------
  [clang][DeclPrinter] Fix AST print to suppress output of implicit (non-written) constructor initializers

DeclPrinter::PrintConstructorInitializers did output non-written constructor initiaizers. In particular, implicit constructor initializers of base classes were output.

Reviewed By: aaron.ballman

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




More information about the All-commits mailing list