[cfe-commits] r121490 - /cfe/trunk/lib/Sema/SemaDecl.cpp
Fariborz Jahanian
fjahanian at apple.com
Fri Dec 10 09:05:33 PST 2010
Author: fjahanian
Date: Fri Dec 10 11:05:33 2010
New Revision: 121490
URL: http://llvm.org/viewvc/llvm-project?rev=121490&view=rev
Log:
Fix a compiler warning.
Modified:
cfe/trunk/lib/Sema/SemaDecl.cpp
Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=121490&r1=121489&r2=121490&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Fri Dec 10 11:05:33 2010
@@ -3820,7 +3820,8 @@
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 ||
More information about the cfe-commits
mailing list