================ @@ -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:
Could you explain a bit more what you're doing here? At first glance, functions with different out/inout markings aren't compatible. 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