[all-commits] [llvm/llvm-project] 747347: [Clang][HLSL] Fix -Wunused-variable (#194374)

Aiden Grossman via All-commits all-commits at lists.llvm.org
Mon Apr 27 06:52:50 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 74734782b42b640db1c6995e2d88388a5435fbfe
      https://github.com/llvm/llvm-project/commit/74734782b42b640db1c6995e2d88388a5435fbfe
  Author: Aiden Grossman <aidengrossman at google.com>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

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

  Log Message:
  -----------
  [Clang][HLSL] Fix -Wunused-variable (#194374)

Inline the variable definition into the assert given it is side effect
free and the variable name does not make the code much more clear.



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