assert -> llvm_unreachable

llvm-svn: 85125
This commit is contained in:
Douglas Gregor
2009-10-26 16:27:58 +00:00
parent 6a10d5ebd3
commit e0105ad38b

View File

@@ -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: