[all-commits] [llvm/llvm-project] a17666: [clang] Fix -Wunused-variable in CGBuiltin.cpp (NFC)

Jie Fu (傅杰) via All-commits all-commits at lists.llvm.org
Mon Dec 16 17:08:15 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1766699c66e7b9f8094256f98de57ba79099e94
      https://github.com/llvm/llvm-project/commit/a1766699c66e7b9f8094256f98de57ba79099e94
  Author: Jie Fu <jiefu at tencent.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M clang/lib/CodeGen/CGBuiltin.cpp

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

/llvm-project/clang/lib/CodeGen/CGBuiltin.cpp:19441:17:
 error: unused variable 'Ty' [-Werror,-Wunused-variable]
    llvm::Type *Ty = Op->getType();
                ^
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