diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-10-26 16:27:58 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-10-26 16:27:58 +0000 |
commit | 9f0306d969700c9d79a31d559f95a1eb4c0bfcb4 (patch) | |
tree | c38afd2fa232a9642742319dd1a23d525d881447 /lib/CodeGen | |
parent | 9e1d29bb369530c15230e4c92aa67239c283ece2 (diff) |
assert -> llvm_unreachable
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85125 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen')
-rw-r--r-- | lib/CodeGen/CodeGenModule.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CodeGenModule.cpp b/lib/CodeGen/CodeGenModule.cpp index ea84829b78..10f7d84ee8 100644 --- a/lib/CodeGen/CodeGenModule.cpp +++ b/lib/CodeGen/CodeGenModule.cpp @@ -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: |