Searched refs:getASTUnit (Results 1 – 15 of 15) sorted by relevance
65 return cxtu::getASTUnit(TU)->getASTContext(); in getASTContext()219 SourceManager &SM = cxtu::getASTUnit(TU)->getSourceManager(); in findIdRefsInFile()316 ASTUnit *Unit = cxtu::getASTUnit(TU); in findMacroRefsInFile()388 ASTUnit *Unit = cxtu::getASTUnit(TU); in findIncludesInFile()503 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_findIncludesInFile()
110 ASTContext &Ctx = cxtu::getASTUnit(TU)->getASTContext(); in MakeCXType()153 ASTContext &Context = cxtu::getASTUnit(TU)->getASTContext(); in clang_getCursorType()229 PrintingPolicy PP(cxtu::getASTUnit(TU)->getASTContext().getLangOpts()); in clang_getTypeSpelling()329 return MakeCXType(cxtu::getASTUnit(TU)->getASTContext() in clang_getCanonicalType()602 return T.isPODType(cxtu::getASTUnit(TU)->getASTContext()) ? 1 : 0; in clang_isPODType()703 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext(); in clang_Type_getAlignOf()734 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext(); in clang_Type_getSizeOf()814 ASTContext &Ctx = cxtu::getASTUnit(GetTU(PT))->getASTContext(); in clang_Type_getOffsetOf()
376 HTC, Text, cxtu::getASTUnit(TU)->getASTContext()); in clang_HTMLTagComment_getAsString()391 ->convertCommentToHTML(FC, HTML, cxtu::getASTUnit(TU)->getASTContext()); in clang_FullComment_getAsHTML()406 ->convertCommentToXML(FC, XML, cxtu::getASTUnit(TU)->getASTContext()); in clang_FullComment_getAsXML()
53 return cxtu::getASTUnit(CXC.TranslationUnit)->getASTContext(); in getASTContext()
162 ASTUnit *AU = cxtu::getASTUnit(TU); in lazyCreateDiags()217 if (!cxtu::getASTUnit(Unit)) in clang_getNumDiagnostics()244 if (!cxtu::getASTUnit(Unit)) in clang_getDiagnosticSetFromTU()
43 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) { in getASTUnit() function
151 : TU(TU), AU(cxtu::getASTUnit(TU)), in TU()175 ASTUnit *getASTUnit() const { return AU; } in getASTUnit() function
32 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getInclusions()
233 SourceManager &SM = Visitor.getASTUnit()->getSourceManager(); in visitPreprocessedEntitiesInRange()253 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitFileRegion()302 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitDeclsFromFileRegion()519 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in VisitChildren()3290 bool hadError = cxtu::getASTUnit(TU)->Save(FileName); in clang_saveTranslationUnit_Impl()3305 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_saveTranslationUnit()3349 ASTUnit *Unit = cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()3353 delete cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()3384 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_reparseTranslationUnit_Impl()3434 cxtu::getASTUnit(TU)->setUnsafeToFree(true); in clang_reparseTranslationUnit()[all …]
135 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocation()165 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocationForOffset()
79 cxtu::getASTUnit(TU)->getSourceManager(), in clang_getCursorUSR()
669 ASTUnit *AST = cxtu::getASTUnit(TU); in clang_codeCompleteAt_Impl()829 cxtu::getASTUnit(TU)->setUnsafeToFree(true); in clang_codeCompleteAt()
198 cxtu::getASTUnit(CXTU)->setASTContext(&ctx); in setASTContext()202 cxtu::getASTUnit(CXTU)->setPreprocessor(&PP); in setPreprocessor()
738 ASTUnit *Unit = cxtu::getASTUnit(TU); in clang_indexTranslationUnit_Impl()
936 return cxtu::getASTUnit(TU); in getCursorASTUnit()