[all-commits] [llvm/llvm-project] 617007: Improve modeling of variable template specializati...

Richard Smith via All-commits all-commits at lists.llvm.org
Sun Aug 9 23:22:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 617007240cbfb97c8ccf6d61b0c4ca0bb62d43c9
      https://github.com/llvm/llvm-project/commit/617007240cbfb97c8ccf6d61b0c4ca0bb62d43c9
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-08-09 (Sun, 09 Aug 2020)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Sema/SemaExprMember.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/lib/Sema/SemaTemplateInstantiateDecl.cpp

  Log Message:
  -----------
  Improve modeling of variable template specializations with dependent
arguments.

Don't build a variable template specialization declaration until its
scope and template arguments are non-dependent.

No functionality change intended, but the AST representation is now more
consistent with how we model other templates.




More information about the All-commits mailing list