python3kgae added inline comments.
================ Comment at: clang/lib/Sema/SemaDecl.cpp:11875 + for (const auto Param : FD->parameters()) { + if (!Param->hasAttr<HLSLAnnotationAttr>()) { + Diag(Param->getLocation(), diag::err_hlsl_missing_parameter_annotation) << Param; ---------------- When param type is struct, it is OK not to have HLSL semantic as long as all fields in the struct have HLSL semantic. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D131625/new/ https://reviews.llvm.org/D131625 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits