[all-commits] [llvm/llvm-project] aeaeb9: [clangd] Make ExpandAutoType not available on temp...

Adam Czachorowski via All-commits all-commits at lists.llvm.org
Fri Jan 15 05:26:09 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aeaeb9e6bdc90d9c4b839ac0e4edc6255021cced
      https://github.com/llvm/llvm-project/commit/aeaeb9e6bdc90d9c4b839ac0e4edc6255021cced
  Author: Adam Czachorowski <adamcz at google.com>
  Date:   2021-01-15 (Fri, 15 Jan 2021)

  Changed paths:
    M clang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
    M clang-tools-extra/clangd/unittests/tweaks/ExpandAutoTypeTests.cpp

  Log Message:
  -----------
  [clangd] Make ExpandAutoType not available on template params.

We cannot expand auto when used inside a template param (C++17 feature),
so do not offer it there.

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




More information about the All-commits mailing list