[all-commits] [llvm/llvm-project] ba2edb: [CIR] Fix warnings related to unused variables in ...

Andy Kaylor via All-commits all-commits at lists.llvm.org
Thu Jul 31 14:55:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba2edbd0c8d7a0199485d2969aebcc4de4a3d983
      https://github.com/llvm/llvm-project/commit/ba2edbd0c8d7a0199485d2969aebcc4de4a3d983
  Author: Andy Kaylor <akaylor at nvidia.com>
  Date:   2025-07-31 (Thu, 31 Jul 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenCall.h
    M clang/lib/CIR/CodeGen/CIRGenExpr.cpp
    M clang/lib/CIR/CodeGen/CIRGenExprComplex.cpp
    M clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp
    M clang/lib/CIR/CodeGen/CIRGenFunction.cpp
    M clang/lib/CIR/CodeGen/CIRGenModule.cpp
    M clang/lib/CIR/CodeGen/CIRGenStmt.cpp

  Log Message:
  -----------
  [CIR] Fix warnings related to unused variables in release builds (#151412)

This fixes a number of warnings in release builds due to variables that
were only being used in asserts. Some of these variables will later be
used in non-debug code, but for now they are unused in release builds.



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