| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | ScopedHashTable.h | 163 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()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaLambda.cpp | 545 CXXMethodDecl *CallOperator, Scope *CurScope) { in addLambdaParameters() argument 552 if (CurScope && Param->getIdentifier()) { in addLambdaParameters() 565 CheckShadow(CurScope, Param); in addLambdaParameters() 567 PushOnScopeChains(Param, CurScope); in addLambdaParameters() 895 Scope *CurScope) { in ActOnStartOfLambdaDefinition() argument 998 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition() 1012 PushDeclContext(CurScope, Method); in ActOnStartOfLambdaDefinition() 1132 PushOnScopeChains(Var, CurScope, false); in ActOnStartOfLambdaDefinition() 1159 LookupName(R, CurScope); in ActOnStartOfLambdaDefinition() 1242 addLambdaParameters(Intro.Captures, Method, CurScope); in ActOnStartOfLambdaDefinition() [all …]
|
| H A D | SemaOpenMP.cpp | 162 Scope *CurScope = nullptr; member 198 : Directive(DKind), DirectiveName(Name), CurScope(CurScope), in SharingMapTy() 921 return Top ? Top->CurScope : nullptr; in getCurScope() 1537 if (I->CurScope) { in isOpenMPLocal() 1539 Scope *CurScope = getCurScope(); in isOpenMPLocal() local 1540 while (CurScope && CurScope != TopScope && !CurScope->isDeclScope(D)) in isOpenMPLocal() 1541 CurScope = CurScope->getParent(); in isOpenMPLocal() 1542 return CurScope != TopScope; in isOpenMPLocal() 9055 Scope *CurScope = DSA.getCurScope(); in checkOpenMPLoop() local 12710 Scope *CurScope = getCurScope(); in ActOnOpenMPTileDirective() local [all …]
|
| H A D | SemaStmt.cpp | 3298 Scope *S = CurScope->getBreakParent(); in ActOnBreakStmt() 3845 Scope *CurScope) { in ActOnReturnStmt() argument 3859 CurScope->addNRVOCandidate(VD); in ActOnReturnStmt() 3861 CurScope->setNoNRVO(); in ActOnReturnStmt() 4200 Scope *AtCatchParent = CurScope; in ActOnObjCAtThrowStmt() 4519 CurrentSEHFinally.push_back(CurScope); in ActOnStartSEHFinallyBlock() 4534 Scope *SEHTryParent = CurScope; in ActOnSEHLeaveStmt() 4654 if (CurScope) in ActOnCapturedRegionStart() 4655 PushDeclContext(CurScope, CD); in ActOnCapturedRegionStart() 4713 if (CurScope) in ActOnCapturedRegionStart() [all …]
|
| H A D | SemaLookup.cpp | 4109 Scope *S = CurScope; in LookupOrCreateLabel() 4115 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration); in LookupOrCreateLabel() 4123 Scope *S = CurScope->getFnParent(); in LookupOrCreateLabel()
|
| H A D | SemaExpr.cpp | 15394 void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockStart() argument 15408 PushBlockScope(CurScope, Block); in ActOnBlockStart() 15410 if (CurScope) in ActOnBlockStart() 15411 PushDeclContext(CurScope, Block); in ActOnBlockStart() 15424 Scope *CurScope) { in ActOnBlockArguments() argument 15430 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnBlockArguments() 15524 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments() 15541 void Sema::ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockError() argument 15554 Stmt *Body, Scope *CurScope) { in ActOnBlockStmtExpr() argument
|
| H A D | Sema.cpp | 207 CurScope(nullptr), Ident_super(nullptr), Ident___float128(nullptr) {
|
| H A D | SemaTemplate.cpp | 4998 LookupParsedName(Result, CurScope, &SS); in CheckTemplateTypeArgument() 10596 LookupName(Result, CurScope); in CheckTypenameType()
|
| H A D | SemaExprCXX.cpp | 8666 TypeResult T = ActOnTypenameType(CurScope, TypenameKWLoc, SS, in ActOnTypeRequirement()
|
| /freebsd-13.1/contrib/llvm-project/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 | 728 Actions.ActOnReenterFunctionContext(Actions.CurScope, D); in ParseLexedAttribute()
|
| H A D | ParseStmt.cpp | 675 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, attrs); in ParseLabeledStatement()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 4801 Scope *CurScope); 4854 Scope *CurScope); 5619 Scope *CurScope); 5628 Scope *CurScope); 5720 Decl *ActOnNamespaceAliasDef(Scope *CurScope, 6720 CXXMethodDecl *CallOperator, Scope *CurScope); 6741 Scope *CurScope); 10530 NamedDecl *lookupOpenMPDeclareTargetName(Scope *CurScope, 12776 Scope *CurScope; variable 12821 Scope *getCurScope() const { return CurScope; } in getCurScope() [all …]
|
| /freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/ |
| H A D | FixedLenDecoderEmitter.cpp | 684 FixupList &CurScope = TableInfo.FixupStack.back(); in emitTableEntry() local 686 resolveTableFixups(Table, CurScope, Table.size()); in emitTableEntry() 687 CurScope.clear(); in emitTableEntry()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 1154 Scope *CurScope; variable
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Verifier.cpp | 5701 auto CurScope = GetScope(*ItCurrent); in verifyNoAliasScopeDecl() local 5706 GetScope(*ItNext) == CurScope); in verifyNoAliasScopeDecl()
|