commit | e5ea380858f3d0a168c44ba42684e821997933d7 | [log] [tgz] |
---|---|---|
author | Steve Naroff <snaroff@apple.com> | Mon Sep 17 14:49:06 2007 +0000 |
committer | Steve Naroff <snaroff@apple.com> | Mon Sep 17 14:49:06 2007 +0000 |
tree | 23a5b05e0f33472588240fc9caa812e79ad58de6 | |
parent | 3f128ad2691d299b96663da85a9e069c4081ea7c [diff] |
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: