Index: SemaDecl.cpp =================================================================== --- SemaDecl.cpp +++ SemaDecl.cpp @@ -1749,7 +1749,7 @@ Loc, Loc, II, R, /*TInfo=*/nullptr, SC_Extern, false, - /*hasPrototype=*/true); + R->isFunctionProtoType()); New->setImplicit(); // Create Decl objects for each parameter, adding them to the