[all-commits] [llvm/llvm-project] b3b9f8: [Transforms] Fix -Wunused-variable in ExpandVariad...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Thu Jun 6 03:42:11 PDT 2024


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

  Changed paths:
    M llvm/lib/Transforms/IPO/ExpandVariadics.cpp

  Log Message:
  -----------
  [Transforms] Fix -Wunused-variable in ExpandVariadics.cpp (NFC)

/llvm-project/llvm/lib/Transforms/IPO/ExpandVariadics.cpp:426:14:
error: unused variable 'OriginalFunctionIsDeclaration' [-Werror,-Wunused-variable]
  const bool OriginalFunctionIsDeclaration = OriginalFunction->isDeclaration();
             ^
/llvm-project/llvm/lib/Transforms/IPO/ExpandVariadics.cpp:445:13:
error: unused variable 'VariadicWrapperDefine' [-Werror,-Wunused-variable]
  Function *VariadicWrapperDefine =
            ^
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