diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-07-31 18:34:30 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-07-31 18:34:30 +0000 |
commit | 1b2596ba362d56c3f86123bec909921359526df4 (patch) | |
tree | 630a9c866b246e7e2b2e2e0fb3dba32f099cb522 /clang | |
parent | b9a955dc1d11882aa61fad01a308ea834b129de6 (diff) | |
download | bcm5719-llvm-1b2596ba362d56c3f86123bec909921359526df4.tar.gz bcm5719-llvm-1b2596ba362d56c3f86123bec909921359526df4.zip |
Allow one to update the type representation of the declaration specifiers. Will be used by an upcoming commit.
llvm-svn: 77703
Diffstat (limited to 'clang')
-rw-r--r-- | clang/include/clang/Parse/DeclSpec.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/include/clang/Parse/DeclSpec.h b/clang/include/clang/Parse/DeclSpec.h index c202b075bf9..9907a6964fc 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); |