Lines Matching defs:TU
39 static void indexDiagnostics(CXTranslationUnit TU, IndexingContext &IdxCtx);
694 CXTranslationUnit TU;
740 static void indexDiagnostics(CXTranslationUnit TU, IndexingContext &IdxCtx) {
744 CXDiagnosticSetImpl *DiagSet = cxdiag::lazyCreateDiags(TU);
751 CXTranslationUnit TU = ITUI->TU;
758 if (!TU)
763 CIndexer *CXXIdx = TU->CIdx;
774 IndexCtx.reset(new IndexingContext(client_data, CB, index_options, TU));
787 ASTUnit *Unit = cxtu::getASTUnit(TU);
807 indexDiagnostics(TU, *IndexCtx);
1025 CXTranslationUnit TU) {
1027 *Log << TU;
1031 index_callbacks_size, index_options, TU,
1042 fprintf(stderr, "libclang: crash detected during indexing TU\n");