File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,6 @@ struct MissingFeatures {
6060 static bool tbaa () { return false ; }
6161 static bool tbaaStruct () { return false ; }
6262 static bool tbaaTagForStruct () { return false ; }
63- static bool tbaaTagForEnum () { return true ; }
6463 static bool tbaaTagForBitInt () { return false ; }
6564 static bool tbaaVTablePtr () { return false ; }
6665 static bool tbaaIncompleteType () { return false ; }
Original file line number Diff line number Diff line change @@ -174,7 +174,6 @@ cir::TBAAAttr CIRGenTBAA::getTypeInfoHelper(clang::QualType qty) {
174174 // Enum types are distinct types. In C++ they have "underlying types",
175175 // however they aren't related for TBAA.
176176 if (const EnumType *ety = dyn_cast<EnumType>(ty)) {
177- assert (cir::MissingFeatures::tbaaTagForEnum ());
178177 if (!features.CPlusPlus )
179178 return getTypeInfo (ety->getDecl ()->getIntegerType ());
180179
You can’t perform that action at this time.
0 commit comments