From 1b2596ba362d56c3f86123bec909921359526df4 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Fri, 31 Jul 2009 18:34:30 +0000 Subject: [PATCH] Allow one to update the type representation of the declaration specifiers. Will be used by an upcoming commit. llvm-svn: 77703 --- clang/include/clang/Parse/DeclSpec.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clang/include/clang/Parse/DeclSpec.h b/clang/include/clang/Parse/DeclSpec.h index c202b075bf9a..9907a6964fc0 100644 --- a/clang/include/clang/Parse/DeclSpec.h +++ b/clang/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);