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:
Serge Pavlov 2017-02-15 11:34:11 +00:00
parent ea831e4c46
commit 216bb2df36
1 changed files with 0 additions and 2 deletions

View File

@ -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))