[all-commits] [llvm/llvm-project] 398f6c: [clang] ast-dump: use template pattern for `instan...

Matheus Izvekov via All-commits all-commits at lists.llvm.org
Sun Sep 21 09:34:39 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 398f6c271d4b408f7e783c29d5bfcd5413eae76d
      https://github.com/llvm/llvm-project/commit/398f6c271d4b408f7e783c29d5bfcd5413eae76d
  Author: Matheus Izvekov <mizvekov at gmail.com>
  Date:   2025-09-21 (Sun, 21 Sep 2025)

  Changed paths:
    M clang/lib/AST/JSONNodeDumper.cpp
    M clang/lib/AST/TextNodeDumper.cpp
    M clang/test/AST/ast-dump-decl.cpp
    M clang/test/AST/ast-dump-template-json-win32-mangler-crash.cpp
    A clang/test/AST/ast-dump-templates-pattern.cpp
    M clang/test/AST/ast-dump-templates.cpp
    M clang/test/AST/attr-lifetime-capture-by.cpp
    M clang/test/ASTSYCL/ast-dump-sycl-kernel-call-stmt.cpp
    M clang/test/ASTSYCL/ast-dump-sycl-kernel-entry-point.cpp
    M clang/test/ParserHLSL/hlsl_resource_class_attr.hlsl
    M clang/test/ParserHLSL/hlsl_resource_handle_attrs.hlsl
    M clang/test/SemaTemplate/deduction-guide.cpp

  Log Message:
  -----------
  [clang] ast-dump: use template pattern for `instantiated_from` (#159952)

This changes the instiantiated_from field to use
`getTemplateInstantiationPattern`, which makes this field work for all
template specialization kinds, not just member templates.

Also adds this field to variables, and adds equivalents for the JSON
dumper as well.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list