diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2010-12-10 17:05:33 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2010-12-10 17:05:33 +0000 |
commit | 9913d6e086b95cdc791b52c10f773dfd1267f5f8 (patch) | |
tree | 0b004473f512533c4a8fa61a532563978adc2737 /lib/Sema/SemaDecl.cpp | |
parent | 1ab55e9bb87d98bff1d42c7a0ee502c64755d9f5 (diff) |
Fix a compiler warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 522ba36760..f2dd159eab 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -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 || |