Fix a compiler warning.

llvm-svn: 121490
This commit is contained in:
Fariborz Jahanian 2010-12-10 17:05:33 +00:00
parent 0cdc832077
commit 352d5e5362
1 changed files with 2 additions and 1 deletions

View File

@ -3820,7 +3820,8 @@ Sema::ActOnFunctionDeclarator(Scope* S, Declarator& D, DeclContext* DC,
bool OverloadableAttrRequired=false; // FIXME: HACK!
if (!getLangOptions().CPlusPlus) {
// Perform semantic checking on the function declaration.
CheckFunctionDeclaration(S, NewFD, Previous, isExplicitSpecialization,
bool isExplctSpecialization=false;
CheckFunctionDeclaration(S, NewFD, Previous, isExplctSpecialization,
Redeclaration,
/*FIXME:*/OverloadableAttrRequired);
assert((NewFD->isInvalidDecl() || !Redeclaration ||