]> granicus.if.org Git - clang/commitdiff
Removed stale comment. NFC.
authorSerge Pavlov <sepavloff@gmail.com>
Wed, 15 Feb 2017 11:34:11 +0000 (11:34 +0000)
committerSerge Pavlov <sepavloff@gmail.com>
Wed, 15 Feb 2017 11:34:11 +0000 (11:34 +0000)
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

lib/Sema/SemaDecl.cpp

index bc4611cb067a833b7088e1a8916cbea0db1ae924..ff3909fd84ec24bb532da73d25328c2db0b1441d 100644 (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))