[all-commits] [llvm/llvm-project] 617fc0: [clangd] Remove unused variable [NFC]

mikaelholmen via All-commits all-commits at lists.llvm.org
Thu May 4 00:59:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 617fc0b9fe55a54c7a7f655d992a470d42032a91
      https://github.com/llvm/llvm-project/commit/617fc0b9fe55a54c7a7f655d992a470d42032a91
  Author: Mikael Holmen <mikael.holmen at ericsson.com>
  Date:   2023-05-04 (Thu, 04 May 2023)

  Changed paths:
    M clang-tools-extra/clangd/Protocol.cpp

  Log Message:
  -----------
  [clangd] Remove unused variable [NFC]

gcc warned with
 ../../clang-tools-extra/clangd/Protocol.cpp:481:23: warning: unused variable 'ChangeAnnotation' [-Wunused-variable]
   481 |       if (const auto& ChangeAnnotation =
       |                       ^~~~~~~~~~~~~~~~


  Commit: a5eae0438663c2851216b1c6f7a2ce1c88c788b6
      https://github.com/llvm/llvm-project/commit/a5eae0438663c2851216b1c6f7a2ce1c88c788b6
  Author: Mikael Holmen <mikael.holmen at ericsson.com>
  Date:   2023-05-04 (Thu, 04 May 2023)

  Changed paths:
    M llvm/lib/FuzzMutate/RandomIRBuilder.cpp

  Log Message:
  -----------
  [FuzzMutate] Remove unused variable [NFC]

gcc warned with
 ../lib/FuzzMutate/RandomIRBuilder.cpp:319:28: warning: unused variable 'PtrTy' [-Wunused-variable]
   319 |           if (PointerType *PtrTy = dyn_cast<PointerType>(I.getType()))
       |                            ^~~~~


Compare: https://github.com/llvm/llvm-project/compare/0354f31b5139...a5eae0438663


More information about the All-commits mailing list