Skip to content

Commit 1ba896a

Browse files
spallllvm-beanz
andauthored
Update clang/lib/CodeGen/CGExprScalar.cpp
Co-authored-by: Chris B <[email protected]>
1 parent 3b49592 commit 1ba896a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

clang/lib/CodeGen/CGExprScalar.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2101,9 +2101,10 @@ Value *ScalarExprEmitter::VisitInitListExpr(InitListExpr *E) {
21012101
// emit these we need to emit the opaque values before we emit the argument
21022102
// expressions themselves. This is a little hacky, but it prevents us needing
21032103
// to do a bigger AST-level change for a language feature that we need
2104-
// deprecate in the near future. See related HLSL language proposals:
2104+
// deprecate in the near future. See related HLSL language proposals in the
2105+
// proposals (https://github.com/microsoft/hlsl-specs/blob/main/proposals):
21052106
// * 0005-strict-initializer-lists.md
2106-
// * https://github.com/microsoft/hlsl-specs/pull/325
2107+
// * 0032-constructors.md
21072108
if (CGF.getLangOpts().HLSL)
21082109
CGF.CGM.getHLSLRuntime().emitInitListOpaqueValues(CGF, E);
21092110

0 commit comments

Comments
 (0)