| commit | 83763f2c40f715212336b3848f98c52d9389addb | [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 | 3d0c9412952756747e475ecea8b01bf5281d6a87 | |
| parent | 51d1929b9e1eacc63dfd02a737e5ce1e8475ba8b [diff] [blame] |
Add const to debug hook... llvm-svn: 42025
diff --git a/clang/AST/Decl.cpp b/clang/AST/Decl.cpp index ee5b0739..d457800 100644 --- a/clang/AST/Decl.cpp +++ b/clang/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: