]> granicus.if.org Git - clang/commitdiff
Allow one to update the type representation of the declaration specifiers. Will be...
authorDouglas Gregor <dgregor@apple.com>
Fri, 31 Jul 2009 18:34:30 +0000 (18:34 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 31 Jul 2009 18:34:30 +0000 (18:34 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77703 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Parse/DeclSpec.h

index c202b075bf9a2d6c3b8e112564284a87a2f7ab30..9907a6964fc020de5db00d99ea78a571404f2d0d 100644 (file)
@@ -281,7 +281,8 @@ public:
   bool SetTypeSpecType(TST T, SourceLocation Loc, const char *&PrevSpec,
                        void *Rep = 0, bool Owned = false);
   bool SetTypeSpecError();
-
+  void UpdateTypeRep(void *Rep) { TypeRep = Rep; }
+                  
   bool SetTypeQual(TQ T, SourceLocation Loc, const char *&PrevSpec,
                    const LangOptions &Lang);