[all-commits] [llvm/llvm-project] 881df5: [clang] Fix -Wunused-variable in SemaChecking.cpp ...

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Fri Mar 8 01:05:21 PST 2024


  Branch: refs/heads/users/wangpc-pp/spr/main.riscv-pass-lmul-to-copyphysregvector
  Home:   https://github.com/llvm/llvm-project
  Commit: 881df557501d339c7a14b16d68e43da5c732b424
      https://github.com/llvm/llvm-project/commit/881df557501d339c7a14b16d68e43da5c732b424
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-03-08 (Fri, 08 Mar 2024)

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp

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

llvm-project/clang/lib/Sema/SemaChecking.cpp:19192:15:
error: unused variable 'Field1Parent' [-Werror,-Wunused-variable]
  const Type *Field1Parent = Field1->getParent()->getTypeForDecl();
              ^
llvm-project/clang/lib/Sema/SemaChecking.cpp:19193:15:
error: unused variable 'Field2Parent' [-Werror,-Wunused-variable]
  const Type *Field2Parent = Field2->getParent()->getTypeForDecl();
              ^
2 errors generated.


  Commit: 61a6404594e81b6c9820cad386504a7a1dc17030
      https://github.com/llvm/llvm-project/commit/61a6404594e81b6c9820cad386504a7a1dc17030
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-03-08 (Fri, 08 Mar 2024)

  Changed paths:
    M clang/lib/Sema/SemaChecking.cpp
    R clang/test/Driver/riscv-profiles.c
    M llvm/include/llvm/Support/RISCVISAInfo.h
    M llvm/lib/Support/RISCVISAInfo.cpp
    M llvm/lib/Target/RISCV/RISCV.td
    R llvm/lib/Target/RISCV/RISCVProfiles.td
    M llvm/lib/Target/RISCV/RISCVSubtarget.h
    M llvm/test/CodeGen/RISCV/attributes.ll

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/306b8772f1a7...61a6404594e8

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