assert -> llvm_unreachable
llvm-svn: 85125
This commit is contained in:
@@ -949,7 +949,7 @@ GetLinkageForVariable(ASTContext &Context, const VarDecl *VD) {
|
||||
return CodeGenModule::GVA_StrongExternal;
|
||||
|
||||
case TSK_ExplicitInstantiationDeclaration:
|
||||
assert(false && "Variable should not be instantiated");
|
||||
llvm::llvm_unreachable("Variable should not be instantiated");
|
||||
// Fall through to treat this like any other instantiation.
|
||||
|
||||
case TSK_ImplicitInstantiation:
|
||||
|
||||
Reference in New Issue
Block a user