Searched refs:BlockScope (Results 1 – 15 of 15) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/include/llvm/Bitstream/ |
| H A D | BitstreamWriter.h | 78 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 D | BitstreamReader.h | 374 SmallVector<Block, 8> BlockScope; variable 519 if (BlockScope.empty()) return true; in ReadBlockEnd() 531 CurCodeSize = BlockScope.back().PrevCodeSize; in popBlockScope() 533 CurAbbrevs = std::move(BlockScope.back().PrevAbbrevs); in popBlockScope() 534 BlockScope.pop_back(); in popBlockScope()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | Scope.cpp | 43 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags() 72 if (flags & BlockScope) BlockParent = this; in setFlags() 212 {BlockScope, "BlockScope"}, in dumpImpl()
|
| H A D | Sema.cpp | 2342 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope() argument 2344 BlockScope, Block)); in PushBlockScope()
|
| H A D | SemaDecl.cpp | 16735 Scope *BlockScope = S; in ImplicitlyDefineFunction() local 16736 while (!BlockScope->isCompoundStmtScope() && BlockScope->getParent()) in ImplicitlyDefineFunction() 16737 BlockScope = BlockScope->getParent(); in ImplicitlyDefineFunction() 16743 Scope *ContextScope = BlockScope; in ImplicitlyDefineFunction() 16758 PushOnScopeChains(ExternCPrev, BlockScope, /*AddToContext*/false); in ImplicitlyDefineFunction() 16848 FunctionDecl *FD = cast<FunctionDecl>(ActOnDeclarator(BlockScope, D)); in ImplicitlyDefineFunction()
|
| H A D | SemaExprCXX.cpp | 837 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Scope.h | 75 BlockScope = 0x40, enumerator 272 bool isBlockScope() const { return Flags & BlockScope; } in isBlockScope() 499 Scope::BlockScope | Scope::TemplateParamScope | in isSwitchScope() 572 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope |
|
| H A D | ScopeInfo.h | 802 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo() argument 804 TheScope(BlockScope) { in BlockScopeInfo()
|
| H A D | Sema.h | 1021 void PushBlockScope(Scope *BlockScope, BlockDecl *Block);
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitstream/Reader/ |
| H A D | BitstreamReader.cpp | 28 BlockScope.push_back(Block(CurCodeSize)); in EnterSubBlock() 29 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubBlock()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Compiler.h | 618 template <class Emitter> class BlockScope final : public LocalScope<Emitter> { 620 BlockScope(Compiler<Emitter> *Ctx, ScopeKind Kind = ScopeKind::Block)
|
| H A D | Compiler.cpp | 2349 BlockScope<Emitter> BS(this); in VisitArrayInitLoopExpr() 4068 BlockScope<Emitter> BS(this); in VisitStmtExpr() 4956 BlockScope<Emitter> CallScope(this, ScopeKind::Call); in VisitCallExpr() 5312 BlockScope<Emitter> Scope(this); in visitCompoundStmt() 5905 BlockScope<Emitter> Scope(this); in compileConstructor()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseExpr.cpp | 3268 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression() local 3348 BlockScope.Exit(); in ParseBlockLiteralExpression()
|
| H A D | ParseExprCXX.cpp | 1467 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
|
| H A D | ParseDecl.cpp | 3508 Scope::BlockScope | in ParseDeclarationSpecifiers()
|