[all-commits] [llvm/llvm-project] 807fd0: [clangd] Handle variable templates consistently wi...

Nathan Ridge via All-commits all-commits at lists.llvm.org
Tue Mar 19 23:44:25 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 807fd07646646d7f96bd3561e79435b5d7bb4a64
      https://github.com/llvm/llvm-project/commit/807fd07646646d7f96bd3561e79435b5d7bb4a64
  Author: Nathan Ridge <zeratul976 at hotmail.com>
  Date:   2024-03-20 (Wed, 20 Mar 2024)

  Changed paths:
    M clang-tools-extra/clangd/CodeComplete.cpp
    M clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp

  Log Message:
  -----------
  [clangd] Handle variable templates consistently with class templates in code completion (#85740)

The option --function-arg-placeholders=0 results in placeholders being
omitted for class template argument lists. This patch extends the same
treatment to variable template argument lists.

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



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