[all-commits] [llvm/llvm-project] f587e0: [HLSL] Fix OpaqueValueExpr handling in InitListExp...

Steven Perron via All-commits all-commits at lists.llvm.org
Tue Sep 9 07:39:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f587e001b1d80e69c8dea24112e0daddcfbfa9b0
      https://github.com/llvm/llvm-project/commit/f587e001b1d80e69c8dea24112e0daddcfbfa9b0
  Author: Steven Perron <stevenperron at google.com>
  Date:   2025-09-09 (Tue, 09 Sep 2025)

  Changed paths:
    M clang/lib/CodeGen/CGHLSLRuntime.cpp
    M clang/test/CodeGenHLSL/resources/res-array-local-multi-dim.hlsl

  Log Message:
  -----------
  [HLSL] Fix OpaqueValueExpr handling in InitListExpr (#156750)

The OpaqueValueVisitor was not correctly traversing the AST to find all
OpaqueValueExprs. This resulted in some expressions not being correctly
initialized. This change fixes the visitor to correctly traverse the
AST.

Fixes https://github.com/llvm/llvm-project/issues/156786



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