From: Douglas Gregor Date: Fri, 31 Jul 2009 18:34:30 +0000 (+0000) Subject: Allow one to update the type representation of the declaration specifiers. Will be... X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5296afaa63f7d41fa40fc22fce1382c91ab70daa;p=clang Allow one to update the type representation of the declaration specifiers. Will be used by an upcoming commit. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77703 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Parse/DeclSpec.h b/include/clang/Parse/DeclSpec.h index c202b075bf..9907a6964f 100644 --- a/include/clang/Parse/DeclSpec.h +++ b/include/clang/Parse/DeclSpec.h @@ -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);