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

123456789

/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DDiagOutputUtils.h21 D->getNameForDiagnostic(Os, D->getASTContext().getPrintingPolicy(),
29 D->getNameForDiagnostic(Os, D->getASTContext().getPrintingPolicy(),
/freebsd-13-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-13-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-13-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h82 ASTContext &getASTContext() override {
87 return getASTContext().getSourceManager();
151 const SourceManager &SM = getASTContext().getSourceManager();
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangASTImporter.cpp33 clang::ASTContext &dst_clang_ast = dst_ast.getASTContext();
40 clang::ASTContext &src_clang_ast = src_ast->getASTContext();
70 clang::ASTContext *src_ast = &decl->getASTContext();
122 decl->setDeclContext(decl->getASTContext().getTranslationUnitDecl());
123 decl->setLexicalDeclContext(decl->getASTContext().getTranslationUnitDecl());
306 &src_ctxt->getASTContext(), &dst.getASTContext());
313 CompleteTagDeclsScope complete_scope(*this, &dst.getASTContext(),
314 &src_ctxt->getASTContext());
322 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 DNameSearchContext.h118 return m_clang_ts.getASTContext();
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp76 ASTContext &AstContext = C.getASTContext();
95 C.getASTContext().getCharWidth(),
169 unsigned StorageTAlign = C.getASTContext().getTypeAlign(VD->getType());
173 return StorageTAlign / C.getASTContext().getCharWidth();
222 TheOffsetRegion.getOffset() / C.getASTContext().getCharWidth();
252 Offset.getOffset() / C.getASTContext().getCharWidth();
279 unsigned AllocatedTAlign = C.getASTContext().getTypeAlign(AllocatedT) /
280 C.getASTContext().getCharWidth();
H A DNoReturnFunctionChecker.cpp123 lazyInitKeywordSelector(HandleFailureInFunctionSel, C.getASTContext(),
130 lazyInitKeywordSelector(HandleFailureInMethodSel, C.getASTContext(),
H A DCastSizeChecker.cpp91 ASTContext &Ctx = C.getASTContext();
121 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy);
H A DNSAutoreleasePoolChecker.cpp55 releaseS = GetNullarySelector("release", C.getASTContext());
H A DOSObjectCStyleCast.cpp77 auto Matches = match(stmt(forEachDescendant(CastM)), *D->getBody(), AM.getASTContext());
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp77 static_cast<void *>(&tag_decl->getASTContext()),
96 static_cast<void *>(&interface_decl->getASTContext()),
125 m_decl_vendor.m_ast_ctx.getASTContext().getTranslationUnitDecl();
143 m_ast_ctx.getASTContext().setExternalSource(external_source_owning_ptr);
153 clang::ASTContext &ast_ctx = m_ast_ctx.getASTContext();
308 clang::ASTContext &ast_ctx(interface_decl->getASTContext());
433 clang::ASTContext &context = m_ast_ctx.getASTContext();
493 m_ast_ctx.getASTContext(), interface_decl, clang::SourceLocation(),
494 clang::SourceLocation(), &m_ast_ctx.getASTContext().Idents.get(name),
546 clang::ASTContext &ast_ctx = m_ast_ctx.getASTContext();
[all...]
/freebsd-13-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-13-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-13-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();
1276 ASTContext &Context = D->getASTContext();
1355 if (D->getASTContext().getLangOpts().CPlusPlus)
1456 const LangOptions &Opts = D->getASTContext().getLangOpts();
1533 printQualifiedName(OS, getASTContext().getPrintingPolicy());
1538 printQualifiedName(OS, getASTContext().getPrintingPolicy());
1565 printNestedNameSpecifier(OS, getASTContext().getPrintingPolicy());
1714 ASTContext &Context = getASTContext();
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/
H A DFileIndexRecord.cpp48 SourceManager &SM = D->getASTContext().getSourceManager();
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIChecker.h50 .reset(new MPIFunctionClassifier{Ctx.getASTContext()});
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelectionRequirements.cpp24 findSelectedASTNodes(Context.getASTContext(), *Range);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/
H A DRefactoringRuleContext.h47 ASTContext &getASTContext() const { function in class:clang::tooling::RefactoringRuleContext
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.h56 ASTContext &getASTContext() const { return Ctx; } function in class:clang::interp::Context
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp120 lldbassert(&m1->getASTContext() == &m2->getASTContext() &&
122 clang::ASTContext &context = m1->getASTContext();
671 assert(s == nullptr || &s->getASTContext() == m_ast_up.get());
685 ASTContext &ast = getASTContext();
690 ASTContext &TypeSystemClang::getASTContext() { function in class:TypeSystemClang
771 m_mangle_ctx_up.reset(getASTContext().createMangleContext());
788 getASTContext().getDiagnostics(), getTargetOptions()));
803 ASTContext &ast = getASTContext();
937 clang::ASTContext &ast = getASTContext();
[all...]

Completed in 300 milliseconds

123456789