Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A 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()
H A DStdLibraryFunctionsChecker.cpp956 const ASTContext &ACtx = BVF.getContext(); in initFunctionSummaries() local
960 const ASTContext &ACtx; in initFunctionSummaries() member in StdLibraryFunctionsChecker::initFunctionSummaries::LookupType
963 LookupType(const ASTContext &ACtx) : ACtx(ACtx) {} in initFunctionSummaries() argument
967 IdentifierInfo &II = ACtx.Idents.get(Name); in initFunctionSummaries()
968 auto LookupRes = ACtx.getTranslationUnitDecl()->lookup(&II); in initFunctionSummaries()
979 return ACtx.getTypeDeclType(TD).getCanonicalType(); in initFunctionSummaries()
987 return ACtx.getTypeDeclType(TD).getCanonicalType(); in initFunctionSummaries()
990 } lookupTy(ACtx); in initFunctionSummaries()
995 const ASTContext &ACtx; in initFunctionSummaries() member in StdLibraryFunctionsChecker::initFunctionSummaries::GetRestrictTy
998 GetRestrictTy(const ASTContext &ACtx) : ACtx(ACtx) {} in initFunctionSummaries() argument
[all …]
H A 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()
H A DDeadStoresChecker.cpp225 ASTContext &ACtx = V->getASTContext(); in Report() local
227 if (V->getInit()->HasSideEffects(ACtx, in Report()
231 SourceManager &SM = ACtx.getSourceManager(); in Report()
232 const LangOptions &LO = ACtx.getLangOpts(); in Report()
H A 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()
H A DMIGChecker.cpp235 ASTContext &ACtx = C.getASTContext(); in mayBeSuccess() local
239 V = SVB.evalEQ(C.getState(), V, SVB.makeIntVal(MigNoReply, ACtx.IntTy)); in mayBeSuccess()
H A DIterator.cpp216 auto &ACtx = StateMgr.getContext(); in createIteratorPosition() local
218 auto Sym = SymMgr.conjureSymbol(S, LCtx, ACtx.LongTy, blockCount); in createIteratorPosition()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Checkers/
H A DSValExplainer.h29 ASTContext &ACtx;
34 S->printPretty(OS, nullptr, PrintingPolicy(ACtx.getLangOpts())); in printStmt()
46 SValExplainer(ASTContext &Ctx) : ACtx(Ctx) {} in SValExplainer()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h152 ACtx = ∾ in init()
213 AD.getDestructorDecl(ACtx->getASTContext())); in walk()
256 return dyn_cast<NamedDecl>(ACtx->getDecl()); in getDecl()
263 AnalysisDeclContext *ACtx = nullptr; variable
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h112 bool containsConst(const VarDecl *VD, const ASTContext &ACtx);
/netbsd-src/external/apache2/llvm/dist/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp190 bool containsConst(const VarDecl *VD, const ASTContext &ACtx) { in containsConst() argument
191 CanQualType CT = ACtx.getCanonicalType(VD->getType()); in containsConst()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCXX.cpp117 ASTContext &ACtx = SVB.getContext(); in computeObjectUnderConstruction() local
226 QualType RegionTy = ACtx.getPointerType(ReturnTy); in computeObjectUnderConstruction()