Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/clang/lib/Interpreter/
H A DIncrementalParser.h28 class TranslationUnitDecl; variable
56 virtual llvm::Expected<TranslationUnitDecl *> Parse(llvm::StringRef Input);
58 void CleanUpPTU(TranslationUnitDecl *MostRecentTU);
61 llvm::Expected<TranslationUnitDecl *> ParseOrWrapTopLevelDecl();
H A DIncrementalParser.cpp40 llvm::Expected<TranslationUnitDecl *>
98 llvm::Expected<TranslationUnitDecl *>
155 void IncrementalParser::CleanUpPTU(TranslationUnitDecl *MostRecentTU) { in CleanUpPTU()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMmapWriteExecChecker.cpp30 : public Checker<check::ASTDecl<TranslationUnitDecl>, check::PreCall> {
42 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager &Mgr,
48 void MmapWriteExecChecker::checkASTDecl(const TranslationUnitDecl *TU, in checkASTDecl()
H A DErrnoModeling.cpp51 : public Checker<check::ASTDecl<TranslationUnitDecl>, check::BeginFunction,
54 void checkASTDecl(const TranslationUnitDecl *D, AnalysisManager &Mgr,
74 void ErrnoModeling::checkASTDecl(const TranslationUnitDecl *D, in REGISTER_TRAIT_WITH_PROGRAMSTATE()
H A DPaddingChecker.cpp30 class PaddingChecker : public Checker<check::ASTDecl<TranslationUnitDecl>> {
38 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
63 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Interpreter/
H A DPartialTranslationUnit.h25 class TranslationUnitDecl; variable
30 TranslationUnitDecl *TUPart = nullptr;
/freebsd/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.h102 class TranslationUnitDecl : public Decl,
104 public Redeclarable<TranslationUnitDecl> {
105 using redeclarable_base = Redeclarable<TranslationUnitDecl>;
107 TranslationUnitDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
111 TranslationUnitDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
115 TranslationUnitDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
125 explicit TranslationUnitDecl(ASTContext &ctx);
145 static TranslationUnitDecl *Create(ASTContext &C);
150 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) { in castToDeclContext()
151 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);
/freebsd/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp529 llvm::StringRef NewName, Decl *TranslationUnitDecl) { in createRenameAtomicChanges() argument
530 RenameLocFinder Finder(USRs, TranslationUnitDecl->getASTContext()); in createRenameAtomicChanges()
531 Finder.TraverseDecl(TranslationUnitDecl); in createRenameAtomicChanges()
534 TranslationUnitDecl->getASTContext().getSourceManager(); in createRenameAtomicChanges()
559 if (!llvm::isa<clang::TranslationUnitDecl>( in createRenameAtomicChanges()
577 SM, TranslationUnitDecl->getASTContext().getLangOpts()); in createRenameAtomicChanges()
/freebsd/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>>;
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DPtrTypesSemantics.h27 class TranslationUnitDecl; variable
82 void visitTranslationUnitDecl(const TranslationUnitDecl *);
H A DForwardDeclChecker.cpp29 class ForwardDeclChecker : public Checker<check::ASTDecl<TranslationUnitDecl>> {
40 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
102 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DRefCntblBaseVirtualDtorChecker.cpp158 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
169 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
237 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DRawPtrRefLocalVarsChecker.cpp167 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
185 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
275 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DRawPtrRefCallArgsChecker.cpp30 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
51 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
102 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DRawPtrRefLambdaCapturesChecker.cpp24 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
41 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
371 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DRawPtrRefMemberChecker.cpp27 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
45 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
H A DUSRLocFinder.h39 llvm::StringRef NewName, Decl *TranslationUnitDecl);
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DAnalysisBasedWarnings.h108 void IssueWarnings(TranslationUnitDecl *D);
H A DSemaHLSL.h130 void ActOnEndOfTranslationUnit(TranslationUnitDecl *TU);
229 void diagnoseAvailabilityViolations(TranslationUnitDecl *TU);
/freebsd/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()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h34 class TranslationUnitDecl; variable
452 void runCheckersOnEndOfTranslationUnit(const TranslationUnitDecl *TU,
547 CheckerFn<void (const TranslationUnitDecl *, AnalysisManager &,

1234