[all-commits] [llvm/llvm-project] caf276: [Clang][AST] Fixed BindingDecl AST-dump for tuple ...

isuckatcs via All-commits all-commits at lists.llvm.org
Tue Jun 14 12:14:50 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: caf2767c47c3808538c82b6ea2b24d8e95b11ee7
      https://github.com/llvm/llvm-project/commit/caf2767c47c3808538c82b6ea2b24d8e95b11ee7
  Author: isuckatcs <65320245+isuckatcs at users.noreply.github.com>
  Date:   2022-06-14 (Tue, 14 Jun 2022)

  Changed paths:
    M clang/include/clang/AST/ASTNodeTraverser.h
    M clang/unittests/AST/ASTTraverserTest.cpp

  Log Message:
  -----------
  [Clang][AST] Fixed BindingDecl AST-dump for tuple like structures

The AST of a BindingDecl in case of tuple like structures wasn't
properly printed. For these bidnings there is information stored
in BindingDecl::getHoldingVar(), and this information was't
printed in the AST-dump.

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




More information about the All-commits mailing list