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

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Thu May 9 05:16:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c2a87d7e032f8e6c8cbe6ab4c7cfbb7f7996ca9f
      https://github.com/llvm/llvm-project/commit/c2a87d7e032f8e6c8cbe6ab4c7cfbb7f7996ca9f
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-05-09 (Thu, 09 May 2024)

  Changed paths:
    M llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp

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

/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp:733:30:
error: lambda capture 'Ctx' is not used [-Werror,-Wunused-lambda-capture]
  auto TryGetMCExprValue = [&Ctx](const MCExpr *Value, uint64_t &Res) -> bool {
                            ~^~~
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