Home
last modified time | relevance | path

Searched refs:ACtx (Results 1 – 14 of 14) sorted by relevance

/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DCloneChecker.cpp101 ASTContext &ACtx = Mgr.getASTContext(); in makeLocation() local
103 S.front(), ACtx.getSourceManager(), in makeLocation()
104 Mgr.getAnalysisDeclContext(ACtx.getTranslationUnitDecl())); in makeLocation()
161 ASTContext &ACtx = BR.getContext(); in reportSuspiciousClones() local
162 SourceManager &SM = ACtx.getSourceManager(); in reportSuspiciousClones()
164 Mgr.getAnalysisDeclContext(ACtx.getTranslationUnitDecl()); in reportSuspiciousClones()
DStdLibraryFunctionsChecker.cpp831 const ASTContext &ACtx = BVF.getContext(); in initFunctionSummaries() local
835 const ASTContext &ACtx; in initFunctionSummaries() member in StdLibraryFunctionsChecker::initFunctionSummaries::LookupType
838 LookupType(const ASTContext &ACtx) : ACtx(ACtx) {} in initFunctionSummaries() argument
842 IdentifierInfo &II = ACtx.Idents.get(Name); in initFunctionSummaries()
843 auto LookupRes = ACtx.getTranslationUnitDecl()->lookup(&II); in initFunctionSummaries()
854 return ACtx.getTypeDeclType(TD).getCanonicalType(); in initFunctionSummaries()
862 return ACtx.getTypeDeclType(TD).getCanonicalType(); in initFunctionSummaries()
865 } lookupTy(ACtx); in initFunctionSummaries()
870 const ASTContext &ACtx; in initFunctionSummaries() member in StdLibraryFunctionsChecker::initFunctionSummaries::GetRestrictTy
873 GetRestrictTy(const ASTContext &ACtx) : ACtx(ACtx) {} in initFunctionSummaries() argument
[all …]
DNumberObjectConversionChecker.cpp70 ASTContext &ACtx = ADC->getASTContext(); in run() local
82 Loc, ACtx.getSourceManager(), ACtx.getLangOpts()); in run()
91 EVResult, ACtx, Expr::SE_AllowSideEffects)) { in run()
137 ObjT = ACtx.getPointerType( in run()
DDeadStoresChecker.cpp224 ASTContext &ACtx = V->getASTContext(); in Report() local
226 if (V->getInit()->HasSideEffects(ACtx, in Report()
230 SourceManager &SM = ACtx.getSourceManager(); in Report()
231 const LangOptions &LO = ACtx.getLangOpts(); in Report()
DMIGChecker.cpp235 ASTContext &ACtx = C.getASTContext(); in mayBeSuccess() local
239 V = SVB.evalEQ(C.getState(), V, SVB.makeIntVal(MigNoReply, ACtx.IntTy)); in mayBeSuccess()
DCastValueChecker.cpp184 ASTContext &ACtx) { in alignReferenceTypes() argument
188 return ACtx.getLValueReferenceType(toAlign); in alignReferenceTypes()
190 return ACtx.getLValueReferenceType(toAlign); in alignReferenceTypes()
192 return ACtx.getRValueReferenceType(toAlign); in alignReferenceTypes()
DIterator.cpp216 auto &ACtx = StateMgr.getContext(); in createIteratorPosition() local
218 auto Sym = SymMgr.conjureSymbol(S, LCtx, ACtx.LongTy, blockCount); in createIteratorPosition()
/external/clang/include/clang/StaticAnalyzer/Checkers/
DSValExplainer.h28 ASTContext &ACtx;
33 S->printPretty(OS, nullptr, PrintingPolicy(ACtx.getLangOpts())); in printStmt()
45 SValExplainer(ASTContext &Ctx) : ACtx(Ctx) {} in SValExplainer()
/external/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h130 CFGWalker() : CFGraph(nullptr), ACtx(nullptr), SortedGraph(nullptr) {} in CFGWalker()
135 ACtx = ∾ in init()
196 AD.getDestructorDecl(ACtx->getASTContext())); in walk()
239 return dyn_cast<NamedDecl>(ACtx->getDecl()); in getDecl()
246 AnalysisDeclContext *ACtx; variable
/external/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
DSValExplainer.h29 ASTContext &ACtx;
34 S->printPretty(OS, nullptr, PrintingPolicy(ACtx.getLangOpts())); in printStmt()
46 SValExplainer(ASTContext &Ctx) : ACtx(Ctx) {} in SValExplainer()
/external/llvm-project/clang/include/clang/Analysis/Analyses/
DThreadSafetyCommon.h152 ACtx = &AC; in init()
213 AD.getDestructorDecl(ACtx->getASTContext())); in walk()
256 return dyn_cast<NamedDecl>(ACtx->getDecl()); in getDecl()
263 AnalysisDeclContext *ACtx = nullptr; variable
/external/llvm-project/clang/include/clang/CrossTU/
DCrossTranslationUnit.h111 bool containsConst(const VarDecl *VD, const ASTContext &ACtx);
/external/llvm-project/clang/lib/CrossTU/
DCrossTranslationUnit.cpp190 bool containsConst(const VarDecl *VD, const ASTContext &ACtx) { in containsConst() argument
191 CanQualType CT = ACtx.getCanonicalType(VD->getType()); in containsConst()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DExprEngineCXX.cpp117 ASTContext &ACtx = SVB.getContext(); in computeObjectUnderConstruction() local
226 QualType RegionTy = ACtx.getPointerType(ReturnTy); in computeObjectUnderConstruction()