================
@@ -185,6 +185,7 @@ void Parser::ParseHLSLAnnotations(ParsedAttributes &Attrs,
   if (EndLoc)
----------------
mafeguimaraes wrote:

Good point, added parser-level coverage: a case in 
clang/test/AST/HLSL/resource_binding_attr.hlsl that checks 
HLSLResourceBindingAttr's SourceRange via -ast-dump/FileCheck directly, 
confirming it now spans the full `register(...)` construct instead of being 
zero-width.

https://github.com/llvm/llvm-project/pull/212881
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to