aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-07-31 18:34:30 +0000
committerDouglas Gregor <dgregor@apple.com>2009-07-31 18:34:30 +0000
commit5296afaa63f7d41fa40fc22fce1382c91ab70daa (patch)
tree1d0990a64f7eacbd6251939dbb5f8d86270caae2
parent1560def1f796c0e5db6026fe366759623c9f13c2 (diff)
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
-rw-r--r--include/clang/Parse/DeclSpec.h3
1 files changed, 2 insertions, 1 deletions
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);