From 419055453cdc4f9be4a3ad80f9b49e881d528fe9 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Sat, 29 Aug 2009 23:37:49 +0000 Subject: Minor logic simplification. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80453 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/AsmParser/LLParser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/AsmParser') diff --git a/lib/AsmParser/LLParser.cpp b/lib/AsmParser/LLParser.cpp index 784672acef..4f7a440c01 100644 --- a/lib/AsmParser/LLParser.cpp +++ b/lib/AsmParser/LLParser.cpp @@ -2501,7 +2501,7 @@ bool LLParser::ParseFunctionHeader(Function *&Fn, bool isDefine) { } } - } else if (FunctionName.empty()) { + } else { // If this is a definition of a forward referenced function, make sure the // types agree. std::map >::iterator I -- cgit v1.2.3