Constify FunctionDecl::getmemoryFunctionKind().

llvm-svn: 148369
diff --git a/clang/lib/AST/Decl.cpp b/clang/lib/AST/Decl.cpp
index 1951363..001620a 100644
--- a/clang/lib/AST/Decl.cpp
+++ b/clang/lib/AST/Decl.cpp
@@ -2290,7 +2290,7 @@
   return SourceRange(getOuterLocStart(), EndRangeLoc);
 }
 
-unsigned FunctionDecl::getMemoryFunctionKind() {
+unsigned FunctionDecl::getMemoryFunctionKind() const {
   IdentifierInfo *FnInfo = getIdentifier();
 
   if (!FnInfo)