Searched refs:TranslationUnitDecl (Results 1 - 25 of 78) sorted by relevance

1234

/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTImporterSharedState.h26 class TranslationUnitDecl;
49 ASTImporterSharedState(TranslationUnitDecl &ToTU) {
H A DASTImporterLookupTable.h63 ASTImporterLookupTable(TranslationUnitDecl &TU);
H A DASTImporter.h48 class TranslationUnitDecl;
394 TranslationUnitDecl *GetFromTU(Decl *ToD);
H A DDecl.h82 class TranslationUnitDecl : public Decl, public DeclContext { class in namespace:clang
89 explicit TranslationUnitDecl(ASTContext &ctx);
99 static TranslationUnitDecl *Create(ASTContext &C);
104 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) {
105 return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D));
107 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) {
108 return static_cast<TranslationUnitDecl *>(const_cast<DeclContext*>(DC));
113 /// TranslationUnitDecl.
123 PragmaCommentDecl(TranslationUnitDecl *TU, SourceLocation CommentLoc,
130 static PragmaCommentDecl *Create(const ASTContext &C, TranslationUnitDecl *D
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
H A DUSRLocFinder.h34 /// \param TranslationUnitDecl The translation unit declaration.
39 llvm::StringRef NewName, Decl *TranslationUnitDecl);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DBuildTree.h23 const clang::TranslationUnitDecl &TU);
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDebugCheckers.cpp211 class CallGraphViewer : public Checker< check::ASTDecl<TranslationUnitDecl> > {
213 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager& mgr,
216 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU));
235 class CallGraphDumper : public Checker< check::ASTDecl<TranslationUnitDecl> > {
237 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager& mgr,
240 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU));
268 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU,
H A DCloneChecker.cpp44 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU,
66 void CloneChecker::checkEndOfTranslationUnit(const TranslationUnitDecl *TU,
H A DPaddingChecker.cpp33 class PaddingChecker : public Checker<check::ASTDecl<TranslationUnitDecl>> {
41 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR,
65 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD));
H A DCheckerDocumentation.cpp212 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU,
H A DLLVMConventionsChecker.cpp46 return isa<TranslationUnitDecl>(ND->getDeclContext());
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DNoUncountedMembersChecker.cpp29 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
41 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR,
65 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD));
H A DRefCntblBaseVirtualDtorChecker.cpp23 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
34 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR,
58 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD));
H A DUncountedCallArgsChecker.cpp29 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
37 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR,
61 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD));
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp511 llvm::StringRef NewName, Decl *TranslationUnitDecl) {
512 RenameLocFinder Finder(USRs, TranslationUnitDecl->getASTContext());
513 Finder.TraverseDecl(TranslationUnitDecl);
516 TranslationUnitDecl->getASTContext().getSourceManager();
541 if (!llvm::isa<clang::TranslationUnitDecl>(
559 SM, TranslationUnitDecl->getASTContext().getLangOpts());
510 createRenameAtomicChanges(llvm::ArrayRef<std::string> USRs, llvm::StringRef NewName, Decl *TranslationUnitDecl) argument
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h35 class TranslationUnitDecl;
200 void lazyInitImporterSharedSt(TranslationUnitDecl *ToTU);
214 llvm::DenseMap<TranslationUnitDecl *, std::unique_ptr<ASTImporter>>;
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTMerge.cpp60 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
H A DASTConsumers.cpp45 TranslationUnitDecl *D = Context.getTranslationUnitDecl();
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Core/
H A DLookup.cpp203 isa<TranslationUnitDecl>(FromDecl->getDeclContext());
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DASTImporterLookupTable.cpp70 ASTImporterLookupTable::ASTImporterLookupTable(TranslationUnitDecl &TU) {
H A DASTDumper.cpp219 const ASTContext &Ctx = cast<TranslationUnitDecl>(DC)->getASTContext();
H A DDecl.cpp103 TranslationUnitDecl::TranslationUnitDecl(ASTContext &ctx) function in class:TranslationUnitDecl
718 !isa<TranslationUnitDecl>(DC);
2914 const TranslationUnitDecl *tunit =
2915 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext());
2922 const TranslationUnitDecl *TUnit =
2923 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext());
2963 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext())
4599 void TranslationUnitDecl::anchor() {}
4601 TranslationUnitDecl *TranslationUnitDec
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp42 if (!isa<TranslationUnitDecl>(DC)) {
424 TranslationUnitDecl *TU = getASTContext().getTranslationUnitDecl();
510 TranslationUnitDecl *TU = getASTContext().getTranslationUnitDecl();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h35 class TranslationUnitDecl;
445 void runCheckersOnEndOfTranslationUnit(const TranslationUnitDecl *TU,
540 CheckerFn<void (const TranslationUnitDecl *, AnalysisManager &,
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.h122 void traverse(TranslationUnitDecl *TU);

Completed in 152 milliseconds

1234