[all-commits] [llvm/llvm-project] e90f4f: [clang][ExprConstant] Print template arguments whe...

Takuya Shimizu via All-commits all-commits at lists.llvm.org
Mon Jul 31 01:07:43 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e90f4fc6acaffd216e06e47df0aee6a8b5b2d4a9
      https://github.com/llvm/llvm-project/commit/e90f4fc6acaffd216e06e47df0aee6a8b5b2d4a9
  Author: Takuya Shimizu <shimizu2486 at gmail.com>
  Date:   2023-07-31 (Mon, 31 Jul 2023)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/lib/AST/ExprConstant.cpp
    M clang/test/AST/Interp/literals.cpp
    M clang/test/SemaCXX/builtin-align-cxx.cpp
    M clang/test/SemaCXX/constant-expression-cxx11.cpp
    M clang/test/SemaCXX/constant-expression-cxx14.cpp
    M clang/test/SemaCXX/constexpr-builtin-bit-cast.cpp
    M clang/test/SemaCXX/constexpr-frame-describe.cpp
    M clang/test/SemaCXX/cxx2a-constexpr-dynalloc-limits.cpp
    M clang/test/SemaCXX/cxx2b-consteval-propagate.cpp

  Log Message:
  -----------
  [clang][ExprConstant] Print template arguments when describing stack frame

This patch adds additional printing of template argument list when the described function is a template specialization.
This can be useful when handling complex template functions in constexpr evaluator.

Reviewed By: cjdb, dblaikie
Differential Revision: https://reviews.llvm.org/D154366




More information about the All-commits mailing list