Home | History | Annotate | Download | only in libclang

Lines Matching defs:TU

23 static void getTopOverriddenMethods(CXTranslationUnit TU,
32 cxcursor::getOverriddenCursors(cxcursor::MakeCXCursor(D, TU), Overridden);
41 getTopOverriddenMethods(TU, cxcursor::getCursorDecl(*I), Methods);
47 CXTranslationUnit TU;
56 FindFileIdRefVisitData(CXTranslationUnit TU, FileID FID,
59 : TU(TU), FID(FID), SelectorIdIdx(selectorIdIdx), visitor(visitor) {
61 getTopOverriddenMethods(TU, Dcl, TopMethods);
65 return cxtu::getASTUnit(TU)->getASTContext();
118 getTopOverriddenMethods(TU, D, methods);
215 static bool findIdRefsInFile(CXTranslationUnit TU, CXCursor declCursor,
219 SourceManager &SM = cxtu::getASTUnit(TU)->getSourceManager();
226 FindFileIdRefVisitData data(TU, FID, Dcl,
231 return clang_visitChildren(cxcursor::MakeCXCursor(cast<Decl>(DC), TU),
236 CursorVisitor FindIdRefsVisitor(TU,
309 static bool findMacroRefsInFile(CXTranslationUnit TU, CXCursor Cursor,
316 ASTUnit *Unit = cxtu::getASTUnit(TU);
331 CursorVisitor FindMacroRefsVisitor(TU,
384 static bool findIncludesInFile(CXTranslationUnit TU, const FileEntry *File,
386 assert(TU && File && Visitor.visit);
388 ASTUnit *Unit = cxtu::getASTUnit(TU);
396 CursorVisitor InclusionCursorsVisitor(TU,
481 CXResult clang_findIncludesInFile(CXTranslationUnit TU, CXFile file,
483 if (cxtu::isNotUsableTU(TU)) {
484 LOG_BAD_TU(TU);
501 *Log << TU << " @" << static_cast<const FileEntry *>(file);
503 ASTUnit *CXXUnit = cxtu::getASTUnit(TU);
509 if (findIncludesInFile(TU, static_cast<const FileEntry *>(file), visitor))
529 CXResult clang_findIncludesInFileWithBlock(CXTranslationUnit TU,
534 return clang_findIncludesInFile(TU, file, visitor);