]> granicus.if.org Git - clang/commitdiff
fix a warning on some compilers
authorChris Lattner <sabre@nondot.org>
Sat, 21 Jul 2007 04:57:45 +0000 (04:57 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 21 Jul 2007 04:57:45 +0000 (04:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@40139 91177308-0d34-0410-b5e6-96231b3b80d8

Sema/SemaExpr.cpp

index fc4bc865cc443d5e946360d45ada535f3977770f..7ba795f47e4ce6018c9c07f45782fa51ebfa579d 100644 (file)
@@ -80,6 +80,7 @@ Sema::ExprResult Sema::ParseIdentifierExpr(Scope *S, SourceLocation Loc,
     return Diag(Loc, diag::err_unexpected_typedef, II.getName());
 
   assert(0 && "Invalid decl");
+  abort();
 }
 
 Sema::ExprResult Sema::ParseSimplePrimaryExpr(SourceLocation Loc,