Mercurial > hg > CbC > CbC_llvm
diff clang/lib/Parse/ParseCbC.cpp @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 591ddb4e7ef1 |
children | df311c476dd5 |
line wrap: on
line diff
--- a/clang/lib/Parse/ParseCbC.cpp Sat May 30 14:40:11 2020 +0900 +++ b/clang/lib/Parse/ParseCbC.cpp Sat May 30 17:44:06 2020 +0900 @@ -346,7 +346,7 @@ (D.isFunctionDeclaratorAFunctionDeclaration() ? Scope::FunctionDeclarationScope : 0)); bool HasProto = false; SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; - SourceLocation EllipsisLoc, RefQualifierLoc, ConstQualifierLoc, VolatileQualifierLoc, RestrictQualifierLoc; + SourceLocation EllipsisLoc, RefQualifierLoc; DeclSpec FPDS(AttrFactory); bool RefQualifierIsLValueRef = true; ExceptionSpecificationType ESpecType = EST_None; @@ -487,7 +487,6 @@ ParseScope InnerScope(this, Scope::DeclScope,false); - SourceLocation InnerStatementTrailingElseLoc; StmtResult StmtRes; ParseScope CompoundScope(this, Scope::DeclScope); @@ -678,7 +677,7 @@ bool IsAmbiguous = false; bool HasProto = true; SmallVector<DeclaratorChunk::ParamInfo, 16> ParamInfo; - SourceLocation EllipsisLoc, RefQualifierLoc, ConstQualifierLoc, VolatileQualifierLoc, RestrictQualifierLoc; + SourceLocation EllipsisLoc, RefQualifierLoc; DeclSpec FDS(AttrFactory); bool RefQualifierIsLValueRef = true; ExceptionSpecificationType ESpecType = EST_None;