The case of extern inline functions in GNU89 mode is now handled
in `canRedefineFunction`, which has appropriate comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@295167
91177308-0d34-0410-b5e6-
96231b3b80d8
Sema::CheckForFunctionRedefinition(FunctionDecl *FD,
const FunctionDecl *EffectiveDefinition,
SkipBodyInfo *SkipBody) {
- // Don't complain if we're in GNU89 mode and the previous definition
- // was an extern inline function.
const FunctionDecl *Definition = EffectiveDefinition;
if (!Definition)
if (!FD->isDefined(Definition))