forked from OSchip/llvm-project
parent
2eb0bcc9e6
commit
055477494b
|
@ -173,6 +173,7 @@ public:
|
|||
case CK_UnusedFunctionPointer:
|
||||
llvm_unreachable("Only function pointers kinds");
|
||||
}
|
||||
llvm_unreachable("Should already return");
|
||||
}
|
||||
|
||||
private:
|
||||
|
|
|
@ -1393,8 +1393,8 @@ void CodeGenModule::EmitVTablesOpportunistically() {
|
|||
// 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) &&
|
||||
|
|
Loading…
Reference in New Issue