summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-05-13 04:52:12 +0000
committerChris Lattner <sabre@nondot.org>2009-05-13 04:52:12 +0000
commit5868c031916c46ef45606287c45f672814c83781 (patch)
tree853733ebfba033e5b9f3b7613a4dfef53efdb037 /clang/lib/Sema/SemaDecl.cpp
parentafde259240593aaa60e334a4933604863edda543 (diff)
downloadbcm5719-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.cpp7
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);
OpenPOWER on IntegriCloud