[all-commits] [llvm/llvm-project] c894bf: [clangd] Add option for disabling AddUsing tweak o...

Adam Czachorowski via All-commits all-commits at lists.llvm.org
Fri Sep 18 08:01:26 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c894bfd1f580e5807fc98cc353b0834e0c5ddc21
      https://github.com/llvm/llvm-project/commit/c894bfd1f580e5807fc98cc353b0834e0c5ddc21
  Author: Adam Czachorowski <adamcz at google.com>
  Date:   2020-09-18 (Fri, 18 Sep 2020)

  Changed paths:
    M clang-tools-extra/clangd/Config.h
    M clang-tools-extra/clangd/ConfigCompile.cpp
    M clang-tools-extra/clangd/ConfigFragment.h
    M clang-tools-extra/clangd/ConfigYAML.cpp
    M clang-tools-extra/clangd/refactor/tweaks/AddUsing.cpp
    M clang-tools-extra/clangd/unittests/TweakTests.cpp

  Log Message:
  -----------
  [clangd] Add option for disabling AddUsing tweak on some namespaces.

For style guides forbid "using" declarations for namespaces like "std".
With this new config option, AddUsing can be selectively disabled on
those.

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




More information about the All-commits mailing list