[clang] [BoundsSafety] Support bounds-safety attributes in type positions (PR #179612)
Hans Wennborg via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 10 04:18:44 PST 2026
================
@@ -1488,6 +1426,11 @@ class Parser : public CodeCompletionHandler {
void ParseLexedCAttribute(LateParsedAttribute &LA, bool EnterScope,
ParsedAttributes *OutAttrs = nullptr);
+
+ void ParseLexedTypeAttribute(LateParsedTypeAttribute &LA, bool EnterScope, ParsedAttributes &OutAttrs);
+
+ static void LateTypeAttrParserCallback(void *P, void *LA, bool EnterScope, ParsedAttributes &OutAttrs);
----------------
zmodem wrote:
Do the pointers still need to be opaque? Also, I don't see this callback used anywhere?
https://github.com/llvm/llvm-project/pull/179612
More information about the cfe-commits
mailing list