[clang] [HLSL] Implement array temporary support (PR #79382)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 12 15:50:06 PDT 2024


================
@@ -10900,6 +10936,10 @@ QualType ASTContext::mergeTypes(QualType LHS, QualType RHS, bool OfBlockPointer,
     assert(LHS != RHS &&
            "Equivalent pipe types should have already been handled!");
     return {};
+  case Type::ArrayParameter:
+    if (RHS != LHS)
----------------
efriedma-quic wrote:

It's impossible for RHS and LHS to be equal here.

https://github.com/llvm/llvm-project/pull/79382


More information about the cfe-commits mailing list