From beda2c0f06c9e31bc380a50b7e1cff622f72d382 Mon Sep 17 00:00:00 2001 From: Serge Pavlov Date: Wed, 15 Feb 2017 11:34:11 +0000 Subject: [PATCH] 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 --- lib/Sema/SemaDecl.cpp | 2 -- 1 file changed, 2 deletions(-) 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)) -- 2.40.0