[all-commits] [llvm/llvm-project] 217452: [clangd] AddUsing: Fix support for template specia...

Adam Czachorowski via All-commits all-commits at lists.llvm.org
Tue Oct 26 08:35:32 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2174524116a8379fb7a6453253524ec972b158df
      https://github.com/llvm/llvm-project/commit/2174524116a8379fb7a6453253524ec972b158df
  Author: Adam Czachorowski <adamcz at google.com>
  Date:   2021-10-26 (Tue, 26 Oct 2021)

  Changed paths:
    M clang-tools-extra/clangd/refactor/tweaks/AddUsing.cpp
    M clang-tools-extra/clangd/unittests/tweaks/AddUsingTests.cpp

  Log Message:
  -----------
  [clangd] AddUsing: Fix support for template specializations.

Before this change, we would add "using std::vector<int>" instead of
just "using std::vector;", which would not even compile.

Fixes https://github.com/clangd/clangd/issues/904

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




More information about the All-commits mailing list