[all-commits] [llvm/llvm-project] 531085: [clangd] Fix erroneous qualification of template t...

Christian Kandeler via All-commits all-commits at lists.llvm.org
Wed Nov 20 01:15:51 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5310855316a8356d5862714a21e1e6344f84225e
      https://github.com/llvm/llvm-project/commit/5310855316a8356d5862714a21e1e6344f84225e
  Author: Christian Kandeler <christian.kandeler at qt.io>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M clang-tools-extra/clangd/refactor/tweaks/DefineOutline.cpp
    M clang-tools-extra/clangd/unittests/tweaks/DefineOutlineTests.cpp

  Log Message:
  -----------
  [clangd] Fix erroneous qualification of template type parameters (#116821)

...in DefineOutline tweak.
E.g. moving the following definition:
  `template<typename T> struct S { T f^oo() const { return T(); } };`
would result in:
 `template<typename T> S<T>::T S::foo() const { return T(); }`
instead of:
  `template<typename T> T S::foo() const { return T(); }`



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list