[all-commits] [llvm/llvm-project] 82e594: [AMDGPU] Remove unused lambda capture in AMDGPUMCR...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Mon Sep 30 04:08:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 82e594a022d3f3e19ba22dfc55349fe97ed844e6
      https://github.com/llvm/llvm-project/commit/82e594a022d3f3e19ba22dfc55349fe97ed844e6
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-09-30 (Mon, 30 Sep 2024)

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

  Log Message:
  -----------
  [AMDGPU] Remove unused lambda capture in AMDGPUMCResourceInfo.cpp (NFC)

/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUMCResourceInfo.cpp:26:16:
error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
  auto GOCS = [this, FuncName, &OutContext](StringRef Suffix) {
               ^~~~~
/llvm-project/llvm/lib/Target/AMDGPU/AMDGPUMCResourceInfo.cpp:64:27:
error: lambda capture 'this' is not used [-Werror,-Wunused-lambda-capture]
  auto assignMaxRegSym = [this, &OutContext](MCSymbol *Sym, int32_t RegCount) {
                          ^~~~~
2 errors 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