[all-commits] [llvm/llvm-project] c33eba: Print default template argument if manually specif...

Pratyush Das via All-commits all-commits at lists.llvm.org
Tue Jun 29 07:57:41 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c33ebad73516ffcf7b00821a430aa6a0199941f0
      https://github.com/llvm/llvm-project/commit/c33ebad73516ffcf7b00821a430aa6a0199941f0
  Author: Pratyush Das <reikdas at gmail.com>
  Date:   2021-06-29 (Tue, 29 Jun 2021)

  Changed paths:
    M clang/lib/AST/TypePrinter.cpp
    M clang/test/SemaTemplate/class-template-id.cpp
    M clang/test/SemaTemplate/default-arguments-ast-print.cpp

  Log Message:
  -----------
  Print default template argument if manually specified in typedef declaration.

If a default template type argument is manually specified to be of the default
type, then it is committed when printing the template.

Differential revision: https://reviews.llvm.org/D103040




More information about the All-commits mailing list