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

Yeoul Na via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 4 06:33:55 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:
----------------
rapidsna wrote:

Good catch! I will add some tests with serialization.

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


More information about the cfe-commits mailing list