Lines Matching refs:Cursors
6163 CXCursor *Cursors; member in __anonc9d3eafc0a11::AnnotateTokensWorker
6207 : Tokens(tokens), Cursors(cursors), in AnnotateTokensWorker()
6266 updateCursorAnnotation(Cursors[I], updateC); in annotateAndAdvanceTokens()
6300 if (clang_isInvalid(clang_getCursorKind(Cursors[I]))) in annotateAndAdvanceFunctionMacroTokens()
6301 Cursors[I] = updateC; in annotateAndAdvanceFunctionMacroTokens()
6403 Cursors[I] = cursor; in Visit()
6408 if (Cursors[I].kind != CXCursor_MacroExpansion) in Visit()
6409 Cursors[I] = cursor; in Visit()
6449 updateCursorAnnotation(Cursors[I], updateC); in Visit()
6489 if (!clang_isInvalid(clang_getCursorKind(Cursors[I]))) in postVisitChildren()
6492 Cursors[I] = cursor; in postVisitChildren()
6607 CXCursor *Cursors, in annotatePreprocessorTokens() argument
6686 Cursors[NextIdx - 1] = in annotatePreprocessorTokens()
6699 updateCursorAnnotation(Cursors[TokIdx], Cursor); in annotatePreprocessorTokens()
6711 CXCursor *Cursors) { in clang_annotateTokensImpl() argument
6726 annotatePreprocessorTokens(TU, RegionOfInterest, Cursors, Tokens, NumTokens); in clang_annotateTokensImpl()
6752 AnnotateTokensWorker W(Tokens, Cursors, NumTokens, TU, RegionOfInterest); in clang_annotateTokensImpl()
6768 if (Cursors[I].kind == CXCursor_ObjCPropertyDecl) { in clang_annotateTokensImpl()
6771 = dyn_cast_or_null<ObjCPropertyDecl>(getCursorDecl(Cursors[I]))) { in clang_annotateTokensImpl()
6793 if (Cursors[I].kind == CXCursor_ObjCInstanceMethodDecl || in clang_annotateTokensImpl()
6794 Cursors[I].kind == CXCursor_ObjCClassMethodDecl) { in clang_annotateTokensImpl()
6808 if (Cursors[I].kind == CXCursor_CXXFinalAttr || in clang_annotateTokensImpl()
6809 Cursors[I].kind == CXCursor_CXXOverrideAttr) { in clang_annotateTokensImpl()
6821 CXCursor *Cursors) { in clang_annotateTokens() argument
6826 if (NumTokens == 0 || !Tokens || !Cursors) { in clang_annotateTokens()
6841 Cursors[I] = C; in clang_annotateTokens()
6850 clang_annotateTokensImpl(TU, CXXUnit, Tokens, NumTokens, Cursors); in clang_annotateTokens()