Searched refs:getTranslationUnitDecl (Results 1 - 25 of 55) sorted by relevance

123

/freebsd-11.0-release/contrib/llvm/tools/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp77 assignCheck.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransUnusedInitDelegate.cpp77 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransAPIUses.cpp107 APIChecker(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransEmptyStatementsAndDealloc.cpp198 DeclContext *DC = Ctx.getTranslationUnitDecl();
243 EmptyStatementsRemover(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransZeroOutPropsInDealloc.cpp226 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransforms.cpp525 DeclContext *DC = Ctx.getTranslationUnitDecl();
573 MigrateCtx.traverse(pass.Ctx.getTranslationUnitDecl());
H A DTransAutoreleasePool.cpp434 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransGCAttrs.cpp328 MigrateCtx.Pass.Ctx.getTranslationUnitDecl());
H A DTransRetainReleaseDealloc.cpp454 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransUnbridgedCasts.cpp468 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Frontend/
H A DASTMerge.cpp61 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
H A DASTConsumers.cpp44 TranslationUnitDecl *D = Context.getTranslationUnitDecl();
109 TraverseDecl(Context.getTranslationUnitDecl());
190 PrintDeclContext(C.getTranslationUnitDecl(), 4);
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp146 clang::TranslationUnitDecl *translation_unit_decl = m_decl_vendor.m_ast_ctx.getASTContext()->getTranslationUnitDecl();
185 ast_ctx->getTranslationUnitDecl(),
198 ast_ctx->getTranslationUnitDecl()->addDecl(new_iface_decl);
583 clang::DeclContext::lookup_result lookup_result = ast_ctx->getTranslationUnitDecl()->lookup(decl_name);
/freebsd-11.0-release/contrib/llvm/tools/clang/include/clang/AST/
H A DDeclBase.h412 TranslationUnitDecl *getTranslationUnitDecl();
413 const TranslationUnitDecl *getTranslationUnitDecl() const { function in class:clang::Decl
414 return const_cast<Decl*>(this)->getTranslationUnitDecl();
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Symbol/
H A DClangASTImporter.cpp157 decl->setDeclContext(decl->getASTContext().getTranslationUnitDecl());
158 decl->setLexicalDeclContext(decl->getASTContext().getTranslationUnitDecl());
H A DClangASTContext.cpp525 ast->getTranslationUnitDecl()->setHasExternalLexicalStorage(true);
526 //ast->getTranslationUnitDecl()->setHasExternalVisibleStorage(true);
539 ast->getTranslationUnitDecl()->setHasExternalLexicalStorage(false);
540 //ast->getTranslationUnitDecl()->setHasExternalVisibleStorage(false);
577 m_ast_ap->getTranslationUnitDecl()->setHasExternalLexicalStorage();
578 //m_ast_ap->getTranslationUnitDecl()->setHasExternalVisibleStorage();
1268 return ast->getTranslationUnitDecl();
1358 decl_ctx = ast->getTranslationUnitDecl();
1421 ast->getTranslationUnitDecl(), // Is this the right decl context?, SourceLocation StartLoc,
1435 ast->getTranslationUnitDecl(), // I
[all...]
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp616 ActiveASTContext->getTranslationUnitDecl())
983 Visitor.TraverseDecl(Context.getTranslationUnitDecl());
/freebsd-11.0-release/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangModulesDeclVendor.cpp393 m_compiler_instance->getSema().LookupName(lookup_result, m_compiler_instance->getSema().getScopeForContext(m_compiler_instance->getASTContext().getTranslationUnitDecl()));
H A DClangASTSource.cpp84 m_ast_context->getTranslationUnitDecl()->setHasExternalVisibleStorage();
85 m_ast_context->getTranslationUnitDecl()->setHasExternalLexicalStorage();
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGBlocks.cpp1347 C.getTranslationUnitDecl(),
1522 FunctionDecl *FD = FunctionDecl::Create(C, C.getTranslationUnitDecl(),
1809 Context.getTranslationUnitDecl(),
1883 Context.getTranslationUnitDecl(),
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp524 TranslationUnitDecl *TU = C.getTranslationUnitDecl();
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExprCXX.cpp480 LookupQualifiedName(R, Context.getTranslationUnitDecl());
559 LookupQualifiedName(R, Context.getTranslationUnitDecl());
1772 DeclContext *TUDecl = Context.getTranslationUnitDecl();
1819 LookupQualifiedName(FoundDelete, Context.getTranslationUnitDecl());
2146 DeclContext *GlobalCtx = Context.getTranslationUnitDecl();
2227 Context.getTranslationUnitDecl()->addDecl(Alloc);
2237 LookupQualifiedName(FoundDelete, Context.getTranslationUnitDecl());
4131 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl());
4308 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl());
4358 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl());
[all...]
H A DSemaCodeComplete.cpp4316 Ctx = Context.getTranslationUnitDecl();
5944 AddProtocolResults(Context.getTranslationUnitDecl(), CurContext, false,
5964 AddProtocolResults(Context.getTranslationUnitDecl(), CurContext, true,
6001 AddInterfaceResults(Context.getTranslationUnitDecl(), CurContext, false,
6027 AddInterfaceResults(Context.getTranslationUnitDecl(), CurContext, false,
6046 AddInterfaceResults(Context.getTranslationUnitDecl(), CurContext, false,
6078 TranslationUnitDecl *TU = Context.getTranslationUnitDecl();
7507 Context.getTranslationUnitDecl());
7508 LookupVisibleDecls(Context.getTranslationUnitDecl(), LookupAnyName,
H A DSemaLookup.cpp2618 Result.Namespaces.insert(Result.S.Context.getTranslationUnitDecl());
3580 Entity = Result.getSema().Context.getTranslationUnitDecl();
3620 Visited.visitedContext(Context.getTranslationUnitDecl());
3632 Visited.visitedContext(Context.getTranslationUnitDecl());
4084 SpecifierInfo SI = {cast<DeclContext>(Context.getTranslationUnitDecl()),
/freebsd-11.0-release/contrib/llvm/tools/clang/lib/AST/
H A DASTContext.cpp609 TemplateTypeParmDecl::Create(*this, getTranslationUnitDecl(),
629 Param = NonTypeTemplateParmDecl::Create(*this, getTranslationUnitDecl(),
640 Param = NonTypeTemplateParmDecl::Create(*this, getTranslationUnitDecl(),
657 = TemplateTemplateParmDecl::Create(*this, getTranslationUnitDecl(),
908 ExternCContext = ExternCContextDecl::Create(*this, getTranslationUnitDecl());
936 NewDecl = CXXRecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc,
939 NewDecl = RecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, Loc,
951 const_cast<ASTContext &>(*this), getTranslationUnitDecl(),
6097 = ObjCInterfaceDecl::Create(*this, getTranslationUnitDecl(),
6141 Context->getTranslationUnitDecl(),
[all...]

Completed in 178 milliseconds

123