Searched refs:TranslationUnitDecl (Results 26 - 50 of 78) sorted by relevance

1234

/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExternalASTMerger.cpp45 LookupSameContext(Source<TranslationUnitDecl *> SourceTU, const DeclContext *DC,
289 Source<TranslationUnitDecl *> SourceTU =
H A DDeclBase.cpp399 TranslationUnitDecl *Decl::getTranslationUnitDecl() {
400 if (auto *TUD = dyn_cast<TranslationUnitDecl>(this))
411 return cast<TranslationUnitDecl>(DC);
973 if (isa<TranslationUnitDecl>(this) ||
H A DQualTypeNames.cpp299 } else if (dyn_cast<TranslationUnitDecl>(Outer)) {
H A DDeclPrinter.cpp61 void VisitTranslationUnitDecl(TranslationUnitDecl *D);
218 ASTContext &Ctx = cast<TranslationUnitDecl>(DC)->getASTContext();
496 void DeclPrinter::VisitTranslationUnitDecl(TranslationUnitDecl *D) {
H A DMangle.cpp285 assert((isa<TranslationUnitDecl>(DC) || isa<NamedDecl>(DC)) &&
286 "expected a TranslationUnitDecl or a NamedDecl");
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h70 class TranslationUnitDecl;
458 TranslationUnitDecl *getTranslationUnitDecl();
459 const TranslationUnitDecl *getTranslationUnitDecl() const {
1290 /// TranslationUnitDecl
H A DASTContext.h538 TranslationUnitDecl *TUDecl;
936 TranslationUnitDecl *getTranslationUnitDecl() const { return TUDecl; }
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp124 clang::TranslationUnitDecl *translation_unit_decl =
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DIndexingContext.cpp283 if (isa<TranslationUnitDecl>(Parent))
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp78 if (isa<TranslationUnitDecl>(D))
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransGCAttrs.cpp121 if (isa<TranslationUnitDecl>(D))
H A DTransforms.cpp510 void MigrationContext::traverse(TranslationUnitDecl *TU) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGCUDANV.cpp280 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl();
281 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl);
H A DCGObjCGNU.cpp1236 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl();
1237 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl);
2317 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl();
2318 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl);
H A DCGVTables.cpp1266 if (isa<TranslationUnitDecl>(DC->getRedeclContext())) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp319 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
743 TranslationUnitDecl *ToTU) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp487 TranslationUnitDecl *TU = C.getTranslationUnitDecl();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DChecker.h66 const TranslationUnitDecl *TU,
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp633 bool WalkUpFromTranslationUnitDecl(TranslationUnitDecl *TU) {
1348 syntax::buildSyntaxTree(Arena &A, const TranslationUnitDecl &TU) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerManager.cpp699 const TranslationUnitDecl *TU,
/freebsd-13-stable/contrib/llvm-project/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp746 // a) the node is the TranslationUnitDecl
752 if (!Node.get<TranslationUnitDecl>() &&
H A DASTMatchersInternal.cpp704 const internal::VariadicDynCastAllOfMatcher<Decl, TranslationUnitDecl>
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp195 llvm::isa<TranslationUnitDecl>(redecl_context->getLexicalParent())) {
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.h233 clang::TranslationUnitDecl *GetTranslationUnitDecl() {
/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp317 void VisitTranslationUnitDecl(TranslationUnitDecl *TU);
653 void ASTDeclReader::VisitTranslationUnitDecl(TranslationUnitDecl *TU) {
3307 if (auto *TU = dyn_cast<TranslationUnitDecl>(DC))
4056 // TranslationUnitDecl without crashing.
4427 if (auto *TU = dyn_cast<TranslationUnitDecl>(D))

Completed in 366 milliseconds

1234