Lines Matching defs:TU
40 static void indexDiagnostics(CXTranslationUnit TU, IndexingContext &IdxCtx);
693 static void indexDiagnostics(CXTranslationUnit TU, IndexingContext &IdxCtx) {
697 CXDiagnosticSetImpl *DiagSet = cxdiag::lazyCreateDiags(TU);
704 unsigned index_options, CXTranslationUnit TU) {
706 if (isNotUsableTU(TU)) {
707 LOG_BAD_TU(TU);
714 CIndexer *CXXIdx = TU->CIdx;
725 IndexCtx.reset(new IndexingContext(client_data, CB, index_options, TU));
738 ASTUnit *Unit = cxtu::getASTUnit(TU);
758 indexDiagnostics(TU, *IndexCtx);
999 CXTranslationUnit TU) {
1001 *Log << TU;
1008 index_options, TU);
1019 fprintf(stderr, "libclang: crash detected during indexing TU\n");