[all-commits] [llvm/llvm-project] 02e0a9: [HLSL] Handle init list with OpaqueValueExprs in C...

Sarah Spall via All-commits all-commits at lists.llvm.org
Mon May 5 13:05:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 02e0a954a014bc44796c84abe5445ae0d20eeeb5
      https://github.com/llvm/llvm-project/commit/02e0a954a014bc44796c84abe5445ae0d20eeeb5
  Author: Sarah Spall <sarahspall at microsoft.com>
  Date:   2025-05-05 (Mon, 05 May 2025)

  Changed paths:
    M clang/lib/CodeGen/CGExprScalar.cpp
    M clang/test/CodeGenHLSL/BasicFeatures/InitLists.hlsl

  Log Message:
  -----------
  [HLSL] Handle init list with OpaqueValueExprs in CGExprScalar (#138541)

When an HLSL Init list is producing a Scalar, handle OpaqueValueExprs in
the Init List with 'emitInitListOpaqueValues'
Copied from 'AggExprEmitter::VisitCXXParenListOrInitListExpr'
Closes #136408

---------

Co-authored-by: Chris B <beanz at abolishcrlf.org>



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