[clang] [lldb] [BoundsSafety] Introduce LateParsedAttrType AST placeholder type (PR #204125)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 9 06:32:55 PDT 2026
================
@@ -156,6 +156,9 @@ 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:
+ llvm_unreachable(
+ "should be replaced with a concrete type before serialization");
----------------
erichkeane wrote:
Do we not have any serialization that would happen earlier? I know we are using serialization in a few places, so I'm a bit concerned here...
https://github.com/llvm/llvm-project/pull/204125
More information about the cfe-commits
mailing list