Searched refs:getASTUnit (Results 1 – 14 of 14) 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()504 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_findIncludesInFile()
103 ASTContext &Ctx = cxtu::getASTUnit(TU)->getASTContext(); in MakeCXType()140 ASTContext &Context = cxtu::getASTUnit(TU)->getASTContext(); in clang_getCursorType()222 PrintingPolicy PP(cxtu::getASTUnit(TU)->getASTContext().getLangOpts()); in clang_getTypeSpelling()322 return MakeCXType(cxtu::getASTUnit(TU)->getASTContext() in clang_getCanonicalType()586 return T.isPODType(cxtu::getASTUnit(TU)->getASTContext()) ? 1 : 0; in clang_isPODType()687 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext(); in clang_Type_getAlignOf()707 ASTContext &Ctx = cxtu::getASTUnit(GetTU(T))->getASTContext(); in clang_Type_getSizeOf()779 ASTContext &Ctx = cxtu::getASTUnit(GetTU(PT))->getASTContext(); in clang_Type_getOffsetOf()
41 static inline ASTUnit *getASTUnit(CXTranslationUnit TU) { in getASTUnit() function
52 return cxtu::getASTUnit(CXC.TranslationUnit)->getASTContext(); in getASTContext()
160 ASTUnit *AU = cxtu::getASTUnit(TU); in lazyCreateDiags()211 if (!cxtu::getASTUnit(Unit)) in clang_getNumDiagnostics()229 if (!cxtu::getASTUnit(Unit)) in clang_getDiagnosticSetFromTU()
28 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getInclusions()
151 : TU(TU), AU(cxtu::getASTUnit(TU)), in TU()175 ASTUnit *getASTUnit() const { return AU; } in getASTUnit() function
209 SourceManager &SM = Visitor.getASTUnit()->getSourceManager(); in visitPreprocessedEntitiesInRange()230 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitFileRegion()279 ASTUnit *Unit = cxtu::getASTUnit(TU); in visitDeclsFromFileRegion()496 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in VisitChildren()2846 bool hadError = cxtu::getASTUnit(STUI->TU)->Save(STUI->FileName); in clang_saveTranslationUnit_Impl()2859 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_saveTranslationUnit()2900 if (cxtu::getASTUnit(CTUnit)->isUnsafeToFree()) in clang_disposeTranslationUnit()2903 delete cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()2945 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_reparseTranslationUnit_Impl()2988 cxtu::getASTUnit(TU)->setUnsafeToFree(true); in clang_reparseTranslationUnit()[all …]
129 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocation()155 ASTUnit *CXXUnit = cxtu::getASTUnit(TU); in clang_getLocationForOffset()
683 ASTUnit *AST = cxtu::getASTUnit(TU); in clang_codeCompleteAt_Impl()836 cxtu::getASTUnit(TU)->setUnsafeToFree(true); in clang_codeCompleteAt()
199 cxtu::getASTUnit(CXTU)->setASTContext(&ctx); in setASTContext()203 cxtu::getASTUnit(CXTU)->setPreprocessor(&PP); in setPreprocessor()
787 ASTUnit *Unit = cxtu::getASTUnit(TU); in clang_indexTranslationUnit_Impl()
1452 SourceManager &SM = cxtu::getASTUnit(TU)->getSourceManager(); in clang_FullComment_getAsXML()
826 return cxtu::getASTUnit(TU); in getCursorASTUnit()