From 21fdf416723e8c475812a0324a1f9fafc949c25f Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Wed, 24 Oct 2007 00:07:36 +0000 Subject: [PATCH] Fixed a strange construct, please review. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43278 91177308-0d34-0410-b5e6-96231b3b80d8 --- CodeGen/CodeGenTypes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CodeGen/CodeGenTypes.cpp b/CodeGen/CodeGenTypes.cpp index 626ebf96a8..ae6754ce03 100644 --- a/CodeGen/CodeGenTypes.cpp +++ b/CodeGen/CodeGenTypes.cpp @@ -254,7 +254,7 @@ void CodeGenTypes::DecodeArgumentTypes(const FunctionTypeProto &FTP, unsigned CodeGenTypes::getLLVMFieldNo(const FieldDecl *FD) { llvm::DenseMap::iterator I = FieldInfo.find(FD); - if (I != FieldInfo.end() && "Unable to find field info"); + assert (I != FieldInfo.end() && "Unable to find field info"); return I->second; }