Lines Matching refs:TU

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