Home
last modified time | relevance | path

Searched refs:TranslationUnitDecl (Results 1 – 25 of 92) sorted by relevance

1234

/src/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, in checkASTDecl()
216 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); in checkASTDecl()
235 class CallGraphDumper : public Checker< check::ASTDecl<TranslationUnitDecl> > {
237 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager& mgr, in checkASTDecl()
240 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); in checkASTDecl()
268 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
H A DErrnoModeling.cpp53 : public Checker<check::ASTDecl<TranslationUnitDecl>, check::BeginFunction,
56 void checkASTDecl(const TranslationUnitDecl *D, AnalysisManager &Mgr,
76 void ErrnoModeling::checkASTDecl(const TranslationUnitDecl *D, in REGISTER_TRAIT_WITH_PROGRAMSTATE()
H A DPaddingChecker.cpp33 class PaddingChecker : public Checker<check::ASTDecl<TranslationUnitDecl>> {
41 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
65 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DCloneChecker.cpp45 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU,
67 void CloneChecker::checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
H A DUnixAPIChecker.cpp46 : public Checker<check::PreCall, check::ASTDecl<TranslationUnitDecl>> {
66 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager &Mgr,
137 void UnixAPIMisuseChecker::checkASTDecl(const TranslationUnitDecl *TU, in checkASTDecl()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLambdaCapturesChecker.cpp24 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
31 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
55 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DNoUncountedMembersChecker.cpp29 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
41 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
65 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DUncountedCallArgsChecker.cpp29 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
39 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
70 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DUncountedLocalVarsChecker.cpp107 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
115 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
186 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DRefCntblBaseVirtualDtorChecker.cpp125 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
136 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
197 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
/src/contrib/llvm-project/clang/include/clang/Interpreter/
H A DPartialTranslationUnit.h25 class TranslationUnitDecl; variable
30 TranslationUnitDecl *TUPart = nullptr;
/src/contrib/llvm-project/clang/include/clang/AST/
H A DASTImporterSharedState.h25 class TranslationUnitDecl; variable
51 ASTImporterSharedState(TranslationUnitDecl &ToTU) { in ASTImporterSharedState()
H A DASTMutationListener.h39 class TranslationUnitDecl; variable
174 virtual void AddedAnonymousNamespace(const TranslationUnitDecl *TU, in AddedAnonymousNamespace()
H A DDecl.h82 class TranslationUnitDecl : public Decl,
84 public Redeclarable<TranslationUnitDecl> {
85 using redeclarable_base = Redeclarable<TranslationUnitDecl>;
87 TranslationUnitDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
91 TranslationUnitDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
95 TranslationUnitDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
105 explicit TranslationUnitDecl(ASTContext &ctx);
125 static TranslationUnitDecl *Create(ASTContext &C);
130 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) { in castToDeclContext()
131 return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D)); in castToDeclContext()
[all …]
H A DASTImporterLookupTable.h62 ASTImporterLookupTable(TranslationUnitDecl &TU);
H A DASTImporter.h48 class TranslationUnitDecl; variable
365 TranslationUnitDecl *GetFromTU(Decl *ToD);
/src/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp530 llvm::StringRef NewName, Decl *TranslationUnitDecl) { in createRenameAtomicChanges() argument
531 RenameLocFinder Finder(USRs, TranslationUnitDecl->getASTContext()); in createRenameAtomicChanges()
532 Finder.TraverseDecl(TranslationUnitDecl); in createRenameAtomicChanges()
535 TranslationUnitDecl->getASTContext().getSourceManager(); in createRenameAtomicChanges()
560 if (!llvm::isa<clang::TranslationUnitDecl>( in createRenameAtomicChanges()
578 SM, TranslationUnitDecl->getASTContext().getLangOpts()); in createRenameAtomicChanges()
/src/contrib/llvm-project/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h36 class TranslationUnitDecl; variable
209 void lazyInitImporterSharedSt(TranslationUnitDecl *ToTU);
223 llvm::DenseMap<TranslationUnitDecl *, std::unique_ptr<ASTImporter>>;
/src/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
H A DUSRLocFinder.h39 llvm::StringRef NewName, Decl *TranslationUnitDecl);
/src/contrib/llvm-project/clang/include/clang/Sema/
H A DAnalysisBasedWarnings.h104 void IssueWarnings(TranslationUnitDecl *D);
H A DSemaHLSL.h53 void DiagnoseAvailabilityViolations(TranslationUnitDecl *TU);
/src/contrib/llvm-project/clang/lib/Frontend/
H A DMultiplexConsumer.cpp24 class TranslationUnitDecl;
129 void AddedAnonymousNamespace(const TranslationUnitDecl *,
270 const TranslationUnitDecl *TU, NamespaceDecl *AnonNamespace) { in AddedAnonymousNamespace()
H A DASTMerge.cpp60 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); in ExecuteAction()
/src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h34 class TranslationUnitDecl; variable
444 void runCheckersOnEndOfTranslationUnit(const TranslationUnitDecl *TU,
536 CheckerFn<void (const TranslationUnitDecl *, AnalysisManager &,
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DBugSuppression.cpp159 if (Parent == nullptr || isa<TranslationUnitDecl>(Parent)) in isSuppressed()

1234