зеркало из https://github.com/microsoft/clang-1.git
Fix a compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121490 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
1ab55e9bb8
Коммит
9913d6e086
|
@ -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 ||
|
||||
|
|
Загрузка…
Ссылка в новой задаче