From 01ad39e42de07f9a81fba986e6a045a3904ef7a9 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 13 May 2009 04:52:12 +0000 Subject: [PATCH] eli correctly points out that this code is dead, just rip it out for now until someone does it right git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@71638 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Sema/SemaDecl.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/Sema/SemaDecl.cpp b/lib/Sema/SemaDecl.cpp index 523e71e9b7..5914292dab 100644 --- a/lib/Sema/SemaDecl.cpp +++ b/lib/Sema/SemaDecl.cpp @@ -2076,13 +2076,6 @@ Sema::ActOnFunctionDeclarator(Scope* S, Declarator& D, DeclContext* DC, } // This is a C++ method declaration. - - // FIXME: All inline method declarations are semantically inline. We - // should add a new bit to keep track of whether they were declared with an - // inline keyword as well. - if (CurContext == DC && IsFunctionDefinition) - isInline = true; - NewFD = CXXMethodDecl::Create(Context, cast(DC), D.getIdentifierLoc(), Name, R, (SC == FunctionDecl::Static), isInline); -- 2.40.0