Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DScope.cpp42 if ((Flags & (FnScope | ClassScope | BlockScope | TemplateParamScope | in setFlags()
70 if (flags & BlockScope) BlockParent = this; in setFlags()
209 {BlockScope, "BlockScope"}, in dumpImpl()
H A DSema.cpp2165 void Sema::PushBlockScope(Scope *BlockScope, BlockDecl *Block) { in PushBlockScope() argument
2167 BlockScope, Block)); in PushBlockScope()
H A DSemaDecl.cpp16460 Scope *BlockScope = S; in ImplicitlyDefineFunction() local
16461 while (!BlockScope->isCompoundStmtScope() && BlockScope->getParent()) in ImplicitlyDefineFunction()
16462 BlockScope = BlockScope->getParent(); in ImplicitlyDefineFunction()
16468 Scope *ContextScope = BlockScope; in ImplicitlyDefineFunction()
16483 PushOnScopeChains(ExternCPrev, BlockScope, /*AddToContext*/false); in ImplicitlyDefineFunction()
16573 FunctionDecl *FD = cast<FunctionDecl>(ActOnDeclarator(BlockScope, D)); in ImplicitlyDefineFunction()
H A DSemaExprCXX.cpp858 (Scope::FnScope | Scope::ClassScope | Scope::BlockScope | in ActOnCXXThrow()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Bitstream/
H A DBitstreamWriter.h67 std::vector<Block> BlockScope; variable
120 assert(BlockScope.empty() && CurAbbrevs.empty() && "Block imbalance"); in ~BitstreamWriter()
308 BlockScope.emplace_back(OldCodeSize, BlockSizeWordIndex); in EnterSubblock()
309 BlockScope.back().PrevAbbrevs.swap(CurAbbrevs); in EnterSubblock()
318 assert(!BlockScope.empty() && "Block scope imbalance!"); in ExitBlock()
319 const Block &B = BlockScope.back(); in ExitBlock()
336 BlockScope.pop_back(); in ExitBlock()
H A DBitstreamReader.h373 SmallVector<Block, 8> BlockScope; variable
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()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DScope.h72 BlockScope = 0x40, enumerator
251 bool isBlockScope() const { return Flags & BlockScope; } in isBlockScope()
464 Scope::BlockScope | Scope::TemplateParamScope | in isSwitchScope()
H A DScopeInfo.h779 BlockScopeInfo(DiagnosticsEngine &Diag, Scope *BlockScope, BlockDecl *Block) in BlockScopeInfo() argument
781 TheScope(BlockScope) { in BlockScopeInfo()
H A DSema.h1995 void PushBlockScope(Scope *BlockScope, BlockDecl *Block);
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeStmtGen.cpp180 BlockScope<Emitter> Scope(this); in visitFunc()
310 BlockScope<Emitter> Scope(this); in visitCompoundStmt()
367 BlockScope<Emitter> IfScope(this); in visitIfStmt()
H A DByteCodeExprGen.h439 template <class Emitter> class BlockScope final : public AutoScope<Emitter> {
441 BlockScope(ByteCodeExprGen<Emitter> *Ctx) : AutoScope<Emitter>(Ctx) {} in BlockScope() function
H A DByteCodeExprGen.cpp1079 BlockScope<Emitter> BS(this); in VisitArrayInitLoopExpr()
/freebsd-14.2/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-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseExpr.cpp3687 ParseScope BlockScope(this, Scope::BlockScope | Scope::FnScope | in ParseBlockLiteralExpression() local
3766 BlockScope.Exit(); in ParseBlockLiteralExpression()
H A DParseExprCXX.cpp1520 unsigned ScopeFlags = Scope::BlockScope | Scope::FnScope | Scope::DeclScope | in ParseLambdaExpressionAfterIntroducer()
H A DParseDecl.cpp3457 Scope::BlockScope | in ParseDeclarationSpecifiers()