[all-commits] [llvm/llvm-project] f71404: [clangd] Replace usages of dummy with more descrip...

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Mon Mar 22 04:50:48 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f71404c37c32902b66cf802bc18984be184d583e
      https://github.com/llvm/llvm-project/commit/f71404c37c32902b66cf802bc18984be184d583e
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2021-03-22 (Mon, 22 Mar 2021)

  Changed paths:
    M clang-tools-extra/clangd/ClangdServer.cpp
    M clang-tools-extra/clangd/CompileCommands.cpp
    M clang-tools-extra/clangd/FindSymbols.cpp
    M clang-tools-extra/clangd/Format.cpp
    M clang-tools-extra/clangd/SemanticHighlighting.cpp
    M clang-tools-extra/clangd/SourceCode.cpp
    M clang-tools-extra/clangd/XRefs.cpp
    M clang-tools-extra/clangd/fuzzer/CMakeLists.txt
    R clang-tools-extra/clangd/fuzzer/DummyClangdMain.cpp
    A clang-tools-extra/clangd/fuzzer/FuzzerClangdMain.cpp
    M clang-tools-extra/clangd/index/remote/CMakeLists.txt
    M clang-tools-extra/clangd/refactor/tweaks/ExtractVariable.cpp
    M clang-tools-extra/clangd/support/Trace.cpp
    M clang-tools-extra/clangd/unittests/ClangdTests.cpp
    M clang-tools-extra/clangd/unittests/GlobalCompilationDatabaseTests.cpp
    M clang-tools-extra/clangd/unittests/RenameTests.cpp
    M clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp
    M clang-tools-extra/clangd/unittests/tweaks/ExtractVariableTests.cpp

  Log Message:
  -----------
  [clangd] Replace usages of dummy with more descriptive words

Dummy is a word with inappropriate associations. This patch updates the
references to it in clangd code base with more precise ones.

The only user-visible change is the default variable name used when extracting a
variable. It will be named as `placeholder` from now on.

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




More information about the All-commits mailing list