[all-commits] [llvm/llvm-project] 555d5a: [clangd] Disable ExtractVariable for C

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Tue Feb 25 03:15:21 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 555d5ad85a4986d003040eb94109c72579021423
      https://github.com/llvm/llvm-project/commit/555d5ad85a4986d003040eb94109c72579021423
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

  Changed paths:
    M clang-tools-extra/clangd/refactor/tweaks/ExtractVariable.cpp
    M clang-tools-extra/clangd/unittests/TweakTests.cpp

  Log Message:
  -----------
  [clangd] Disable ExtractVariable for C

Summary:
Currently extract variable doesn't spell the type explicitly and just
uses an `auto` instead, which is not available in C.

Reviewers: usaxena95

Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits

Tags: #clang

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




More information about the All-commits mailing list