Home
last modified time | relevance | path

Searched refs:astContext (Results 1 – 4 of 4) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
DArrayBoundCheckerV2.cpp291 ASTContext &astContext = svalBuilder.getContext(); in computeOffset() local
292 if (!IsCompleteType(astContext, elemType)) in computeOffset()
300 astContext.getTypeSizeInChars(elemType), in computeOffset()
/external/clang/include/clang/Analysis/
DCFG.h134 const CXXDestructorDecl *getDestructorDecl(ASTContext &astContext) const;
135 bool isNoReturn(ASTContext &astContext) const;
/external/clang/lib/Analysis/
DCFG.cpp297 explicit CFGBuilder(ASTContext *astContext, in CFGBuilder() argument
299 : Context(astContext), cfg(new CFG()), // crew a new CFG in CFGBuilder()
3294 CFGImplicitDtor::getDestructorDecl(ASTContext &astContext) const { in getDestructorDecl()
3305 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl()
3328 bool CFGImplicitDtor::isNoReturn(ASTContext &astContext) const { in isNoReturn()
3329 if (const CXXDestructorDecl *decl = getDestructorDecl(astContext)) { in isNoReturn()
/external/clang/tools/libclang/
DCIndex.cpp5934 ASTContext &astContext = astUnit->getASTContext(); in clang_getCXTUResourceUsage() local
5938 (unsigned long) astContext.getASTAllocatedMemory()); in clang_getCXTUResourceUsage()
5942 (unsigned long) astContext.Idents.getAllocator().getTotalMemory()); in clang_getCXTUResourceUsage()
5946 (unsigned long) astContext.Selectors.getTotalMemory()); in clang_getCXTUResourceUsage()
5950 (unsigned long) astContext.getSideTableAllocatedMemory()); in clang_getCXTUResourceUsage()
5965 (unsigned long) astContext.getSourceManager().getContentCacheSize()); in clang_getCXTUResourceUsage()
5979 (unsigned long) astContext.getSourceManager() in clang_getCXTUResourceUsage()
5983 if (ExternalASTSource *esrc = astContext.getExternalSource()) { in clang_getCXTUResourceUsage()