Searched refs:getASTContext (Results 1 - 25 of 206) sorted by relevance

123456789

/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTMerge.cpp36 CI.getASTContext().getLangOpts());
38 &CI.getASTContext());
42 *CI.getASTContext().getTranslationUnitDecl());
56 ASTImporter Importer(CI.getASTContext(), CI.getFileManager(),
57 Unit->getASTContext(), Unit->getFileManager(),
60 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
H A DChainedIncludesSource.cpp45 CIs[i]->getASTContext().getExternalSource()) {
86 Reader.reset(new ASTReader(PP, CI.getModuleCache(), &CI.getASTContext(),
165 Clang->getASTContext().setASTMutationListener(
193 Clang->getASTContext().setExternalSource(Reader);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DRenamingAction.cpp48 getUSRsForDeclaration(ND, Context.getASTContext());
51 Context.getASTContext().getTranslationUnitDecl());
69 getNamedDeclAt(Context.getASTContext(), SelectionRange.getBegin());
87 *Occurrences, Context.getASTContext().getSourceManager(), Name);
95 getNamedDeclFor(Context.getASTContext(), OldQualifiedName);
138 auto USRs = getUSRsForDeclaration(ND, Context.getASTContext());
141 USRs, NewQualifiedName, Context.getASTContext().getTranslationUnitDecl());
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h78 ASTContext &getASTContext() override {
83 return getASTContext().getSourceManager();
147 const SourceManager &SM = getASTContext().getSourceManager();
/freebsd-11-stable/contrib/llvm-project/lldb/source/Symbol/
H A DClangASTImporter.cpp30 clang::ASTContext &dst_clang_ast = dst_ast.getASTContext();
37 clang::ASTContext &src_clang_ast = src_ast->getASTContext();
67 clang::ASTContext *src_ast = &decl->getASTContext();
119 decl->setDeclContext(decl->getASTContext().getTranslationUnitDecl());
120 decl->setLexicalDeclContext(decl->getASTContext().getTranslationUnitDecl());
304 &src_ctxt->getASTContext(), &dst.getASTContext());
311 CompleteTagDeclsScope complete_scope(*this, &dst.getASTContext(),
312 &src_ctxt->getASTContext());
320 clang::ASTContext *src_ctx = &decl->getASTContext();
[all...]
H A DCxxModuleHandler.cpp66 IdentifierInfo &ident = sema.getASTContext().Idents.get(name);
126 return sema.getASTContext().getTranslationUnitDecl();
247 TemplateArgument(d->getASTContext(), integral, *type));
270 *m_importer, d, m_sema->getASTContext(),
H A DClangASTContext.cpp115 lldbassert(&m1->getASTContext() == &m2->getASTContext() &&
117 clang::ASTContext &context = m1->getASTContext();
622 assert(s == nullptr || &s->getASTContext() == m_ast_up.get());
636 ASTContext &ast = getASTContext();
641 ASTContext &ClangASTContext::getASTContext() { function in class:ClangASTContext
722 m_mangle_ctx_up.reset(getASTContext().createMangleContext());
739 getASTContext().getDiagnostics(), getTargetOptions()));
754 ASTContext &ast = getASTContext();
888 clang::ASTContext &ast = getASTContext();
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DNoReturnFunctionChecker.cpp123 lazyInitKeywordSelector(HandleFailureInFunctionSel, C.getASTContext(),
130 lazyInitKeywordSelector(HandleFailureInMethodSel, C.getASTContext(),
H A DCheckPlacementNew.cpp43 Offset.getOffset() / C.getASTContext().getCharWidth());
57 ASTContext &AstContext = C.getASTContext();
74 C.getASTContext().getCharWidth(),
H A DCastSizeChecker.cpp89 ASTContext &Ctx = C.getASTContext();
118 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy);
H A DNSAutoreleasePoolChecker.cpp55 releaseS = GetNullarySelector("release", C.getASTContext());
H A DIdenticalExprChecker.cpp91 if (isIdenticalStmt(AC->getASTContext(), RHS, B2->getRHS())) {
99 if (isIdenticalStmt(AC->getASTContext(), RHS, LHS)) {
118 if (InnerIf && isIdenticalStmt(AC->getASTContext(), I->getCond(), InnerIf->getCond(), /*IgnoreSideEffects=*/ false)) {
140 if (isIdenticalStmt(AC->getASTContext(), Cond1, Cond2, false)) {
170 if (isIdenticalStmt(AC->getASTContext(), Stmt1, Stmt2, true)) {
253 if (isIdenticalStmt(AC->getASTContext(), B->getLHS(), B->getRHS())) {
276 if (isIdenticalStmt(AC->getASTContext(), C->getTrueExpr(),
H A DGCDAntipatternChecker.cpp214 auto Matches = match(SemaphoreMatcherM, *D->getBody(), AM.getASTContext());
219 Matches = match(GroupMatcherM, *D->getBody(), AM.getASTContext());
H A DGTestChecker.cpp187 initIdentifierInfo(C.getASTContext());
222 CanQualType BoolTy = C.getASTContext().BoolTy;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseAST.cpp144 ExternalASTSource *External = S.getASTContext().getExternalSource();
171 Consumer->HandleTranslationUnit(S.getASTContext());
184 S.getASTContext().PrintStats();
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCheckerContext.cpp53 StringRef BName = FD->getASTContext().BuiltinInfo.getName(BId);
124 DefinedSVal V = getSValBuilder().makeIntVal(Val, getASTContext().LongLongTy);
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DExternalASTMerger.cpp117 : ASTImporter(ToContext, ToFileManager, S.getASTContext(),
121 Reverse(S.getASTContext(), S.getFileManager(), ToContext, ToFileManager,
170 ASTContext &PersistentCtx = Persistent->getASTContext();
314 SourceTag->getASTContext().getExternalSource()->CompleteType(SourceTag);
333 SourceInterface->getASTContext().getExternalSource()->CompleteType(
405 assert(&D->getASTContext() == &Target.AST);
414 assert(&S.getASTContext() != &Target.AST);
416 assert(!S.getMerger() || &S.getMerger()->Target.AST == &S.getASTContext());
426 << " removing source (ASTContext*)" << (void *)&S.getASTContext()
432 if (&Importer->getFromContext() == &S.getASTContext())
[all...]
H A DDeclFriend.cpp31 NextFriend.get(getASTContext().getExternalSource()));
H A DDecl.cpp77 return D->getASTContext().getPrimaryMergedDecl(D);
533 const LangOptions &Opts = D->getASTContext().getLangOpts();
632 ASTContext &Context = D->getASTContext();
1272 ASTContext &Context = D->getASTContext();
1364 if (D->getASTContext().getLangOpts().CPlusPlus)
1481 const LangOptions &Opts = D->getASTContext().getLangOpts();
1558 printQualifiedName(OS, getASTContext().getPrintingPolicy());
1563 printQualifiedName(OS, getASTContext().getPrintingPolicy());
1581 printNestedNameSpecifier(OS, getASTContext().getPrintingPolicy());
1727 ASTContext &Context = getASTContext();
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
H A DFileIndexRecord.cpp47 SourceManager &SM = D->getASTContext().getSourceManager();
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRefactoringRuleContext.h47 ASTContext &getASTContext() const { function in class:clang::tooling::RefactoringRuleContext
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIChecker.h50 .reset(new MPIFunctionClassifier{Ctx.getASTContext()});
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelectionRequirements.cpp24 findSelectedASTNodes(Context.getASTContext(), *Range);
/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.h56 ASTContext &getASTContext() const { return Ctx; } function in class:clang::interp::Context
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp82 current_id, static_cast<void *>(&tag_decl->getASTContext()),
106 static_cast<void *>(&interface_decl->getASTContext()),
135 m_decl_vendor.m_ast_ctx.getASTContext().getTranslationUnitDecl();
154 m_ast_ctx.getASTContext().setExternalSource(external_source_owning_ptr);
164 clang::ASTContext &ast_ctx = m_ast_ctx.getASTContext();
319 clang::ASTContext &ast_ctx(interface_decl->getASTContext());
444 clang::ASTContext &context = m_ast_ctx.getASTContext();
504 m_ast_ctx.getASTContext(), interface_decl, clang::SourceLocation(),
505 clang::SourceLocation(), &m_ast_ctx.getASTContext().Idents.get(name),
559 clang::ASTContext &ast_ctx = m_ast_ctx.getASTContext();
[all...]

Completed in 183 milliseconds

123456789