Searched refs:TopLevelStmtDecl (Results 1 – 13 of 13) sorted by relevance
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Decl.h | 4543 class TopLevelStmtDecl : public Decl, public DeclContext { 4550 TopLevelStmtDecl(DeclContext *DC, SourceLocation L, Stmt *S) in TopLevelStmtDecl() function 4556 static TopLevelStmtDecl *Create(ASTContext &C, Stmt *Statement); 4557 static TopLevelStmtDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID); 4569 static DeclContext *castToDeclContext(const TopLevelStmtDecl *D) { in castToDeclContext() 4570 return static_cast<DeclContext *>(const_cast<TopLevelStmtDecl *>(D)); in castToDeclContext() 4572 static TopLevelStmtDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 4573 return static_cast<TopLevelStmtDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
|
| H A D | ASTNodeTraverser.h | 611 void VisitTopLevelStmtDecl(const TopLevelStmtDecl *D) { Visit(D->getStmt()); } in VisitTopLevelStmtDecl()
|
| H A D | RecursiveASTVisitor.h | 1622 DEF_TRAVERSE_DECL(TopLevelStmtDecl, { TRY_TO(TraverseStmt(D->getStmt())); })
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 5743 void TopLevelStmtDecl::anchor() {} in anchor() 5745 TopLevelStmtDecl *TopLevelStmtDecl::Create(ASTContext &C, Stmt *Statement) { in Create() 5752 return new (C, DC) TopLevelStmtDecl(DC, Loc, Statement); in Create() 5755 TopLevelStmtDecl *TopLevelStmtDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 5758 TopLevelStmtDecl(/*DC=*/nullptr, SourceLocation(), /*S=*/nullptr); in CreateDeserialized() 5761 SourceRange TopLevelStmtDecl::getSourceRange() const { in getSourceRange() 5765 void TopLevelStmtDecl::setStmt(Stmt *S) { in setStmt()
|
| H A D | DeclPrinter.cpp | 77 void VisitTopLevelStmtDecl(TopLevelStmtDecl *D); 1050 void DeclPrinter::VisitTopLevelStmtDecl(TopLevelStmtDecl *D) { in VisitTopLevelStmtDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.h | 669 std::pair<std::unique_ptr<CodeGenFunction>, const TopLevelStmtDecl *> 1879 void EmitTopLevelStmt(const TopLevelStmtDecl *D);
|
| H A D | CodeGenModule.cpp | 968 const TopLevelStmtDecl *TLSD = GlobalTopLevelStmtBlockInFlight.second; in Release() 7143 void CodeGenModule::EmitTopLevelStmt(const TopLevelStmtDecl *D) { in EmitTopLevelStmt() 7390 EmitTopLevelStmt(cast<TopLevelStmtDecl>(D)); in EmitTopLevelDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | Interpreter.cpp | 264 if (auto *TLSD = llvm::dyn_cast<TopLevelStmtDecl>(D)) in HandleTopLevelDecl()
|
| /freebsd/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 141 void VisitTopLevelStmtDecl(TopLevelStmtDecl *D); 1443 void ASTDeclWriter::VisitTopLevelStmtDecl(TopLevelStmtDecl *D) { in VisitTopLevelStmtDecl() 3029 if (isa<FileScopeAsmDecl, TopLevelStmtDecl, ObjCImplDecl>(D)) in isRequiredDecl()
|
| H A D | ASTReaderDecl.cpp | 402 void VisitTopLevelStmtDecl(TopLevelStmtDecl *D); 1769 void ASTDeclReader::VisitTopLevelStmtDecl(TopLevelStmtDecl *D) { in VisitTopLevelStmtDecl() 3246 if (isa<FileScopeAsmDecl, TopLevelStmtDecl, ObjCProtocolDecl, ObjCImplDecl, in isConsumerInterestedIn() 4135 D = TopLevelStmtDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 5696 TopLevelStmtDecl *TLSD = Actions.ActOnStartTopLevelStmtDecl(getCurScope()); in ParseTopLevelStmtDecl() 5716 TopLevelStmtDecl *D = Actions.ActOnStartTopLevelStmtDecl(getCurScope()); in ParseTopLevelStmtDecl()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 4198 TopLevelStmtDecl *ActOnStartTopLevelStmtDecl(Scope *S); 4199 void ActOnFinishTopLevelStmtDecl(TopLevelStmtDecl *D, Stmt *Statement);
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 20571 TopLevelStmtDecl *Sema::ActOnStartTopLevelStmtDecl(Scope *S) { in ActOnStartTopLevelStmtDecl() 20572 auto *New = TopLevelStmtDecl::Create(Context, /*Statement=*/nullptr); in ActOnStartTopLevelStmtDecl() 20580 void Sema::ActOnFinishTopLevelStmtDecl(TopLevelStmtDecl *D, Stmt *Statement) { in ActOnFinishTopLevelStmtDecl()
|