r295167 - Removed stale comment. NFC.

Serge Pavlov via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 15 03:34:11 PST 2017


Author: sepavloff
Date: Wed Feb 15 05:34:11 2017
New Revision: 295167

URL: http://llvm.org/viewvc/llvm-project?rev=295167&view=rev
Log:
Removed stale comment. NFC.

The case of extern inline functions in GNU89 mode is now handled
in `canRedefineFunction`, which has appropriate comment.

Modified:
    cfe/trunk/lib/Sema/SemaDecl.cpp

Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=295167&r1=295166&r2=295167&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Wed Feb 15 05:34:11 2017
@@ -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))




More information about the cfe-commits mailing list