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

1234567

/external/clang/tools/libclang/
H A DCXComment.h52 static inline ASTContext &getASTContext(CXComment CXC) { function in namespace:clang::cxcomment
53 return cxtu::getASTUnit(CXC.TranslationUnit)->getASTContext();
57 return getASTContext(CXC).getCommentCommandTraits();
H A DCIndexHigh.cpp64 ASTContext &getASTContext() const { function in struct:__anon3305::FindFileIdRefVisitData
65 return cxtu::getASTUnit(TU)->getASTContext();
188 ASTContext &Ctx = data->getASTContext();
258 ASTContext &getASTContext() const { function in struct:__anon3306::FindFileMacroRefVisitData
259 return Unit.getASTContext();
283 ASTContext &Ctx = data->getASTContext();
350 ASTContext &getASTContext() const { function in struct:__anon3307::FindFileIncludesVisitor
351 return Unit.getASTContext();
361 ASTContext &Ctx = getASTContext();
/external/clang/lib/Frontend/
H A DASTMerge.cpp37 CI.getASTContext().getLangOpts());
39 &CI.getASTContext());
55 ASTImporter Importer(CI.getASTContext(),
57 Unit->getASTContext(),
61 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
H A DFrontendAction.cpp227 CI.setASTContext(&AST->getASTContext());
343 CI.getASTContext().setASTMutationListener(Consumer->GetASTMutationListener());
352 CI.getASTContext().setExternalSource(source);
366 CI.getASTContext(),
376 if (!CI.getASTContext().getExternalSource())
387 if (!CI.hasASTContext() || !CI.getASTContext().getExternalSource()) {
423 CI.hasASTContext() && !CI.getASTContext().getExternalSource()) {
427 CI.getASTContext().setExternalSource(Override);
H A DChainedIncludesSource.cpp83 Reader.reset(new ASTReader(PP, CI.getASTContext(),
168 Clang->getASTContext().setASTMutationListener(
196 Clang->getASTContext().setExternalSource(Reader);
278 CIs[i]->getASTContext().getExternalSource()) {
/external/clang/unittests/AST/
H A DEvaluateAsRValueTest.cpp46 bool WasEvaluated = Init->EvaluateAsRValue(Result, VD->getASTContext());
48 EXPECT_EQ(WasEvaluated, Init->isConstantInitializer(VD->getASTContext(),
H A DExternalASTSourceTest.cpp32 getCompilerInstance().getASTContext().setExternalSource(Source);
33 getCompilerInstance().getASTContext().getTranslationUnitDecl()
H A DPostOrderASTVisitor.cpp83 auto TU = ASTUnit->getASTContext().getTranslationUnitDecl();
108 auto TU = ASTUnit->getASTContext().getTranslationUnitDecl();
/external/clang/lib/StaticAnalyzer/Checkers/
H A DNSAutoreleasePoolChecker.cpp56 releaseS = GetNullarySelector("release", C.getASTContext());
H A DNoReturnFunctionChecker.cpp124 lazyInitKeywordSelector(HandleFailureInFunctionSel, C.getASTContext(),
131 lazyInitKeywordSelector(HandleFailureInMethodSel, C.getASTContext(),
H A DCastSizeChecker.cpp90 ASTContext &Ctx = C.getASTContext();
119 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy);
H A DCastToStructChecker.cpp37 ASTContext &Ctx = C.getASTContext();
H A DIdenticalExprChecker.cpp92 if (isIdenticalStmt(AC->getASTContext(), RHS, B2->getRHS())) {
100 if (isIdenticalStmt(AC->getASTContext(), RHS, LHS)) {
119 if (InnerIf && isIdenticalStmt(AC->getASTContext(), I->getCond(), InnerIf->getCond(), /*ignoreSideEffects=*/ false)) {
141 if (isIdenticalStmt(AC->getASTContext(), Cond1, Cond2, false)) {
171 if (isIdenticalStmt(AC->getASTContext(), Stmt1, Stmt2, true)) {
254 if (isIdenticalStmt(AC->getASTContext(), B->getLHS(), B->getRHS())) {
274 if (isIdenticalStmt(AC->getASTContext(), C->getTrueExpr(),
H A DChrootChecker.cpp70 ASTContext &Ctx = C.getASTContext();
130 ASTContext &Ctx = C.getASTContext();
H A DBuiltinFunctionChecker.cpp86 if (CE->EvaluateAsInt(Result, C.getASTContext(), Expr::SE_NoSideEffects)) {
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h82 ASTContext &getASTContext() override {
87 return getASTContext().getSourceManager();
/external/clang/lib/AST/
H A DDeclOpenMP.cpp78 PrevDeclInScope.get(getASTContext().getExternalSource()));
83 PrevDeclInScope.get(getASTContext().getExternalSource()));
H A DMicrosoftMangle.cpp210 disc = getASTContext().getManglingNumber(ND);
217 !getASTContext().getDeclaratorForUnnamedTagDecl(Tag) &&
218 !getASTContext().getTypedefNameForUnnamedTagDecl(Tag))
265 ASTContext &getASTContext() const { return Context.getASTContext(); } function in class:__anon1104::MicrosoftCXXNameMangler
276 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) ==
282 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) ==
288 PointersAre64Bit(C.getASTContext().getTargetInfo().getPointerWidth(0) ==
394 if (!getASTContext().getLangOpts().CPlusPlus)
506 Ty.getDesugaredType(getASTContext())
[all...]
H A DDeclFriend.cpp24 NextFriend.get(getASTContext().getExternalSource()));
H A DMangle.cpp99 const ASTContext &ASTContext = getASTContext();
106 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs())
130 getASTContext().getTargetInfo().getDataLayout().getGlobalPrefix();
138 const ASTContext &ASTContext = getASTContext();
H A DDecl.cpp40 return D->getASTContext().getPrimaryMergedDecl(D);
223 if (D->getASTContext().getTargetInfo().getTriple().isOSDarwin()) {
540 const LangOptions &Opts = D->getASTContext().getLangOpts();
582 ASTContext &Context = D->getASTContext();
1185 ASTContext &Context = D->getASTContext();
1262 if (!D->getASTContext().getLangOpts().CPlusPlus ||
1368 const LangOptions &Opts = D->getASTContext().getLangOpts();
1401 printQualifiedName(OS, getASTContext().getPrintingPolicy());
1406 printQualifiedName(OS, getASTContext().getPrintingPolicy());
1545 ASTContext &Context = getASTContext();
[all...]
/external/clang/lib/Parse/
H A DParseAST.cpp146 ExternalASTSource *External = S.getASTContext().getExternalSource();
167 Consumer->HandleTranslationUnit(S.getASTContext());
173 S.getASTContext().PrintStats();
/external/clang/examples/AnnotateFunctions/
H A DAnnotateFunctions.cpp35 FD->addAttr(AnnotateAttr::CreateImplicit(FD->getASTContext(),
/external/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/
H A DMPIChecker.h51 .reset(new MPIFunctionClassifier{Ctx.getASTContext()});
/external/clang/lib/Index/
H A DIndexingAction.cpp173 IndexCtx.setASTContext(Unit.getASTContext());
174 DataConsumer->initialize(Unit.getASTContext());

Completed in 377 milliseconds

1234567