]> granicus.if.org Git - clang/commitdiff
Mark TypeForDecl mutable.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 20 Apr 2009 21:52:34 +0000 (21:52 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 20 Apr 2009 21:52:34 +0000 (21:52 +0000)
 - Let the const propogation begin.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@69628 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/Decl.h

index a5c2801b487043120425c73ff07d1eaf2542ce06..29112b9045072225a6b20a5b5b48473c925e0091 100644 (file)
@@ -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;