================ @@ -5915,6 +5916,16 @@ bool Sema::GatherArgumentsForCall(SourceLocation CallLoc, FunctionDecl *FDecl, ProtoArgType->isBlockPointerType()) if (auto *BE = dyn_cast<BlockExpr>(Arg->IgnoreParenNoopCasts(Context))) BE->getBlockDecl()->setDoesNotEscape(); + // During template instantiation it is possible that we already created + // the HLSLOutArgExpr if it was produced during tree transformation. ---------------- rjmccall wrote:
Since you've fixed TreeTransform to look through the `HLSLOutArgExpr`, it should now no longer be possible to see an `HLSLOutArgExpr` here. https://github.com/llvm/llvm-project/pull/101083 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits