Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h67 std::vector<Block> BlockScope; variable
119 assert(BlockScope.empty() && CurAbbrevs.empty() && "Block imbalance"); in ~BitstreamWriter()
294 BlockScope.emplace_back(OldCodeSize, BlockSizeWordIndex); in EnterSubblock()
295 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubblock()
304 assert(!BlockScope.empty() && "Block scope imbalance!"); in ExitBlock()
305 const Block &B = BlockScope.back(); in ExitBlock()
322 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()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DScope.cpp42 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags()
70 if (flags & BlockScope) BlockParent = this; in setFlags()
207 {BlockScope, "BlockScope"}, in dumpImpl()
H A DSema.cpp2123 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope() argument
2125 BlockScope, Block)); in PushBlockScope()
H A DSemaDecl.cpp15868 Scope *BlockScope = S; in ImplicitlyDefineFunction() local
15869 while (!BlockScope->isCompoundStmtScope() && BlockScope->getParent()) in ImplicitlyDefineFunction()
15870 BlockScope = BlockScope->getParent(); in ImplicitlyDefineFunction()
15872 Scope *ContextScope = BlockScope; in ImplicitlyDefineFunction()
15885 PushOnScopeChains(ExternCPrev, BlockScope, /*AddToContext*/false); in ImplicitlyDefineFunction()
15975 FunctionDecl *FD = cast<FunctionDecl>(ActOnDeclarator(BlockScope, D)); in ImplicitlyDefineFunction()
H A DSemaExprCXX.cpp851 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DScope.h72 BlockScope = 0x40, enumerator
246 bool isBlockScope() const { return Flags & BlockScope; } in isBlockScope()
459 Scope::BlockScope | Scope::TemplateParamScope | in isSwitchScope()
H A DScopeInfo.h767 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo() argument
769 TheScope(BlockScope) { in BlockScopeInfo()
H A DSema.h1952 void PushBlockScope(Scope *BlockScope, BlockDecl *Block);
/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp198 BlockScope<Emitter> Scope(this); in visitCompoundStmt()
255 BlockScope<Emitter> IfScope(this); in visitIfStmt()
H A DByteCodeExprGen.h325 template <class Emitter> class BlockScope final : public LocalScope<Emitter> {
327 BlockScope(ByteCodeExprGen<Emitter> *Ctx) : LocalScope<Emitter>(Ctx) {} in BlockScope() function
/openbsd-src/gnu/llvm/llvm/lib/Bitstream/Reader/
H A DBitstreamReader.cpp28 BlockScope.push_back(Block(CurCodeSize)); in EnterSubBlock()
29 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubBlock()
/openbsd-src/gnu/llvm/clang/lib/Parse/
H A DParseExpr.cpp3567 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression() local
3646 BlockScope.Exit(); in ParseBlockLiteralExpression()
H A DParseExprCXX.cpp1512 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
H A DParseDecl.cpp3305 Scope::BlockScope | in ParseDeclarationSpecifiers()