[cfe-commits] r69628 - /cfe/trunk/include/clang/AST/Decl.h
Daniel Dunbar
daniel at zuster.org
Mon Apr 20 14:52:35 PDT 2009
Author: ddunbar
Date: Mon Apr 20 16:52:34 2009
New Revision: 69628
URL: http://llvm.org/viewvc/llvm-project?rev=69628&view=rev
Log:
Mark TypeForDecl mutable.
- Let the const propogation begin.
Modified:
cfe/trunk/include/clang/AST/Decl.h
Modified: cfe/trunk/include/clang/AST/Decl.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Decl.h?rev=69628&r1=69627&r2=69628&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Decl.h (original)
+++ cfe/trunk/include/clang/AST/Decl.h Mon Apr 20 16:52:34 2009
@@ -886,7 +886,7 @@
/// this TypeDecl. It is a cache maintained by
/// ASTContext::getTypedefType, ASTContext::getTagDeclType, and
/// ASTContext::getTemplateTypeParmType, and TemplateTypeParmDecl.
- Type *TypeForDecl;
+ mutable Type *TypeForDecl;
friend class ASTContext;
friend class DeclContext;
friend class TagDecl;
More information about the cfe-commits
mailing list