[clang] [BoundsSafety] Support bounds-safety attributes in type positions (PR #179612)

Yeoul Na via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 10 09:31:49 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);
----------------
rapidsna wrote:

Yes, I still need some cleanups to do. Opened it early to see if people agree on the high-level direction.

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


More information about the cfe-commits mailing list