[all-commits] [llvm/llvm-project] 8052f4: [AST] Consider QualifiedTemplateName in TemplateNa...

Haojian Wu via All-commits all-commits at lists.llvm.org
Wed Apr 27 05:16:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8052f4d22a12f1baa949c7a04f029e231faae90a
      https://github.com/llvm/llvm-project/commit/8052f4d22a12f1baa949c7a04f029e231faae90a
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M clang-tools-extra/clangd/unittests/IncludeCleanerTests.cpp
    M clang/lib/AST/TemplateName.cpp
    M clang/unittests/AST/TemplateNameTest.cpp

  Log Message:
  -----------
  [AST] Consider QualifiedTemplateName in TemplateName::getAsUsingDecl().

If the underlying template name of a qualified template name is a using
decl, TemplateName::getAsUsingDecl() will return it.

This will make the UsingTemplateName consumer life easier.

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




More information about the All-commits mailing list