Home
last modified time | relevance | path

Searched refs:TopLevelStmtDecl (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.cpp49 if (auto *TSD = llvm::dyn_cast<TopLevelStmtDecl>(D); in HandleTopLevelDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp5526 void TopLevelStmtDecl::anchor() {} in anchor()
5528 TopLevelStmtDecl *TopLevelStmtDecl::Create(ASTContext &C, Stmt *Statement) { in Create()
5536 return new (C, DC) TopLevelStmtDecl(DC, BeginLoc, Statement); in Create()
5539 TopLevelStmtDecl *TopLevelStmtDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized()
5542 TopLevelStmtDecl(/*DC=*/nullptr, SourceLocation(), /*S=*/nullptr); in CreateDeserialized()
5545 SourceRange TopLevelStmtDecl::getSourceRange() const { in getSourceRange()
H A DDeclPrinter.cpp87 void VisitTopLevelStmtDecl(TopLevelStmtDecl *D);
1072 void DeclPrinter::VisitTopLevelStmtDecl(TopLevelStmtDecl *D) { in VisitTopLevelStmtDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.h607 std::pair<std::unique_ptr<CodeGenFunction>, const TopLevelStmtDecl *>
1635 void EmitTopLevelStmt(const TopLevelStmtDecl *D);
H A DCodeGenModule.cpp818 const TopLevelStmtDecl *TLSD = GlobalTopLevelStmtBlockInFlight.second; in Release()
6672 void CodeGenModule::EmitTopLevelStmt(const TopLevelStmtDecl *D) { in EmitTopLevelStmt()
6918 EmitTopLevelStmt(cast<TopLevelStmtDecl>(D)); in EmitTopLevelDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h4414 class TopLevelStmtDecl : public Decl {
4421 TopLevelStmtDecl(DeclContext *DC, SourceLocation L, Stmt *S) in TopLevelStmtDecl() function
4427 static TopLevelStmtDecl *Create(ASTContext &C, Stmt *Statement);
4428 static TopLevelStmtDecl *CreateDeserialized(ASTContext &C, unsigned ID);
H A DASTNodeTraverser.h490 void VisitTopLevelStmtDecl(const TopLevelStmtDecl *D) { Visit(D->getStmt()); } in VisitTopLevelStmtDecl()
H A DRecursiveASTVisitor.h1537 DEF_TRAVERSE_DECL(TopLevelStmtDecl, { TRY_TO(TraverseStmt(D->getStmt())); })
/freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp126 void VisitTopLevelStmtDecl(TopLevelStmtDecl *D);
1241 void ASTDeclWriter::VisitTopLevelStmtDecl(TopLevelStmtDecl *D) { in VisitTopLevelStmtDecl()
2704 if (isa<FileScopeAsmDecl, TopLevelStmtDecl, ObjCImplDecl>(D)) in isRequiredDecl()
H A DASTReaderDecl.cpp416 void VisitTopLevelStmtDecl(TopLevelStmtDecl *D);
1766 void ASTDeclReader::VisitTopLevelStmtDecl(TopLevelStmtDecl *D) { in VisitTopLevelStmtDecl()
3221 if (isa<FileScopeAsmDecl, TopLevelStmtDecl, ObjCProtocolDecl, ObjCImplDecl, in isConsumerInterestedIn()
4034 D = TopLevelStmtDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
/freebsd-14.2/contrib/llvm-project/clang/lib/Parse/
H A DParseDecl.cpp5597 cast<TopLevelStmtDecl>(DeclsInGroup.back())->setSemiMissing(); in ParseTopLevelStmtDecl()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp20415 auto *New = TopLevelStmtDecl::Create(Context, Statement); in ActOnTopLevelStmtDecl()