summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-10-26 16:27:58 +0000
committerDouglas Gregor <dgregor@apple.com>2009-10-26 16:27:58 +0000
commite0105ad38b1835f8c8850d985528827728a9c5ba (patch)
tree208abbf8a8f4a41183063bfe0fd0161a2c67fa18 /clang/lib/CodeGen/CodeGenModule.cpp
parent6a10d5ebd332706f3c95e54beceedbf00b7a81ea (diff)
downloadbcm5719-llvm-e0105ad38b1835f8c8850d985528827728a9c5ba.tar.gz
bcm5719-llvm-e0105ad38b1835f8c8850d985528827728a9c5ba.zip
assert -> llvm_unreachable
llvm-svn: 85125
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index ea84829b78a..10f7d84ee8d 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/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:
OpenPOWER on IntegriCloud