Searched refs:TranslationUnitDecl (Results 51 - 75 of 78) sorted by relevance

1234

/freebsd-13-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterDecl.cpp61 void VisitTranslationUnitDecl(TranslationUnitDecl *D);
357 void ASTDeclWriter::VisitTranslationUnitDecl(TranslationUnitDecl *D) {
1256 if (Parent->isFromASTFile() || isa<TranslationUnitDecl>(Parent)) {
H A DASTWriter.cpp4581 const TranslationUnitDecl *TU = Context.getTranslationUnitDecl();
5853 if (isa<TranslationUnitDecl>(DC))
H A DASTReader.cpp1173 assert(!isa<TranslationUnitDecl>(DC) &&
7158 if (isa<TranslationUnitDecl>(DC) || isa<NamespaceDecl>(DC) ||
7162 isa<TranslationUnitDecl>(DC)) {
7503 if (isa<TranslationUnitDecl>(DC)) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DASTImporter.cpp485 ExpectedDecl VisitTranslationUnitDecl(TranslationUnitDecl *D);
2209 ExpectedDecl ASTNodeImporter::VisitTranslationUnitDecl(TranslationUnitDecl *D) {
2210 TranslationUnitDecl *ToD =
2287 if (auto *TU = dyn_cast<TranslationUnitDecl>(DC))
2340 if (auto *TU = dyn_cast<TranslationUnitDecl>(DC))
3094 // Returns true if the given D has a DeclContext up to the TranslationUnitDecl
8101 TranslationUnitDecl *ASTImporter::GetFromTU(Decl *ToD) {
H A DExpr.cpp853 if (isa<TranslationUnitDecl>(CurrentDecl) && IK == PrettyFunction) {
H A DASTContext.cpp970 TUDecl = TranslationUnitDecl::Create(*this);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTSource.cpp541 } else if (!isa<TranslationUnitDecl>(context.m_decl_context)) {
H A DClangExpressionDeclMap.cpp680 } else if (isa<TranslationUnitDecl>(context.m_decl_context)) {
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp3357 TranslationUnitDecl *TUDecl = C.getTranslationUnitDecl();
3358 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl);
4783 TranslationUnitDecl *TUDecl = Context.getTranslationUnitDecl();
4784 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl);
H A DCGBlocks.cpp2880 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl();
2881 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl);
H A DCGObjCMac.cpp6518 TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl();
6519 DeclContext *DC = TranslationUnitDecl::castToDeclContext(TUDecl);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaLookup.cpp3710 if (isa<TranslationUnitDecl>(Ctx) &&
3747 !(isa<TranslationUnitDecl>(Ctx) || isa<NamespaceDecl>(Ctx));
H A DSemaDeclCXX.cpp10859 if (TranslationUnitDecl *TU = dyn_cast<TranslationUnitDecl>(Parent)) {
10893 if (TranslationUnitDecl *TU = dyn_cast<TranslationUnitDecl>(Parent)) {
12031 isa<TranslationUnitDecl>(LookupContext) &&
15200 if (isa<TranslationUnitDecl>(DC) &&
16487 if (isa<TranslationUnitDecl>(LookupDC)) break;
H A DSemaDecl.cpp537 else if (isa<TranslationUnitDecl>(DC))
5629 else if (isa<TranslationUnitDecl>(DC))
11391 } else if (isa<TranslationUnitDecl>(OrigDecl->getDeclContext()) ||
13718 if (isa<TranslationUnitDecl>(FD->getDeclContext()->getRedeclContext()))
H A DSemaCodeComplete.cpp5980 Ctx && !CodeCompleter->includeGlobals() && isa<TranslationUnitDecl>(Ctx);
7804 TranslationUnitDecl *TU = Context.getTranslationUnitDecl();
H A DSemaDeclObjC.cpp5003 if (isa<TranslationUnitDecl>(getCurLexicalContext()->getRedeclContext()))
H A DSemaExprObjC.cpp228 TranslationUnitDecl *TU = Context.getTranslationUnitDecl();
H A DSemaTemplateInstantiateDecl.cpp682 TemplateDeclInstantiator::VisitTranslationUnitDecl(TranslationUnitDecl *D) {
H A DSemaTemplate.cpp7898 if (isa<TranslationUnitDecl>(SpecializedContext))
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchers.h177 extern const internal::VariadicDynCastAllOfMatcher<Decl, TranslationUnitDecl>
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp1845 TranslationUnitDecl *TU = Ctx.getTranslationUnitDecl();
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DRecursiveASTVisitor.h193 /// in the AST traversal scope (by default, the TranslationUnitDecl).
1485 TranslationUnitDecl,
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp1749 TranslationUnitDecl *translation_unit_decl = ast.getTranslationUnitDecl();
9344 if (llvm::isa<clang::TranslationUnitDecl>(it->second))
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp69 TranslationUnitDecl *TUDecl;
H A DRewriteObjC.cpp68 TranslationUnitDecl *TUDecl;

Completed in 809 milliseconds

1234