projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed77e52
)
Minor logic simplification.
author
Dan Gohman
<gohman@apple.com>
Sat, 29 Aug 2009 23:37:49 +0000
(23:37 +0000)
committer
Dan Gohman
<gohman@apple.com>
Sat, 29 Aug 2009 23:37:49 +0000
(23:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80453
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/AsmParser/LLParser.cpp
patch
|
blob
|
history
diff --git
a/lib/AsmParser/LLParser.cpp
b/lib/AsmParser/LLParser.cpp
index 784672acef2e86143c65d0eea98c19e2740fa6e8..4f7a440c019ef37ba368d970db21c3280b14a58f 100644
(file)
--- 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<unsigned, std::pair<GlobalValue*, LocTy> >::iterator I