[clang] [lldb] [HLSL] Implement intangible AST type (PR #97362)
Chris B via cfe-commits
cfe-commits at lists.llvm.org
Sun Jul 7 13:18:44 PDT 2024
================
@@ -12335,6 +12335,10 @@ def warn_hlsl_availability_unavailable :
Warning<err_unavailable.Summary>,
InGroup<HLSLAvailability>, DefaultError;
+def err_hlsl_intangible_type_cannot_be_declared : Error<
+"HLSL intangible type cannot be declared here">;
+def err_hlsl_intangible_type_as_function_arg_or_return : Error<
+"HLSL intangible type cannot be used as function %select{argument|return value}0">;
----------------
llvm-beanz wrote:
I don't think this is correct. We do allow resources as argument and return types.
https://github.com/llvm/llvm-project/pull/97362
More information about the cfe-commits
mailing list