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

/external/llvm/include/llvm/ADT/
H A DScopedHashTable.h155 ScopeTy *CurScope; member in class:llvm::ScopedHashTable
164 ScopedHashTable() : CurScope(nullptr) {}
165 ScopedHashTable(AllocatorTy A) : CurScope(0), Allocator(A) {}
167 assert(!CurScope && TopLevelMap.empty() && "Scope imbalance!");
188 insertIntoScope(CurScope, Key, Val);
202 ScopeTy *getCurScope() { return CurScope; }
203 const ScopeTy *getCurScope() const { return CurScope; }
223 PrevScope = HT.CurScope;
224 HT.CurScope = this;
230 assert(HT.CurScope
[all...]
/external/clang/lib/Sema/
H A DSemaLambda.cpp474 void Sema::addLambdaParameters(CXXMethodDecl *CallOperator, Scope *CurScope) { argument
481 if (CurScope && Param->getIdentifier()) {
482 CheckShadow(CurScope, Param);
484 PushOnScopeChains(Param, CurScope);
803 Scope *CurScope) {
812 if (Scope *TmplScope = CurScope->getTemplateParamParent()) {
864 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope);
890 ProcessDeclAttributes(CurScope, Method, ParamInfo);
893 PushDeclContext(CurScope, Method);
1001 PushOnScopeChains(Var, CurScope, fals
801 ActOnStartOfLambdaDefinition(LambdaIntroducer &Intro, Declarator &ParamInfo, Scope *CurScope) argument
1115 ActOnLambdaError(SourceLocation StartLoc, Scope *CurScope, bool IsInstantiation) argument
1459 ActOnLambdaExpr(SourceLocation StartLoc, Stmt *Body, Scope *CurScope) argument
[all...]
H A DSemaOpenMP.cpp106 Scope *CurScope; member in struct:__anon1543::DSAStackTy::SharingMapTy
117 Scope *CurScope, SourceLocation Loc)
119 Directive(DKind), DirectiveName(std::move(Name)), CurScope(CurScope),
124 Directive(OMPD_unknown), DirectiveName(), CurScope(nullptr),
159 Scope *CurScope, SourceLocation Loc) {
160 Stack.push_back(SharingMapTy(DKind, DirName, CurScope, Loc));
329 Scope *getCurScope() const { return Stack.back().CurScope; }
330 Scope *getCurScope() { return Stack.back().CurScope; }
520 TopScope = I->CurScope
116 SharingMapTy(OpenMPDirectiveKind DKind, DeclarationNameInfo Name, Scope *CurScope, SourceLocation Loc) argument
158 push(OpenMPDirectiveKind DKind, const DeclarationNameInfo &DirName, Scope *CurScope, SourceLocation Loc) argument
521 Scope *CurScope = getCurScope(); local
[all...]
H A DSemaStmt.cpp446 Stmt *SubStmt, Scope *CurScope) {
1592 Scope *BreakParent = CurScope->getBreakParent();
1600 } else if (BCFinder.ContinueFound() && CurScope->getContinueParent()) {
2629 Sema::ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope) { argument
2630 Scope *S = CurScope->getContinueParent();
2641 Sema::ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope) { argument
2642 Scope *S = CurScope->getBreakParent();
3098 Scope *CurScope) {
3106 CurScope->addNRVOCandidate(VD);
3108 CurScope
445 ActOnDefaultStmt(SourceLocation DefaultLoc, SourceLocation ColonLoc, Stmt *SubStmt, Scope *CurScope) argument
3097 ActOnReturnStmt(SourceLocation ReturnLoc, Expr *RetValExp, Scope *CurScope) argument
3386 ActOnObjCAtThrowStmt(SourceLocation AtLoc, Expr *Throw, Scope *CurScope) argument
3726 ActOnSEHLeaveStmt(SourceLocation Loc, Scope *CurScope) argument
3814 ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope, CapturedRegionKind Kind, unsigned NumParams) argument
3841 ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope, CapturedRegionKind Kind, ArrayRef<CapturedParamNameType> Params) argument
[all...]
H A DSema.cpp107 VarDataSharingAttributesStack(nullptr), CurScope(nullptr),
H A DSemaLookup.cpp3643 Scope *S = CurScope;
3649 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration);
3657 Scope *S = CurScope->getFnParent();
H A DSemaExpr.cpp11400 void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope) { argument
11413 PushBlockScope(CurScope, Block);
11415 if (CurScope)
11416 PushDeclContext(CurScope, Block);
11428 Scope *CurScope) {
11434 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope);
11528 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo);
11545 void Sema::ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope) { argument
11558 Stmt *Body, Scope *CurScope) {
11427 ActOnBlockArguments(SourceLocation CaretLoc, Declarator &ParamInfo, Scope *CurScope) argument
11557 ActOnBlockStmtExpr(SourceLocation CaretLoc, Stmt *Body, Scope *CurScope) argument
H A DSemaTemplate.cpp3116 LookupParsedName(Result, CurScope, &SS);
/external/clang/lib/Parse/
H A DParser.cpp79 Actions.CurScope = nullptr;
377 Actions.CurScope = N;
379 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags);
392 Actions.CurScope = OldScope->getParent();
404 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) {
405 if (CurScope) {
406 OldFlags = CurScope->getFlags();
407 CurScope->setFlags(ScopeFlags);
414 if (CurScope)
415 CurScope
[all...]
H A DParseStmt.cpp606 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs);
H A DParseDecl.cpp1211 Actions.ActOnReenterTemplateScope(Actions.CurScope, D);
1217 Actions.ActOnReenterFunctionContext(Actions.CurScope, D);
/external/clang/include/clang/Sema/
H A DSema.h3308 Stmt *SubStmt, Scope *CurScope);
3380 StmtResult ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope);
3381 StmtResult ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope);
3383 void ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope,
3386 void ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope,
3400 Scope *CurScope);
3451 Scope *CurScope);
3481 StmtResult ActOnSEHLeaveStmt(SourceLocation Loc, Scope *CurScope);
4062 void ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope);
4067 Scope *CurScope);
9149 Scope *CurScope; member in class:clang::Sema
[all...]
/external/llvm/utils/TableGen/
H A DFixedLenDecoderEmitter.cpp631 FixupList &CurScope = TableInfo.FixupStack.back(); local
633 resolveTableFixups(Table, CurScope, Table.size());
634 CurScope.clear();
/external/clang/include/clang/Parse/
H A DParser.h813 Scope *CurScope; member in class:clang::Parser::ParseScopeFlags

Completed in 207 milliseconds