[all-commits] [llvm/llvm-project] 9db6c3: [CIR][NFC] Fix an unused variable warning (#140783)

Amr Hesham via All-commits all-commits at lists.llvm.org
Wed May 21 09:47:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9db6c325249946afc51209f4f66241fb0c688ff9
      https://github.com/llvm/llvm-project/commit/9db6c325249946afc51209f4f66241fb0c688ff9
  Author: Amr Hesham <amr96 at programmer.net>
  Date:   2025-05-21 (Wed, 21 May 2025)

  Changed paths:
    M clang/lib/CIR/CodeGen/CIRGenCXXExpr.cpp

  Log Message:
  -----------
  [CIR][NFC] Fix an unused variable warning (#140783)

This fixes a warning where a variable assigned in 'if' statement wasn't
referenced again, and where else is used when 'if' has returns statement
in the if-else statement



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