From: Daniel Dunbar Date: Mon, 20 Apr 2009 21:52:34 +0000 (+0000) Subject: Mark TypeForDecl mutable. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3bfb885583f8816bf296b61c5886b97a81158bab;p=clang Mark TypeForDecl mutable. - Let the const propogation begin. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69628 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/AST/Decl.h b/include/clang/AST/Decl.h index a5c2801b48..29112b9045 100644 --- a/include/clang/AST/Decl.h +++ b/include/clang/AST/Decl.h @@ -886,7 +886,7 @@ class TypeDecl : public NamedDecl { /// 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;