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

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 3 22:13:44 PST 2026


================
@@ -156,6 +156,8 @@ static TypeCode getTypeCodeForTypeClass(Type::TypeClass id) {
 #define TYPE_BIT_CODE(CLASS_ID, CODE_ID, CODE_VALUE) \
   case Type::CLASS_ID: return TYPE_##CODE_ID;
 #include "clang/Serialization/TypeBitCodes.def"
+  case Type::LateParsedAttr:
----------------
ChuanqiXu9 wrote:

Do we have a test for it with serialization? either clang header modules or C++20 named modules.

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


More information about the cfe-commits mailing list