forked from OSchip/llvm-project
parent
823bb4cc24
commit
1286617c64
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in New Issue