Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DScopedHashTable.h163 ScopeTy *CurScope = nullptr; variable
174 assert(!CurScope && TopLevelMap.empty() && "Scope imbalance!"); in ~ScopedHashTable()
195 insertIntoScope(CurScope, Key, Val); in insert()
209 ScopeTy *getCurScope() { return CurScope; } in getCurScope()
210 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope()
230 PrevScope = HT.CurScope; in ScopedHashTableScope()
231 HT.CurScope = this; in ScopedHashTableScope()
237 assert(HT.CurScope == this && "Scope imbalance!"); in ~ScopedHashTableScope()
238 HT.CurScope = PrevScope; in ~ScopedHashTableScope()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaLambda.cpp541 CXXMethodDecl *CallOperator, Scope *CurScope) { in addLambdaParameters() argument
548 if (CurScope && Param->getIdentifier()) { in addLambdaParameters()
561 CheckShadow(CurScope, Param); in addLambdaParameters()
563 PushOnScopeChains(Param, CurScope); in addLambdaParameters()
891 Scope *CurScope) { in ActOnStartOfLambdaDefinition() argument
899 auto *TemplateParamScope = CurScope->getTemplateParamParent(); in ActOnStartOfLambdaDefinition()
907 KnownDependent = CurScope->getTemplateParamParent() != nullptr; in ActOnStartOfLambdaDefinition()
958 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnStartOfLambdaDefinition()
994 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition()
1008 PushDeclContext(CurScope, Method); in ActOnStartOfLambdaDefinition()
[all …]
H A DSemaOpenMP.cpp162 Scope *CurScope = nullptr; member
197 Scope *CurScope, SourceLocation Loc) in SharingMapTy()
198 : Directive(DKind), DirectiveName(Name), CurScope(CurScope), in SharingMapTy()
370 Scope *CurScope, SourceLocation Loc) { in push() argument
376 Stack.back().first.emplace_back(DKind, DirName, CurScope, Loc); in push()
921 return Top ? Top->CurScope : nullptr; in getCurScope()
1537 if (I->CurScope) { in isOpenMPLocal()
1538 Scope *TopScope = I->CurScope->getParent(); in isOpenMPLocal()
1539 Scope *CurScope = getCurScope(); in isOpenMPLocal() local
1540 while (CurScope && CurScope != TopScope && !CurScope->isDeclScope(D)) in isOpenMPLocal()
[all …]
H A DSemaStmt.cpp524 Stmt *SubStmt, Scope *CurScope) { in ActOnDefaultStmt() argument
2079 Scope *BreakParent = CurScope->getBreakParent(); in CheckBreakContinueBinding()
2087 } else if (BCFinder.ContinueFound() && CurScope->getContinueParent()) { in CheckBreakContinueBinding()
3278 Sema::ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope) { in ActOnContinueStmt() argument
3279 Scope *S = CurScope->getContinueParent(); in ActOnContinueStmt()
3296 Sema::ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope) { in ActOnBreakStmt() argument
3297 Scope *S = CurScope->getBreakParent(); in ActOnBreakStmt()
3917 Scope *CurScope) { in ActOnReturnStmt() argument
3931 CurScope->addNRVOCandidate(VD); in ActOnReturnStmt()
3933 CurScope->setNoNRVO(); in ActOnReturnStmt()
[all …]
H A DSemaLookup.cpp4099 Scope *S = CurScope; in LookupOrCreateLabel()
4105 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration); in LookupOrCreateLabel()
4113 Scope *S = CurScope->getFnParent(); in LookupOrCreateLabel()
H A DSemaExpr.cpp15273 void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockStart() argument
15287 PushBlockScope(CurScope, Block); in ActOnBlockStart()
15289 if (CurScope) in ActOnBlockStart()
15290 PushDeclContext(CurScope, Block); in ActOnBlockStart()
15303 Scope *CurScope) { in ActOnBlockArguments() argument
15309 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnBlockArguments()
15403 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments()
15420 void Sema::ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockError() argument
15433 Stmt *Body, Scope *CurScope) { in ActOnBlockStmtExpr() argument
H A DSema.cpp185 CurScope(nullptr), Ident_super(nullptr), Ident___float128(nullptr) {
H A DSemaTemplate.cpp4998 LookupParsedName(Result, CurScope, &SS); in CheckTemplateTypeArgument()
10596 LookupName(Result, CurScope); in CheckTypenameType()
H A DSemaExprCXX.cpp8588 TypeResult T = ActOnTypenameType(CurScope, TypenameKWLoc, SS, in ActOnTypeRequirement()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Parse/
H A DParser.cpp59 Actions.CurScope = nullptr; in Parser()
407 Actions.CurScope = N; in EnterScope()
409 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope()
422 Actions.CurScope = OldScope->getParent(); in ExitScope()
434 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags()
435 if (CurScope) { in ParseScopeFlags()
436 OldFlags = CurScope->getFlags(); in ParseScopeFlags()
437 CurScope->setFlags(ScopeFlags); in ParseScopeFlags()
444 if (CurScope) in ~ParseScopeFlags()
445 CurScope->setFlags(OldFlags); in ~ParseScopeFlags()
[all …]
H A DParseCXXInlineMethods.cpp728 Actions.ActOnReenterFunctionContext(Actions.CurScope, D); in ParseLexedAttribute()
H A DParseStmt.cpp670 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, attrs); in ParseLabeledStatement()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h4652 Stmt *SubStmt, Scope *CurScope);
4732 StmtResult ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope);
4733 StmtResult ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope);
4735 void ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope,
4738 void ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope,
4767 Scope *CurScope);
4818 Scope *CurScope);
4848 StmtResult ActOnSEHLeaveStmt(SourceLocation Loc, Scope *CurScope);
5563 void ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope);
5568 Scope *CurScope);
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/utils/TableGen/
H A DFixedLenDecoderEmitter.cpp684 FixupList &CurScope = TableInfo.FixupStack.back(); in emitTableEntry() local
686 resolveTableFixups(Table, CurScope, Table.size()); in emitTableEntry()
687 CurScope.clear(); in emitTableEntry()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Parse/
H A DParser.h1153 Scope *CurScope; variable
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DVerifier.cpp5692 auto CurScope = GetScope(*ItCurrent); in verifyNoAliasScopeDecl() local
5697 GetScope(*ItNext) == CurScope); in verifyNoAliasScopeDecl()