More #include cleaning
 - Drop {Decl.h,DeclObjC.h,IdentifierTable.h} from Expr.h
 - Moved Sema::getCurMethodDecl() out of line (dependent on
   ObjCMethodDecl via dyn_cast).


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54629 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h
index 428610f..d6dcaf2 100644
--- a/lib/Sema/Sema.h
+++ b/lib/Sema/Sema.h
@@ -275,9 +275,7 @@
 
   /// CurMethodDecl - If inside of a method body, this returns a pointer to
   /// the method decl for the method being parsed.
-  ObjCMethodDecl *getCurMethodDecl() {
-    return dyn_cast<ObjCMethodDecl>(CurContext);
-  }
+  ObjCMethodDecl *getCurMethodDecl();
 
   /// Add this decl to the scope shadowed decl chains.
   void PushOnScopeChains(NamedDecl *D, Scope *S);