[cfe-commits] r71638 - /cfe/trunk/lib/Sema/SemaDecl.cpp

Chris Lattner sabre at nondot.org
Tue May 12 21:52:12 PDT 2009


Author: lattner
Date: Tue May 12 23:52:12 2009
New Revision: 71638

URL: http://llvm.org/viewvc/llvm-project?rev=71638&view=rev
Log:
eli correctly points out that this code is dead, just rip it out for
now until someone does it right

Modified:
    cfe/trunk/lib/Sema/SemaDecl.cpp

Modified: cfe/trunk/lib/Sema/SemaDecl.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDecl.cpp?rev=71638&r1=71637&r2=71638&view=diff

==============================================================================
--- cfe/trunk/lib/Sema/SemaDecl.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDecl.cpp Tue May 12 23:52:12 2009
@@ -2076,13 +2076,6 @@
     }
     
     // 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);





More information about the cfe-commits mailing list