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:
diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h
index 4e06467..96c6657 100644
--- a/include/clang/AST/Decl.h
+++ b/include/clang/AST/Decl.h
@@ -69,7 +69,7 @@
 public:
   
   Kind getKind() const { return DeclKind; }
-  const char *getDeclKindName();
+  const char *getDeclKindName() const;
   
   /// setInvalidDecl - Indicates the Decl had a semantic error. This
   /// allows for graceful error recovery.