Home
last modified time | relevance | path

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

/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.h374 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 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.cpp2342 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope() argument
2344 BlockScope, Block)); in PushBlockScope()
H A DSemaDecl.cpp16735 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 DSemaExprCXX.cpp837 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DScope.h75 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 DScopeInfo.h802 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo() argument
804 TheScope(BlockScope) { in BlockScopeInfo()
H A DSema.h1021 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/ByteCode/
H A DCompiler.h618 template <class Emitter> class BlockScope final : public LocalScope<Emitter> {
620 BlockScope(Compiler<Emitter> *Ctx, ScopeKind Kind = ScopeKind::Block)
H A DCompiler.cpp2349 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 DParseExpr.cpp3268 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression() local
3348 BlockScope.Exit(); in ParseBlockLiteralExpression()
H A DParseExprCXX.cpp1467 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
H A DParseDecl.cpp3508 Scope::BlockScope | in ParseDeclarationSpecifiers()