Home
last modified time | relevance | path

Searched refs:BlockScope (Results 1 – 15 of 15) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DScope.cpp43 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags()
72 if (flags & BlockScope) BlockParent = this; in setFlags()
212 {BlockScope, "BlockScope"}, in dumpImpl()
H A DSema.cpp2176 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope() argument
2178 BlockScope, Block)); in PushBlockScope()
H A DSemaDecl.cpp16254 Scope *BlockScope = S; in ImplicitlyDefineFunction() local
16255 while (!BlockScope->isCompoundStmtScope() && BlockScope->getParent()) in ImplicitlyDefineFunction()
16256 BlockScope = BlockScope->getParent(); in ImplicitlyDefineFunction()
16262 Scope *ContextScope = BlockScope; in ImplicitlyDefineFunction()
16277 PushOnScopeChains(ExternCPrev, BlockScope, /*AddToContext*/false); in ImplicitlyDefineFunction()
16367 FunctionDecl *FD = cast<FunctionDecl>(ActOnDeclarator(BlockScope, D)); in ImplicitlyDefineFunction()
H A DSemaExprCXX.cpp850 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h78 std::vector<Block> BlockScope; variable
168 assert(BlockScope.empty() && CurAbbrevs.empty() && "Block imbalance"); in ~BitstreamWriter()
381 BlockScope.emplace_back(OldCodeSize, BlockSizeWordIndex); in EnterSubblock()
382 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubblock()
391 assert(!BlockScope.empty() && "Block scope imbalance!"); in ExitBlock()
392 const Block &B = BlockScope.back(); in ExitBlock()
409 BlockScope.pop_back(); in ExitBlock()
H A DBitstreamReader.h373 SmallVector<Block, 8> BlockScope;
518 if (BlockScope.empty()) return true; in ReadBlockEnd()
530 CurCodeSize = BlockScope.back().PrevCodeSize; in popBlockScope()
532 CurAbbrevs = std::move(BlockScope.back().PrevAbbrevs); in popBlockScope()
533 BlockScope.pop_back(); in popBlockScope()
374 SmallVector<Block, 8> BlockScope; global() variable
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScope.h75 BlockScope = 0x40, enumerator
267 bool isBlockScope() const { return Flags & BlockScope; } in isBlockScope()
483 Scope::BlockScope | Scope::TemplateParamScope | in isSwitchScope()
552 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope |
H A DScopeInfo.h796 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo() argument
798 TheScope(BlockScope) { in BlockScopeInfo()
H A DSema.h720 void PushBlockScope(Scope *BlockScope, BlockDecl *Block);
/freebsd/contrib/llvm-project/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp28 BlockScope.push_back(Block(CurCodeSize)); in EnterSubBlock()
29 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubBlock()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.h558 template <class Emitter> class BlockScope final : public LocalScope<Emitter> {
560 BlockScope(Compiler<Emitter> *Ctx) : LocalScope<Emitter>(Ctx) {} in BlockScope() function
H A DCompiler.cpp1803 BlockScope<Emitter> BS(this); in VisitArrayInitLoopExpr()
3184 BlockScope<Emitter> BS(this); in VisitStmtExpr()
4235 BlockScope<Emitter> Scope(this); in visitCompoundStmt()
4295 BlockScope<Emitter> IfScope(this); in visitIfStmt()
4742 BlockScope<Emitter> Scope(this); in visitFunc()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp3788 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression() local
3867 BlockScope.Exit(); in ParseBlockLiteralExpression()
H A DParseExprCXX.cpp1608 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
H A DParseDecl.cpp3726 Scope::BlockScope | in ParseDeclarationSpecifiers()