Searched refs:TopLevelStmtDecl (Results 1 – 13 of 13) sorted by relevance
| /src/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Decl.h | 4430 class TopLevelStmtDecl : public Decl, public DeclContext { 4437 TopLevelStmtDecl(DeclContext *DC, SourceLocation L, Stmt *S) in TopLevelStmtDecl() function 4443 static TopLevelStmtDecl *Create(ASTContext &C, Stmt *Statement); 4444 static TopLevelStmtDecl *CreateDeserialized(ASTContext &C, GlobalDeclID ID); 4456 static DeclContext *castToDeclContext(const TopLevelStmtDecl *D) { in castToDeclContext() 4457 return static_cast<DeclContext *>(const_cast<TopLevelStmtDecl *>(D)); in castToDeclContext() 4459 static TopLevelStmtDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 4460 return static_cast<TopLevelStmtDecl *>(const_cast<DeclContext *>(DC)); in castFromDeclContext()
|
| H A D | ASTNodeTraverser.h | 581 void VisitTopLevelStmtDecl(const TopLevelStmtDecl *D) { Visit(D->getStmt()); } in VisitTopLevelStmtDecl()
|
| H A D | RecursiveASTVisitor.h | 1592 DEF_TRAVERSE_DECL(TopLevelStmtDecl, { TRY_TO(TraverseStmt(D->getStmt())); })
|
| /src/contrib/llvm-project/clang/lib/AST/ |
| H A D | Decl.cpp | 5591 void TopLevelStmtDecl::anchor() {} in anchor() 5593 TopLevelStmtDecl *TopLevelStmtDecl::Create(ASTContext &C, Stmt *Statement) { in Create() 5600 return new (C, DC) TopLevelStmtDecl(DC, Loc, Statement); in Create() 5603 TopLevelStmtDecl *TopLevelStmtDecl::CreateDeserialized(ASTContext &C, in CreateDeserialized() 5606 TopLevelStmtDecl(/*DC=*/nullptr, SourceLocation(), /*S=*/nullptr); in CreateDeserialized() 5609 SourceRange TopLevelStmtDecl::getSourceRange() const { in getSourceRange() 5613 void TopLevelStmtDecl::setStmt(Stmt *S) { in setStmt()
|
| H A D | DeclPrinter.cpp | 76 void VisitTopLevelStmtDecl(TopLevelStmtDecl *D); 1014 void DeclPrinter::VisitTopLevelStmtDecl(TopLevelStmtDecl *D) { in VisitTopLevelStmtDecl()
|
| /src/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | IncrementalParser.cpp | 49 if (auto *TSD = llvm::dyn_cast<TopLevelStmtDecl>(D); in HandleTopLevelDecl()
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenModule.h | 620 std::pair<std::unique_ptr<CodeGenFunction>, const TopLevelStmtDecl *> 1733 void EmitTopLevelStmt(const TopLevelStmtDecl *D);
|
| H A D | CodeGenModule.cpp | 860 const TopLevelStmtDecl *TLSD = GlobalTopLevelStmtBlockInFlight.second; in Release() 6818 void CodeGenModule::EmitTopLevelStmt(const TopLevelStmtDecl *D) { in EmitTopLevelStmt() 7064 EmitTopLevelStmt(cast<TopLevelStmtDecl>(D)); in EmitTopLevelDecl()
|
| /src/contrib/llvm-project/clang/lib/Serialization/ |
| H A D | ASTWriterDecl.cpp | 129 void VisitTopLevelStmtDecl(TopLevelStmtDecl *D); 1279 void ASTDeclWriter::VisitTopLevelStmtDecl(TopLevelStmtDecl *D) { in VisitTopLevelStmtDecl() 2788 if (isa<FileScopeAsmDecl, TopLevelStmtDecl, ObjCImplDecl>(D)) in isRequiredDecl()
|
| H A D | ASTReaderDecl.cpp | 411 void VisitTopLevelStmtDecl(TopLevelStmtDecl *D); 1758 void ASTDeclReader::VisitTopLevelStmtDecl(TopLevelStmtDecl *D) { in VisitTopLevelStmtDecl() 3198 if (isa<FileScopeAsmDecl, TopLevelStmtDecl, ObjCProtocolDecl, ObjCImplDecl, in isConsumerInterestedIn() 4058 D = TopLevelStmtDecl::CreateDeserialized(Context, ID); in ReadDeclRecord()
|
| /src/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 5970 TopLevelStmtDecl *TLSD = Actions.ActOnStartTopLevelStmtDecl(getCurScope()); in ParseTopLevelStmtDecl() 5990 TopLevelStmtDecl *D = Actions.ActOnStartTopLevelStmtDecl(getCurScope()); in ParseTopLevelStmtDecl()
|
| /src/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 3784 TopLevelStmtDecl *ActOnStartTopLevelStmtDecl(Scope *S); 3785 void ActOnFinishTopLevelStmtDecl(TopLevelStmtDecl *D, Stmt *Statement);
|
| /src/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 20089 TopLevelStmtDecl *Sema::ActOnStartTopLevelStmtDecl(Scope *S) { in ActOnStartTopLevelStmtDecl() 20090 auto *New = TopLevelStmtDecl::Create(Context, /*Statement=*/nullptr); in ActOnStartTopLevelStmtDecl() 20098 void Sema::ActOnFinishTopLevelStmtDecl(TopLevelStmtDecl *D, Stmt *Statement) { in ActOnFinishTopLevelStmtDecl()
|