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 | 5868c031916c46ef45606287c45f672814c83781 (patch) | |
tree | 853733ebfba033e5b9f3b7613a4dfef53efdb037 /clang/lib/Sema/SemaDecl.cpp | |
parent | afde259240593aaa60e334a4933604863edda543 (diff) | |
download | bcm5719-llvm-5868c031916c46ef45606287c45f672814c83781.tar.gz bcm5719-llvm-5868c031916c46ef45606287c45f672814c83781.zip |
eli correctly points out that this code is dead, just rip it out for
now until someone does it right
llvm-svn: 71638
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
-rw-r--r-- | clang/lib/Sema/SemaDecl.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/clang/lib/Sema/SemaDecl.cpp b/clang/lib/Sema/SemaDecl.cpp index 523e71e9b78..5914292dab6 100644 --- a/clang/lib/Sema/SemaDecl.cpp +++ b/clang/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); |