comparison tools/clang/lib/Parse/ParseCbC.cpp @ 47:5b813d18f000

replace __environment with &__CbC_environment in a code segment's arguments
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 02 Jan 2014 01:28:55 +0900
parents 9ebfb52ddd9b
children 4b59af982ef3
comparison
equal deleted inserted replaced
46:ced88226fdc5 47:5b813d18f000
109 bool isPointer(unsigned F) { return F & PointerType; } 109 bool isPointer(unsigned F) { return F & PointerType; }
110 bool isFunction(unsigned F) { return F & FunctionType; } 110 bool isFunction(unsigned F) { return F & FunctionType; }
111 } 111 }
112 112
113 113
114 void Parser::PrepareForContinuationWithTheEnv(){ 114 void Parser::PrepareForGotoWithTheEnv(){
115 StmtResult Res; 115 StmtResult Res;
116 SourceLocation Loc = Tok.getLocation(); 116 SourceLocation Loc = Tok.getLocation();
117 117
118 Res = CreateDeclStmt(CreateIdentifierInfo(__CBC_STRUCT_NAME, __CBC_STRUCT_LENGTH, Loc), CbCSpace::FunctionType, DeclSpec::TST___code); 118 Res = CreateDeclStmt(CreateIdentifierInfo(__CBC_STRUCT_NAME, __CBC_STRUCT_LENGTH, Loc), CbCSpace::FunctionType, DeclSpec::TST___code);
119 if (Res.isUsable()) 119 if (Res.isUsable())