llvm-svn: 112541
This commit is contained in:
Gabor Greif 2010-08-30 22:25:56 +00:00
parent 823bb4cc24
commit 1286617c64
1 changed files with 1 additions and 1 deletions

View File

@ -1167,7 +1167,7 @@ Decl *TemplateDeclInstantiator::VisitFunctionDecl(FunctionDecl *D,
PrincipalDecl->setObjectOfFriendDecl(PrevDecl != 0); PrincipalDecl->setObjectOfFriendDecl(PrevDecl != 0);
DC->makeDeclVisibleInContext(PrincipalDecl, /*Recoverable=*/ false); DC->makeDeclVisibleInContext(PrincipalDecl, /*Recoverable=*/ false);
bool queuedInstantiation = false; bool queuedInstantiation = false;
if (!SemaRef.getLangOptions().CPlusPlus0x && if (!SemaRef.getLangOptions().CPlusPlus0x &&
D->isThisDeclarationADefinition()) { D->isThisDeclarationADefinition()) {