Add some missing assignments.

llvm-svn: 38808
This commit is contained in:
Chris Lattner 2006-08-04 05:26:52 +00:00
parent da48a8e66b
commit deb42f5a96
1 changed files with 2 additions and 0 deletions

View File

@ -113,12 +113,14 @@ bool DeclSpec::SetTypeSpecComplex(TSC C, const char *&PrevSpec) {
bool DeclSpec::SetTypeSpecSign(TSS S, const char *&PrevSpec) {
if (TypeSpecSign != TSS_unspecified)
return BadSpecifier(TypeSpecSign, PrevSpec);
TypeSpecSign = S;
return false;
}
bool DeclSpec::SetTypeSpecType(TST T, const char *&PrevSpec) {
if (TypeSpecType != TST_unspecified)
return BadSpecifier(TypeSpecType, PrevSpec);
TypeSpecType = T;
return false;
}