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