forked from OSchip/llvm-project
Minor cleanup.
DS parameter has a default (null) value anyway, so there's no need for an if/else here. Patch by Nikola Smiljanić. llvm-svn: 171210
This commit is contained in:
parent
bd037ab4ba
commit
db7325e56e
|
@ -760,11 +760,7 @@ Parser::ParseExternalDeclaration(ParsedAttributesWithRange &attrs,
|
|||
default:
|
||||
dont_know:
|
||||
// We can't tell whether this is a function-definition or declaration yet.
|
||||
if (DS) {
|
||||
return ParseDeclarationOrFunctionDefinition(attrs, DS);
|
||||
} else {
|
||||
return ParseDeclarationOrFunctionDefinition(attrs);
|
||||
}
|
||||
return ParseDeclarationOrFunctionDefinition(attrs, DS);
|
||||
}
|
||||
|
||||
// This routine returns a DeclGroup, if the thing we parsed only contains a
|
||||
|
|
Loading…
Reference in New Issue