[all-commits] [llvm/llvm-project] 3c5bed: [clangd] ExpandAutoType: Do not offer code action ...

Adam Czachorowski via All-commits all-commits at lists.llvm.org
Tue Dec 8 11:13:14 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c5bed734f9e02bd3bc4fbd1e0acc53506823ebf
      https://github.com/llvm/llvm-project/commit/3c5bed734f9e02bd3bc4fbd1e0acc53506823ebf
  Author: Adam Czachorowski <adamcz at google.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M clang-tools-extra/clangd/refactor/tweaks/ExpandAutoType.cpp
    M clang-tools-extra/clangd/test/check-fail.test
    M clang-tools-extra/clangd/unittests/TweakTests.cpp

  Log Message:
  -----------
  [clangd] ExpandAutoType: Do not offer code action on lambdas.

We can't expand lambda types anyway. Now we simply not offer the code
action instead of showing it and then returning an error in apply().

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




More information about the All-commits mailing list