[all-commits] [llvm/llvm-project] 8d714d: [clangd] Consider expression statements in Extract...

Christian Kandeler via All-commits all-commits at lists.llvm.org
Wed Dec 11 01:58:45 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d714db7f9617252401f85537d672c5b92c20557
      https://github.com/llvm/llvm-project/commit/8d714db7f9617252401f85537d672c5b92c20557
  Author: Christian Kandeler <christian.kandeler at qt.io>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

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

  Log Message:
  -----------
  [clangd] Consider expression statements in ExtractVariable tweak (#112525)

For instance:
  int func();
  int main()
  {
    func(); // => auto placeholder = func();
  }



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list