================
@@ -5311,6 +5311,30 @@ TEST(Hover, FunctionParameters) {
}
}
+TEST(Hover, HLSLRegisterAttributeRange) {
+ Annotations T(R"hlsl(
+ Texture2D tex : [[^register]]([[^t1]]);
+ )hlsl");
+
+ TestTU TU = TestTU::withCode(T.code());
+ TU.Filename = "TestTU.hlsl";
----------------
mafeguimaraes wrote:
Good idea. I'll rebase this branch on top of #212741 once it gets merged and
reuse the helper then.
https://github.com/llvm/llvm-project/pull/212881
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits