Searched refs:TopLevelStmtDecl (Results 1 – 12 of 12) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 49 if (auto *TSD = llvm::dyn_cast<TopLevelStmtDecl>(D); in HandleTopLevelDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 5526 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 D | DeclPrinter.cpp | 87 void VisitTopLevelStmtDecl(TopLevelStmtDecl *D); 1072 void DeclPrinter::VisitTopLevelStmtDecl(TopLevelStmtDecl *D) { in VisitTopLevelStmtDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.h | 607 std::pair<std::unique_ptr<CodeGenFunction>, const TopLevelStmtDecl *> 1635 void EmitTopLevelStmt(const TopLevelStmtDecl *D);
|
| H A D | CodeGenModule.cpp | 818 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 D | Decl.h | 4414 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 D | ASTNodeTraverser.h | 490 void VisitTopLevelStmtDecl(const TopLevelStmtDecl *D) { Visit(D->getStmt()); } in VisitTopLevelStmtDecl()
|
| H A D | RecursiveASTVisitor.h | 1537 DEF_TRAVERSE_DECL(TopLevelStmtDecl, { TRY_TO(TraverseStmt(D->getStmt())); })
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 126 void VisitTopLevelStmtDecl(TopLevelStmtDecl *D); 1241 void ASTDeclWriter::VisitTopLevelStmtDecl(TopLevelStmtDecl *D) { in VisitTopLevelStmtDecl() 2704 if (isa<FileScopeAsmDecl, TopLevelStmtDecl, ObjCImplDecl>(D)) in isRequiredDecl()
|
| H A D | ASTReaderDecl.cpp | 416 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 D | ParseDecl.cpp | 5597 cast<TopLevelStmtDecl>(DeclsInGroup.back())->setSemiMissing(); in ParseTopLevelStmtDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 20415 auto *New = TopLevelStmtDecl::Create(Context, Statement); in ActOnTopLevelStmtDecl()
|