Author: akirtzidis
Date: Sun Oct 12 13:45:56 2008
New Revision: 57420
URL: http://llvm.org/viewvc/llvm-project?rev=57420&view=rev
Log:
More const-ness goodness.
Modified:
cfe/trunk/include/clang/AST/DeclBase.h
Modified: cfe/trunk/include/clang/AST/DeclBase.h
URL:
http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclBase.h?rev=57420&r1=57419&r2=57420&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclBase.h (original)
+++ cfe/trunk/include/clang/AST/DeclBase.h Sun Oct 12 13:45:56 2008
@@ -316,7 +316,8 @@
}
}
- 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) {
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits