| /freebsd-12.1/contrib/llvm/include/llvm/ADT/ |
| H A D | ScopedHashTable.h | 164 ScopeTy *CurScope = nullptr; variable 175 assert(!CurScope && TopLevelMap.empty() && "Scope imbalance!"); in ~ScopedHashTable() 196 insertIntoScope(CurScope, Key, Val); in insert() 210 ScopeTy *getCurScope() { return CurScope; } in getCurScope() 211 const ScopeTy *getCurScope() const { return CurScope; } in getCurScope() 231 PrevScope = HT.CurScope; in ScopedHashTableScope() 232 HT.CurScope = this; in ScopedHashTableScope() 238 assert(HT.CurScope == this && "Scope imbalance!"); in ~ScopedHashTableScope() 239 HT.CurScope = PrevScope; in ~ScopedHashTableScope()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaLambda.cpp | 498 CXXMethodDecl *CallOperator, Scope *CurScope) { in addLambdaParameters() argument 505 if (CurScope && Param->getIdentifier()) { in addLambdaParameters() 518 CheckShadow(CurScope, Param); in addLambdaParameters() 520 PushOnScopeChains(Param, CurScope); in addLambdaParameters() 843 if (CurScope->getTemplateParamParent()) in ActOnStartOfLambdaDefinition() 925 ProcessDeclAttributes(CurScope, Method, ParamInfo); in ActOnStartOfLambdaDefinition() 933 PushDeclContext(CurScope, Method); in ActOnStartOfLambdaDefinition() 1050 PushOnScopeChains(Var, CurScope, false); in ActOnStartOfLambdaDefinition() 1077 LookupName(R, CurScope); in ActOnStartOfLambdaDefinition() 1083 if (DiagnoseEmptyLookup(CurScope, ScopeSpec, R, in ActOnStartOfLambdaDefinition() [all …]
|
| H A D | SemaOpenMP.cpp | 132 Scope *CurScope = nullptr; member 152 Scope *CurScope, SourceLocation Loc) in SharingMapTy() 153 : Directive(DKind), DirectiveName(Name), CurScope(CurScope), in SharingMapTy() 211 Scope *CurScope, SourceLocation Loc) { in push() argument 1078 TopScope = I->CurScope ? I->CurScope->getParent() : nullptr; in isOpenMPLocal() 1079 Scope *CurScope = getCurScope(); in isOpenMPLocal() local 1080 while (CurScope != TopScope && !CurScope->isDeclScope(D)) in isOpenMPLocal() 1081 CurScope = CurScope->getParent(); in isOpenMPLocal() 1082 return CurScope != TopScope; in isOpenMPLocal() 1754 DSAStack->push(DKind, DirName, CurScope, Loc); in StartOpenMPDSABlock() [all …]
|
| H A D | SemaStmt.cpp | 2906 Scope *S = CurScope->getBreakParent(); in ActOnBreakStmt() 3518 Scope *CurScope) { in ActOnReturnStmt() argument 3526 CurScope->addNRVOCandidate(VD); in ActOnReturnStmt() 3528 CurScope->setNoNRVO(); in ActOnReturnStmt() 3835 Scope *AtCatchParent = CurScope; in ActOnObjCAtThrowStmt() 4159 CurrentSEHFinally.push_back(CurScope); in ActOnStartSEHFinallyBlock() 4174 Scope *SEHTryParent = CurScope; in ActOnSEHLeaveStmt() 4278 if (CurScope) in ActOnCapturedRegionStart() 4279 PushDeclContext(CurScope, CD); in ActOnCapturedRegionStart() 4336 if (CurScope) in ActOnCapturedRegionStart() [all …]
|
| H A D | SemaLookup.cpp | 3820 Scope *S = CurScope; in LookupOrCreateLabel() 3826 Res = LookupSingleName(CurScope, II, Loc, LookupLabel, NotForRedeclaration); in LookupOrCreateLabel() 3834 Scope *S = CurScope->getFnParent(); in LookupOrCreateLabel()
|
| H A D | SemaExpr.cpp | 13522 void Sema::ActOnBlockStart(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockStart() argument 13535 PushBlockScope(CurScope, Block); in ActOnBlockStart() 13537 if (CurScope) in ActOnBlockStart() 13538 PushDeclContext(CurScope, Block); in ActOnBlockStart() 13551 Scope *CurScope) { in ActOnBlockArguments() argument 13557 TypeSourceInfo *Sig = GetTypeForDeclarator(ParamInfo, CurScope); in ActOnBlockArguments() 13650 ProcessDeclAttributes(CurScope, CurBlock->TheDecl, ParamInfo); in ActOnBlockArguments() 13667 void Sema::ActOnBlockError(SourceLocation CaretLoc, Scope *CurScope) { in ActOnBlockError() argument 13680 Stmt *Body, Scope *CurScope) { in ActOnBlockStmtExpr() argument
|
| H A D | Sema.cpp | 148 CurScope(nullptr), Ident_super(nullptr), Ident___float128(nullptr) {
|
| H A D | SemaTemplate.cpp | 4369 LookupParsedName(Result, CurScope, &SS); in CheckTemplateTypeArgument()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | Parser.cpp | 59 Actions.CurScope = nullptr; in Parser() 363 Actions.CurScope = N; in EnterScope() 365 Actions.CurScope = new Scope(getCurScope(), ScopeFlags, Diags); in EnterScope() 378 Actions.CurScope = OldScope->getParent(); in ExitScope() 390 : CurScope(ManageFlags ? Self->getCurScope() : nullptr) { in ParseScopeFlags() 391 if (CurScope) { in ParseScopeFlags() 392 OldFlags = CurScope->getFlags(); in ParseScopeFlags() 393 CurScope->setFlags(ScopeFlags); in ParseScopeFlags() 400 if (CurScope) in ~ParseScopeFlags() 401 CurScope->setFlags(OldFlags); in ~ParseScopeFlags() [all …]
|
| H A D | ParseStmt.cpp | 635 Actions.ProcessDeclAttributeList(Actions.CurScope, LD, attrs); in ParseLabeledStatement()
|
| H A D | ParseDecl.cpp | 1437 Actions.ActOnReenterTemplateScope(Actions.CurScope, D); in ParseLexedAttribute() 1445 Actions.ActOnReenterFunctionContext(Actions.CurScope, D); in ParseLexedAttribute()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | Sema.h | 3861 Scope *CurScope); 3911 Scope *CurScope); 4552 Scope *CurScope); 4561 Scope *CurScope); 4639 Decl *ActOnNamespaceAliasDef(Scope *CurScope, 5620 CXXMethodDecl *CallOperator, Scope *CurScope); 5641 Scope *CurScope); 8769 ExprResult ActOnOpenMPIdExpression(Scope *CurScope, 10685 Scope *CurScope; variable 10728 Scope *getCurScope() const { return CurScope; } in getCurScope() [all …]
|
| /freebsd-12.1/contrib/llvm/utils/TableGen/ |
| H A D | FixedLenDecoderEmitter.cpp | 651 FixupList &CurScope = TableInfo.FixupStack.back(); in emitTableEntry() local 653 resolveTableFixups(Table, CurScope, Table.size()); in emitTableEntry() 654 CurScope.clear(); in emitTableEntry()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/ |
| H A D | Parser.h | 1002 Scope *CurScope; variable
|