[clang] [HLSL] Add `[[hlsl::contained_type()]]` attribute (PR #108456)

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 12 14:50:54 PDT 2024


================
@@ -942,6 +942,7 @@ class BTFTagAttributedTypeLoc
 
 struct HLSLAttributedResourceLocInfo {
   SourceRange Range;
+  TypeSourceInfo *ContainedTyTSI;
----------------
bogner wrote:

`ContainedTyInfo` might be a better name - we usually only use type abbreviations if its the whole variable name.

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


More information about the cfe-commits mailing list