| /llvm-project-15.0.7/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()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaLambda.cpp | 543 CXXMethodDecl *CallOperator, Scope *CurScope) { in addLambdaParameters() argument 550 if (CurScope && Param->getIdentifier()) { in addLambdaParameters() 563 CheckShadow(CurScope, Param); in addLambdaParameters() 565 PushOnScopeChains(Param, CurScope); in addLambdaParameters() 893 Scope *CurScope) { in ActOnStartOfLambdaDefinition() argument 997 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition() 1011 PushDeclContext(CurScope, Method); in ActOnStartOfLambdaDefinition() 1131 PushOnScopeChains(Var, CurScope, false); in ActOnStartOfLambdaDefinition() 1158 LookupName(R, CurScope); in ActOnStartOfLambdaDefinition() 1241 addLambdaParameters(Intro.Captures, Method, CurScope); in ActOnStartOfLambdaDefinition() [all …]
|
| H A D | SemaOpenMP.cpp | 165 Scope *CurScope = nullptr; member 218 : Directive(DKind), DirectiveName(Name), CurScope(CurScope), in SharingMapTy() 965 return Top ? Top->CurScope : nullptr; in getCurScope() 1637 if (I->CurScope) { in isOpenMPLocal() 1639 Scope *CurScope = getCurScope(); in isOpenMPLocal() local 1640 while (CurScope && CurScope != TopScope && !CurScope->isDeclScope(D)) in isOpenMPLocal() 1641 CurScope = CurScope->getParent(); in isOpenMPLocal() 1642 return CurScope != TopScope; in isOpenMPLocal() 9585 Scope *CurScope = DSA.getCurScope(); in checkOpenMPLoop() local 14623 Scope *CurScope = getCurScope(); in ActOnOpenMPTileDirective() local [all …]
|
| H A D | SemaStmt.cpp | 3318 Scope *S = CurScope->getContinueParent(); in ActOnContinueStmt() 3336 Scope *S = CurScope->getBreakParent(); in ActOnBreakStmt() 3889 Scope *CurScope) { in ActOnReturnStmt() argument 3904 CurScope->updateNRVOCandidate(VD); in ActOnReturnStmt() 4272 Scope *AtCatchParent = CurScope; in ActOnObjCAtThrowStmt() 4594 CurrentSEHFinally.push_back(CurScope); in ActOnStartSEHFinallyBlock() 4609 Scope *SEHTryParent = CurScope; in ActOnSEHLeaveStmt() 4729 if (CurScope) in ActOnCapturedRegionStart() 4730 PushDeclContext(CurScope, CD); in ActOnCapturedRegionStart() 4788 if (CurScope) in ActOnCapturedRegionStart() [all …]
|
| H A D | SemaLookup.cpp | 4410 Scope *S = CurScope; in LookupOrCreateLabel() 4416 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration); in LookupOrCreateLabel() 4424 Scope *S = CurScope->getFnParent(); in LookupOrCreateLabel()
|
| H A D | SemaExpr.cpp | 16162 void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockStart() argument 16176 PushBlockScope(CurScope, Block); in ActOnBlockStart() 16178 if (CurScope) in ActOnBlockStart() 16179 PushDeclContext(CurScope, Block); in ActOnBlockStart() 16192 Scope *CurScope) { in ActOnBlockArguments() argument 16198 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnBlockArguments() 16292 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments() 16309 void Sema::ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockError() argument 16322 Stmt *Body, Scope *CurScope) { in ActOnBlockStmtExpr() argument
|
| H A D | Sema.cpp | 220 CurScope(nullptr), Ident_super(nullptr), Ident___float128(nullptr) { in Sema()
|
| H A D | SemaTemplate.cpp | 5056 LookupParsedName(Result, CurScope, &SS); in CheckTemplateTypeArgument() 10698 LookupName(Result, CurScope); in CheckTypenameType()
|
| H A D | SemaExprCXX.cpp | 8921 TypeResult T = ActOnTypenameType(CurScope, TypenameKWLoc, SS, in ActOnTypeRequirement()
|
| /llvm-project-15.0.7/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 | ParseCXXInlineMethods.cpp | 742 Actions.ActOnReenterFunctionContext(Actions.CurScope, D); in ParseLexedAttribute()
|
| H A D | ParseStmt.cpp | 724 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, Attrs); in ParseLabeledStatement()
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | Sema.h | 5063 Scope *CurScope); 5117 Scope *CurScope); 5901 Scope *CurScope); 5910 Scope *CurScope); 6003 Decl *ActOnNamespaceAliasDef(Scope *CurScope, 7009 CXXMethodDecl *CallOperator, Scope *CurScope); 7030 Scope *CurScope); 10920 NamedDecl *lookupOpenMPDeclareTargetName(Scope *CurScope, 13320 Scope *CurScope; variable 13365 Scope *getCurScope() const { return CurScope; } in getCurScope() [all …]
|
| /llvm-project-15.0.7/llvm/utils/TableGen/ |
| H A D | DecoderEmitter.cpp | 709 FixupList &CurScope = TableInfo.FixupStack.back(); in emitTableEntry() local 711 resolveTableFixups(Table, CurScope, Table.size()); in emitTableEntry() 712 CurScope.clear(); in emitTableEntry()
|
| /llvm-project-15.0.7/clang/include/clang/Parse/ |
| H A D | Parser.h | 1170 Scope *CurScope; variable
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | Verifier.cpp | 6182 auto CurScope = GetScope(*ItCurrent); in verifyNoAliasScopeDecl() local 6187 GetScope(*ItNext) == CurScope); in verifyNoAliasScopeDecl()
|