[all-commits] [llvm/llvm-project] 24c640: [clang] Fix -Wunused-variable in ByteCodeStmtGen.c...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Fri Apr 26 02:54:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24c6409d56e43a7af3f6be6dd3e7267e243fb162
      https://github.com/llvm/llvm-project/commit/24c6409d56e43a7af3f6be6dd3e7267e243fb162
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-04-26 (Fri, 26 Apr 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeStmtGen.cpp

  Log Message:
  -----------
  [clang] Fix -Wunused-variable in ByteCodeStmtGen.cpp (NFC)

llvm-project/clang/lib/AST/Interp/ByteCodeStmtGen.cpp:196:31:
error: unused variable 'B' [-Werror,-Wunused-variable]
          const Record::Base *B = R->getVirtualBase(BaseDecl);
                              ^
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