[cfe-commits] r38808 - /cfe/cfe/trunk/Parse/DeclSpec.cpp
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:24:49 PDT 2007
Author: sabre
Date: Wed Jul 11 11:24:49 2007
New Revision: 38808
URL: http://llvm.org/viewvc/llvm-project?rev=38808&view=rev
Log:
Add some missing assignments.
Modified:
cfe/cfe/trunk/Parse/DeclSpec.cpp
Modified: cfe/cfe/trunk/Parse/DeclSpec.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Parse/DeclSpec.cpp?rev=38808&r1=38807&r2=38808&view=diff
==============================================================================
--- cfe/cfe/trunk/Parse/DeclSpec.cpp (original)
+++ cfe/cfe/trunk/Parse/DeclSpec.cpp Wed Jul 11 11:24:49 2007
@@ -113,12 +113,14 @@
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;
}
More information about the cfe-commits
mailing list