aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-10-12 18:45:56 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2008-10-12 18:45:56 +0000
commite2ed203b437c14de57a80d69b70164819d045d86 (patch)
tree8386abe0000ff9c549f17695c9b9cff99852f7b7
parentd2595ecce5f8350e485c83bfe767549a522b2802 (diff)
More const-ness goodness.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57420 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/clang/AST/DeclBase.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h
index ac6e19610b..f278b71fdf 100644
--- a/include/clang/AST/DeclBase.h
+++ b/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) {