Add const to debug hook...


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42025 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/AST/Decl.cpp b/AST/Decl.cpp
index ee5b073..d457800 100644
--- a/AST/Decl.cpp
+++ b/AST/Decl.cpp
@@ -33,7 +33,7 @@
 
 static bool StatSwitch = false;
 
-const char *Decl::getDeclKindName() {
+const char *Decl::getDeclKindName() const {
   switch (DeclKind) {
   default: assert(0 && "Unknown decl kind!");
   case Typedef: