Lines Matching refs:CTUnit
3198 void clang_disposeTranslationUnit(CXTranslationUnit CTUnit) { in clang_disposeTranslationUnit() argument
3199 if (CTUnit) { in clang_disposeTranslationUnit()
3202 ASTUnit *Unit = cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()
3206 delete cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()
3207 delete CTUnit->StringPool; in clang_disposeTranslationUnit()
3208 delete static_cast<CXDiagnosticSetImpl *>(CTUnit->Diagnostics); in clang_disposeTranslationUnit()
3209 disposeOverridenCXCursorsPool(CTUnit->OverridenCursorsPool); in clang_disposeTranslationUnit()
3210 delete CTUnit->CommentToXML; in clang_disposeTranslationUnit()
3211 delete CTUnit; in clang_disposeTranslationUnit()
3304 CXString clang_getTranslationUnitSpelling(CXTranslationUnit CTUnit) { in clang_getTranslationUnitSpelling() argument
3305 if (isNotUsableTU(CTUnit)) { in clang_getTranslationUnitSpelling()
3306 LOG_BAD_TU(CTUnit); in clang_getTranslationUnitSpelling()
3310 ASTUnit *CXXUnit = cxtu::getASTUnit(CTUnit); in clang_getTranslationUnitSpelling()