summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2010-12-10 17:05:33 +0000
committerFariborz Jahanian <fjahanian@apple.com>2010-12-10 17:05:33 +0000
commit352d5e5362caf625fe3830d9eb00efb6582dbda3 (patch)
tree6549360123e6525523447d8f628c82910cc14faa /clang/lib/Sema/SemaDecl.cpp
parent0cdc8320779058553b48b3c14875ad44632091d3 (diff)
downloadbcm5719-llvm-352d5e5362caf625fe3830d9eb00efb6582dbda3.tar.gz
bcm5719-llvm-352d5e5362caf625fe3830d9eb00efb6582dbda3.zip
Fix a compiler warning.
llvm-svn: 121490
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r--clang/lib/Sema/SemaDecl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp
index 522ba36760b..f2dd159eab6 100644
--- a/clang/lib/Sema/SemaDecl.cpp
+++ b/clang/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 ||
OpenPOWER on IntegriCloud