[clang] [HLSL] Implement output parameter (PR #101083)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 29 15:06:15 PDT 2024
================
@@ -4057,6 +4057,10 @@ bool Sema::MergeFunctionDecl(FunctionDecl *New, NamedDecl *&OldD, Scope *S,
NewQType))
return MergeCompatibleFunctionDecls(New, Old, S, MergeTypeWithOld);
+ if (getLangOpts().HLSL && Context.hasSameFunctionTypeIgnoringParamABI(
----------------
efriedma-quic wrote:
Earlier would be more consistent with how other checks like CheckEquivalentExceptionSpec work, I think?
I'm mostly concerned that this logic is twisted in a way that's hard to understand...
https://github.com/llvm/llvm-project/pull/101083
More information about the cfe-commits
mailing list