[clang] [clang-tools-extra] [clangd][HLSL] Fix register attribute source range for hover inside arguments (PR #212881)
Finn Plummer via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 31 10:04:16 PDT 2026
================
@@ -185,6 +185,7 @@ void Parser::ParseHLSLAnnotations(ParsedAttributes &Attrs,
if (EndLoc)
*EndLoc = Tok.getLocation();
+ SourceLocation AttrEndLoc = Loc;
----------------
inbelic wrote:
Should we be using and updating the `EndLoc` above instead of creating a new one?
https://github.com/llvm/llvm-project/pull/212881
More information about the cfe-commits
mailing list