| /openbsd-src/gnu/llvm/llvm/include/llvm/ADT/ |
| H A D | ScopedHashTable.h | 165 ScopeTy *CurScope = nullptr; variable 174 assert(!CurScope && TopLevelMap.empty() && "Scope imbalance!"); in ~ScopedHashTable() 194 insertIntoScope(CurScope, Key, Val); in insert() 208 ScopeTy *getCurScope() { return CurScope; } in getCurScope() 209 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope() 229 PrevScope = HT.CurScope; in ScopedHashTableScope() 230 HT.CurScope = this; in ScopedHashTableScope() 236 assert(HT.CurScope == this && "Scope imbalance!"); in ~ScopedHashTableScope() 237 HT.CurScope = PrevScope; in ~ScopedHashTableScope()
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaLambda.cpp | 551 CXXMethodDecl *CallOperator, Scope *CurScope) { in addLambdaParameters() argument 558 if (CurScope && Param->getIdentifier()) { in addLambdaParameters() 571 CheckShadow(CurScope, Param); in addLambdaParameters() 573 PushOnScopeChains(Param, CurScope); in addLambdaParameters() 902 Scope *CurScope) { in ActOnStartOfLambdaDefinition() argument 911 auto *TemplateParamScope = CurScope->getTemplateParamParent(); in ActOnStartOfLambdaDefinition() 918 } else if (CurScope->getTemplateParamParent() != nullptr) { in ActOnStartOfLambdaDefinition() 979 MethodTyInfo = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnStartOfLambdaDefinition() 1028 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition() 1042 PushDeclContext(CurScope, Method); in ActOnStartOfLambdaDefinition() [all …]
|
| H A D | SemaOpenMP.cpp | 166 Scope *CurScope = nullptr; member 220 Scope *CurScope, SourceLocation Loc) in SharingMapTy() 221 : Directive(DKind), DirectiveName(Name), CurScope(CurScope), in SharingMapTy() 393 Scope *CurScope, SourceLocation Loc) { in push() argument 399 Stack.back().first.emplace_back(DKind, DirName, CurScope, Loc); in push() 979 return Top ? Top->CurScope : nullptr; in getCurScope() 1668 if (I->CurScope) { in isOpenMPLocal() 1669 Scope *TopScope = I->CurScope->getParent(); in isOpenMPLocal() 1670 Scope *CurScope = getCurScope(); in isOpenMPLocal() local 1671 while (CurScope && CurScope != TopScope && !CurScope->isDeclScope(D)) in isOpenMPLocal() [all …]
|
| H A D | SemaStmt.cpp | 541 Stmt *SubStmt, Scope *CurScope) { in ActOnDefaultStmt() argument 2117 Scope *BreakParent = CurScope->getBreakParent(); in CheckBreakContinueBinding() 2125 } else if (BCFinder.ContinueFound() && CurScope->getContinueParent()) { in CheckBreakContinueBinding() 3326 Sema::ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope) { in ActOnContinueStmt() argument 3327 Scope *S = CurScope->getContinueParent(); in ActOnContinueStmt() 3344 Sema::ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope) { in ActOnBreakStmt() argument 3345 Scope *S = CurScope->getBreakParent(); in ActOnBreakStmt() 3881 Scope *CurScope) { in ActOnReturnStmt() argument 3896 CurScope->updateNRVOCandidate(VD); in ActOnReturnStmt() 3898 CheckJumpOutOfSEHFinally(*this, ReturnLoc, *CurScope->getFnParent()); in ActOnReturnStmt() [all …]
|
| H A D | SemaLookup.cpp | 4422 Scope *S = CurScope; in LookupOrCreateLabel() 4428 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration); in LookupOrCreateLabel() 4436 Scope *S = CurScope->getFnParent(); in LookupOrCreateLabel()
|
| H A D | SemaExpr.cpp | 16430 void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockStart() argument 16444 PushBlockScope(CurScope, Block); in ActOnBlockStart() 16446 if (CurScope) in ActOnBlockStart() 16447 PushDeclContext(CurScope, Block); in ActOnBlockStart() 16460 Scope *CurScope) { in ActOnBlockArguments() argument 16466 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnBlockArguments() 16560 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments() 16577 void Sema::ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockError() argument 16590 Stmt *Body, Scope *CurScope) { in ActOnBlockStmtExpr() argument
|
| H A D | Sema.cpp | 221 CurScope(nullptr), Ident_super(nullptr), Ident___float128(nullptr) { in Sema()
|
| H A D | SemaTemplate.cpp | 5188 LookupParsedName(Result, CurScope, &SS); in CheckTemplateTypeArgument() 10956 LookupName(Result, CurScope); in CheckTypenameType()
|
| H A D | SemaExprCXX.cpp | 8945 TypeResult T = ActOnTypenameType(CurScope, TypenameKWLoc, SS, in ActOnTypeRequirement()
|
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | Parser.cpp | 59 Actions.CurScope = nullptr; in Parser() 408 Actions.CurScope = N; in EnterScope() 410 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope() 423 Actions.CurScope = OldScope->getParent(); in ExitScope() 435 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags() 436 if (CurScope) { in ParseScopeFlags() 437 OldFlags = CurScope->getFlags(); in ParseScopeFlags() 438 CurScope->setFlags(ScopeFlags); in ParseScopeFlags() 445 if (CurScope) in ~ParseScopeFlags() 446 CurScope->setFlags(OldFlags); in ~ParseScopeFlags() [all …]
|
| H A D | ParseHLSL.cpp | 100 Actions.ProcessDeclAttributeList(Actions.CurScope, D, Attrs); in ParseHLSLBuffer()
|
| H A D | ParseCXXInlineMethods.cpp | 747 Actions.ActOnReenterFunctionContext(Actions.CurScope, D); in ParseLexedAttribute()
|
| H A D | ParseStmt.cpp | 748 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs); in ParseLabeledStatement()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | Sema.h | 5067 Stmt *SubStmt, Scope *CurScope); 5148 StmtResult ActOnContinueStmt(SourceLocation ContinueLoc, Scope *CurScope); 5149 StmtResult ActOnBreakStmt(SourceLocation BreakLoc, Scope *CurScope); 5151 void ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope, 5154 void ActOnCapturedRegionStart(SourceLocation Loc, Scope *CurScope, 5186 Scope *CurScope); 5240 Scope *CurScope); 5270 StmtResult ActOnSEHLeaveStmt(SourceLocation Loc, Scope *CurScope); 6039 void ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope); 6044 Scope *CurScope); [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/TableGen/ |
| H A D | DecoderEmitter.cpp | 697 FixupList &CurScope = TableInfo.FixupStack.back(); in emitTableEntry() local 699 resolveTableFixups(Table, CurScope, Table.size()); in emitTableEntry() 700 CurScope.clear(); in emitTableEntry()
|
| /openbsd-src/gnu/llvm/clang/include/clang/Parse/ |
| H A D | Parser.h | 1188 Scope *CurScope; variable
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Verifier.cpp | 6335 auto CurScope = GetScope(*ItCurrent); in verifyNoAliasScopeDecl() local 6340 GetScope(*ItNext) == CurScope); in verifyNoAliasScopeDecl()
|