/external/clang/tools/libclang/ |
H A D | CXComment.h | 52 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 D | CIndexHigh.cpp | 64 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 D | ASTMerge.cpp | 37 CI.getASTContext().getLangOpts()); 39 &CI.getASTContext()); 55 ASTImporter Importer(CI.getASTContext(), 57 Unit->getASTContext(), 61 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
|
H A D | FrontendAction.cpp | 227 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 D | ChainedIncludesSource.cpp | 83 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 D | EvaluateAsRValueTest.cpp | 46 bool WasEvaluated = Init->EvaluateAsRValue(Result, VD->getASTContext()); 48 EXPECT_EQ(WasEvaluated, Init->isConstantInitializer(VD->getASTContext(),
|
H A D | ExternalASTSourceTest.cpp | 32 getCompilerInstance().getASTContext().setExternalSource(Source); 33 getCompilerInstance().getASTContext().getTranslationUnitDecl()
|
H A D | PostOrderASTVisitor.cpp | 83 auto TU = ASTUnit->getASTContext().getTranslationUnitDecl(); 108 auto TU = ASTUnit->getASTContext().getTranslationUnitDecl();
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | NSAutoreleasePoolChecker.cpp | 56 releaseS = GetNullarySelector("release", C.getASTContext());
|
H A D | NoReturnFunctionChecker.cpp | 124 lazyInitKeywordSelector(HandleFailureInFunctionSel, C.getASTContext(), 131 lazyInitKeywordSelector(HandleFailureInMethodSel, C.getASTContext(),
|
H A D | CastSizeChecker.cpp | 90 ASTContext &Ctx = C.getASTContext(); 119 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy);
|
H A D | CastToStructChecker.cpp | 37 ASTContext &Ctx = C.getASTContext();
|
H A D | IdenticalExprChecker.cpp | 92 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 D | ChrootChecker.cpp | 70 ASTContext &Ctx = C.getASTContext(); 130 ASTContext &Ctx = C.getASTContext();
|
H A D | BuiltinFunctionChecker.cpp | 86 if (CE->EvaluateAsInt(Result, C.getASTContext(), Expr::SE_NoSideEffects)) {
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | AnalysisManager.h | 82 ASTContext &getASTContext() override { 87 return getASTContext().getSourceManager();
|
/external/clang/lib/AST/ |
H A D | DeclOpenMP.cpp | 78 PrevDeclInScope.get(getASTContext().getExternalSource())); 83 PrevDeclInScope.get(getASTContext().getExternalSource()));
|
H A D | MicrosoftMangle.cpp | 210 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 D | DeclFriend.cpp | 24 NextFriend.get(getASTContext().getExternalSource()));
|
H A D | Mangle.cpp | 99 const ASTContext &ASTContext = getASTContext(); 106 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs()) 130 getASTContext().getTargetInfo().getDataLayout().getGlobalPrefix(); 138 const ASTContext &ASTContext = getASTContext();
|
H A D | Decl.cpp | 40 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 D | ParseAST.cpp | 146 ExternalASTSource *External = S.getASTContext().getExternalSource(); 167 Consumer->HandleTranslationUnit(S.getASTContext()); 173 S.getASTContext().PrintStats();
|
/external/clang/examples/AnnotateFunctions/ |
H A D | AnnotateFunctions.cpp | 35 FD->addAttr(AnnotateAttr::CreateImplicit(FD->getASTContext(),
|
/external/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
H A D | MPIChecker.h | 51 .reset(new MPIFunctionClassifier{Ctx.getASTContext()});
|
/external/clang/lib/Index/ |
H A D | IndexingAction.cpp | 173 IndexCtx.setASTContext(Unit.getASTContext()); 174 DataConsumer->initialize(Unit.getASTContext());
|