sepavloff added inline comments. ================ Comment at: lib/Sema/SemaTemplateInstantiate.cpp:1695 @@ +1694,3 @@ + } else if (OwningFunc->getLexicalDeclContext()->isFunctionOrMethod() && + !OwningFunc->isThisDeclarationADefinition()) { + // This is a function declaration within a function definition, as in: ---------------- rsmith wrote: > Is this necessary? A local function declaration can't be a definition. As clang do not support nested functions, it is not necessary. Remove it.
http://reviews.llvm.org/D11194 _______________________________________________ cfe-commits mailing list cfe-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits