[all-commits] [llvm/llvm-project] b869f1: [clang] Remove unused lambda capture (NFC)

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Thu Nov 28 02:27:28 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b869f1bd4fc96fd1d2038720bd1ca84788d71370
      https://github.com/llvm/llvm-project/commit/b869f1bd4fc96fd1d2038720bd1ca84788d71370
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-11-28 (Thu, 28 Nov 2024)

  Changed paths:
    M clang/lib/Basic/Targets/X86.cpp

  Log Message:
  -----------
  [clang] Remove unused lambda capture (NFC)

/llvm-project/clang/lib/Basic/Targets/X86.cpp:1368:23:
error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
  auto getPriority = [this](StringRef Feature) -> unsigned {
                      ^~~~
1 error generated.



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