Lines Matching refs:CTUnit
3345 void clang_disposeTranslationUnit(CXTranslationUnit CTUnit) { in clang_disposeTranslationUnit() argument
3346 if (CTUnit) { in clang_disposeTranslationUnit()
3349 ASTUnit *Unit = cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()
3353 delete cxtu::getASTUnit(CTUnit); in clang_disposeTranslationUnit()
3354 delete CTUnit->StringPool; in clang_disposeTranslationUnit()
3355 delete static_cast<CXDiagnosticSetImpl *>(CTUnit->Diagnostics); in clang_disposeTranslationUnit()
3356 disposeOverridenCXCursorsPool(CTUnit->OverridenCursorsPool); in clang_disposeTranslationUnit()
3357 delete CTUnit->CommentToXML; in clang_disposeTranslationUnit()
3358 delete CTUnit; in clang_disposeTranslationUnit()
3443 CXString clang_getTranslationUnitSpelling(CXTranslationUnit CTUnit) { in clang_getTranslationUnitSpelling() argument
3444 if (isNotUsableTU(CTUnit)) { in clang_getTranslationUnitSpelling()
3445 LOG_BAD_TU(CTUnit); in clang_getTranslationUnitSpelling()
3449 ASTUnit *CXXUnit = cxtu::getASTUnit(CTUnit); in clang_getTranslationUnitSpelling()