[clang] [HLSL] Apply resource attributes to the resource type rather than the handle member (PR #107160)

Damyan Pepper via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 3 17:13:31 PDT 2024


================
@@ -77,6 +77,23 @@ class SemaHLSL : public SemaBase {
   ExprResult ActOnOutParamExpr(ParmVarDecl *Param, Expr *Arg);
 
   QualType getInoutParameterType(QualType Ty);
+
+  // FIXME: This can be hidden (as static function in SemaHLSL.cpp) once we no
+  // longer need to create builtin buffer types in HLSLExternalSemaSource.
----------------
damyanp wrote:

Does this need to be a static member of SemaHLSL?  It sounds like it doesn't if we think it can be trivially made a file static.

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


More information about the cfe-commits mailing list