diff options
author | Chris Lattner <sabre@nondot.org> | 2009-05-13 04:52:12 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-05-13 04:52:12 +0000 |
commit | 01ad39e42de07f9a81fba986e6a045a3904ef7a9 (patch) | |
tree | d1673e7e43e5e3bd3b75beee3ea365e653d92fff /lib/Sema/SemaDecl.cpp | |
parent | f58cd9bca9c2e7373300fc8bb7c57cff7e4eda4f (diff) |
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
Diffstat (limited to 'lib/Sema/SemaDecl.cpp')
-rw-r--r-- | lib/Sema/SemaDecl.cpp | 7 |
1 files changed, 0 insertions, 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<CXXRecordDecl>(DC), D.getIdentifierLoc(), Name, R, (SC == FunctionDecl::Static), isInline); |