From: Serge Pavlov Date: Wed, 15 Feb 2017 11:34:11 +0000 (+0000) Subject: Removed stale comment. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=beda2c0f06c9e31bc380a50b7e1cff622f72d382;p=clang Removed stale comment. NFC. 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 --- diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index bc4611cb06..ff3909fd84 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -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))