Home
last modified time | relevance | path

Searched refs:ExternCPrev (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp16273 NamedDecl *ExternCPrev = findLocallyScopedExternCDecl(&II); in ImplicitlyDefineFunction() local
16274 if (ExternCPrev) { in ImplicitlyDefineFunction()
16277 PushOnScopeChains(ExternCPrev, BlockScope, /*AddToContext*/false); in ImplicitlyDefineFunction()
16282 if (!isa<FunctionDecl>(ExternCPrev) || in ImplicitlyDefineFunction()
16284 cast<FunctionDecl>(ExternCPrev)->getType(), in ImplicitlyDefineFunction()
16287 << ExternCPrev << !getLangOpts().C99; in ImplicitlyDefineFunction()
16288 Diag(ExternCPrev->getLocation(), diag::note_previous_declaration); in ImplicitlyDefineFunction()
16289 return ExternCPrev; in ImplicitlyDefineFunction()
16309 if (S && !ExternCPrev && in ImplicitlyDefineFunction()
16331 if (ExternCPrev) in ImplicitlyDefineFunction()
[all …]