forked from OSchip/llvm-project
Removed stale comment. NFC.
The case of extern inline functions in GNU89 mode is now handled in `canRedefineFunction`, which has appropriate comment. llvm-svn: 295167
This commit is contained in:
parent
ea831e4c46
commit
216bb2df36
|
@ -11692,8 +11692,6 @@ void
|
|||
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))
|
||||
|
|
Loading…
Reference in New Issue