case CK_UnusedFunctionPointer:
llvm_unreachable("Only function pointers kinds");
}
+ llvm_unreachable("Should already return");
}
private:
// is not allowed to create new references to things that need to be emitted
// lazily. Note that it also uses fact that we eagerly emitting RTTI.
- assert(OpportunisticVTables.empty() || shouldOpportunisticallyEmitVTables() &&
- "Only emit opportunistic vtables with optimizations");
+ assert((OpportunisticVTables.empty() || shouldOpportunisticallyEmitVTables())
+ && "Only emit opportunistic vtables with optimizations");
for (const CXXRecordDecl *RD : OpportunisticVTables) {
assert(getVTables().isVTableExternal(RD) &&