From 91033173461f4cf02e01a58b2770d8c5a6c43e9c Mon Sep 17 00:00:00 2001 From: Argyrios Kyrtzidis Date: Sun, 12 Oct 2008 18:45:56 +0000 Subject: [PATCH] More const-ness goodness. llvm-svn: 57420 --- clang/include/clang/AST/DeclBase.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/AST/DeclBase.h b/clang/include/clang/AST/DeclBase.h index ac6e19610bc5..f278b71fdfac 100644 --- a/clang/include/clang/AST/DeclBase.h +++ b/clang/include/clang/AST/DeclBase.h @@ -316,7 +316,8 @@ public: } } - ScopedDecl *getDeclChain() const { return DeclChain; } + const ScopedDecl *getDeclChain() const { return DeclChain; } + ScopedDecl *getDeclChain() { return DeclChain; } void setDeclChain(ScopedDecl *D) { DeclChain = D; } static bool classof(const Decl *D) {