Home
last modified time | relevance | path

Searched refs:CurScope (Results 1 – 14 of 14) sorted by relevance

/external/llvm/include/llvm/ADT/
DScopedHashTable.h155 ScopeTy *CurScope; variable
163 ScopedHashTable() : CurScope(nullptr) {} in ScopedHashTable()
164 ScopedHashTable(AllocatorTy A) : CurScope(0), Allocator(A) {} in ScopedHashTable()
166 assert(!CurScope && TopLevelMap.empty() && "Scope imbalance!"); in ~ScopedHashTable()
188 insertIntoScope(CurScope, Key, Val); in insert()
202 ScopeTy *getCurScope() { return CurScope; } in getCurScope()
203 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope()
223 PrevScope = HT.CurScope; in ScopedHashTableScope()
224 HT.CurScope = this; in ScopedHashTableScope()
230 assert(HT.CurScope == this && "Scope imbalance!"); in ~ScopedHashTableScope()
[all …]
/external/clang/lib/Sema/
DSemaOpenMP.cpp93 Scope *CurScope; member
98 Scope *CurScope, SourceLocation Loc) in SharingMapTy()
100 Directive(DKind), DirectiveName(std::move(Name)), CurScope(CurScope), in SharingMapTy()
104 Directive(OMPD_unknown), DirectiveName(), CurScope(nullptr), in SharingMapTy()
125 Scope *CurScope, SourceLocation Loc) { in push() argument
126 Stack.push_back(SharingMapTy(DKind, DirName, CurScope, Loc)); in push()
229 Scope *getCurScope() const { return Stack.back().CurScope; } in getCurScope()
230 Scope *getCurScope() { return Stack.back().CurScope; } in getCurScope()
381 TopScope = I->CurScope ? I->CurScope->getParent() : nullptr; in isOpenMPLocal()
382 Scope *CurScope = getCurScope(); in isOpenMPLocal() local
[all …]
DSemaLambda.cpp474 void Sema::addLambdaParameters(CXXMethodDecl *CallOperator, Scope *CurScope) { in addLambdaParameters() argument
481 if (CurScope && Param->getIdentifier()) { in addLambdaParameters()
482 CheckShadow(CurScope, Param); in addLambdaParameters()
484 PushOnScopeChains(Param, CurScope); in addLambdaParameters()
840 Declarator &ParamInfo, Scope *CurScope) { in ActOnStartOfLambdaDefinition() argument
849 if (Scope *TmplScope = CurScope->getTemplateParamParent()) { in ActOnStartOfLambdaDefinition()
901 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnStartOfLambdaDefinition()
927 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition()
930 PushDeclContext(CurScope, Method); in ActOnStartOfLambdaDefinition()
1027 PushOnScopeChains(Var, CurScope, false); in ActOnStartOfLambdaDefinition()
[all …]
DSemaStmt.cpp436 Stmt *SubStmt, Scope *CurScope) { in ActOnDefaultStmt() argument
1590 Scope *BreakParent = CurScope->getBreakParent(); in CheckBreakContinueBinding()
1598 } else if (BCFinder.ContinueFound() && CurScope->getContinueParent()) { in CheckBreakContinueBinding()
2583 Sema::ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope) { in ActOnContinueStmt() argument
2584 Scope *S = CurScope->getContinueParent(); in ActOnContinueStmt()
2595 Sema::ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope) { in ActOnBreakStmt() argument
2596 Scope *S = CurScope->getBreakParent(); in ActOnBreakStmt()
3051 Scope *CurScope) { in ActOnReturnStmt() argument
3059 CurScope->addNRVOCandidate(VD); in ActOnReturnStmt()
3061 CurScope->setNoNRVO(); in ActOnReturnStmt()
[all …]
DSemaLookup.cpp3322 Scope *S = CurScope; in LookupOrCreateLabel()
3328 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration); in LookupOrCreateLabel()
3336 Scope *S = CurScope->getFnParent(); in LookupOrCreateLabel()
DSema.cpp106 VarDataSharingAttributesStack(nullptr), CurScope(nullptr), in Sema()
DSemaExpr.cpp11105 void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockStart() argument
11118 PushBlockScope(CurScope, Block); in ActOnBlockStart()
11120 if (CurScope) in ActOnBlockStart()
11121 PushDeclContext(CurScope, Block); in ActOnBlockStart()
11133 Scope *CurScope) { in ActOnBlockArguments() argument
11139 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnBlockArguments()
11233 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments()
11250 void Sema::ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockError() argument
11263 Stmt *Body, Scope *CurScope) { in ActOnBlockStmtExpr() argument
DSemaTemplate.cpp3067 LookupParsedName(Result, CurScope, &SS); in CheckTemplateTypeArgument()
/external/clang/lib/Parse/
DParser.cpp59 Actions.CurScope = nullptr; in Parser()
356 Actions.CurScope = N; in EnterScope()
358 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
371 Actions.CurScope = OldScope->getParent(); in ExitScope()
383 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags()
384 if (CurScope) { in ParseScopeFlags()
385 OldFlags = CurScope->getFlags(); in ParseScopeFlags()
386 CurScope->setFlags(ScopeFlags); in ParseScopeFlags()
393 if (CurScope) in ~ParseScopeFlags()
394 CurScope->setFlags(OldFlags); in ~ParseScopeFlags()
[all …]
DParseStmt.cpp600 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs); in ParseLabeledStatement()
DParseDecl.cpp1183 Actions.ActOnReenterTemplateScope(Actions.CurScope, D); in ParseLexedAttribute()
1189 Actions.ActOnReenterFunctionContext(Actions.CurScope, D); in ParseLexedAttribute()
/external/clang/include/clang/Sema/
DSema.h3079 Stmt *SubStmt, Scope *CurScope);
3148 StmtResult ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope);
3149 StmtResult ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope);
3151 void ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope,
3154 void ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope,
3168 Scope *CurScope);
3215 Scope *CurScope);
3245 StmtResult ActOnSEHLeaveStmt(SourceLocation Loc, Scope *CurScope);
3814 void ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope);
3819 Scope *CurScope);
[all …]
/external/llvm/utils/TableGen/
DFixedLenDecoderEmitter.cpp628 FixupList &CurScope = TableInfo.FixupStack.back(); in emitTableEntry() local
630 resolveTableFixups(Table, CurScope, Table.size()); in emitTableEntry()
631 CurScope.clear(); in emitTableEntry()
/external/clang/include/clang/Parse/
DParser.h791 Scope *CurScope; variable