Lines Matching refs:CXCursor
165 static SourceRange getRawCursorExtent(CXCursor C);
166 static SourceRange getFullCursorExtent(CXCursor C, SourceManager &SrcMgr);
183 bool CursorVisitor::Visit(CXCursor Cursor, bool CheckedRegionOfInterest) { in Visit()
481 bool CursorVisitor::VisitChildren(CXCursor Cursor) { in VisitChildren()
591 Optional<bool> CursorVisitor::shouldVisitCursor(CXCursor Cursor) { in shouldVisitCursor()
635 CXCursor Cursor = MakeCXCursor(D, TU, RegionOfInterest); in handleDeclForVisitation()
1028 CXCursor Cursor = MakeCXCursor(*I, TU, RegionOfInterest); in VisitObjCContainerDecl()
1753 NAME(const DATA *d, CXCursor parent) : \
1771 const TemplateArgumentLoc *End, CXCursor parent) in ExplicitTemplateArgsVisit()
1786 DeclVisit(const Decl *D, CXCursor parent, bool isFirst) : in DeclVisit()
1797 TypeLocVisit(TypeLoc tl, CXCursor parent) : in TypeLocVisit()
1813 LabelRefVisit(LabelDecl *LD, SourceLocation labelLoc, CXCursor parent) in LabelRefVisit()
1829 NestedNameSpecifierLocVisit(NestedNameSpecifierLoc Qualifier, CXCursor parent) in NestedNameSpecifierLocVisit()
1848 DeclarationNameInfoVisit(const Stmt *S, CXCursor parent) in DeclarationNameInfoVisit()
1871 MemberRefVisit(const FieldDecl *D, SourceLocation L, CXCursor parent) in MemberRefVisit()
1887 CXCursor Parent;
1889 EnqueueVisitor(VisitorWorkList &wl, CXCursor parent) in EnqueueVisitor()
2762 bool CursorVisitor::IsInRegionOfInterest(CXCursor C) { in IsInRegionOfInterest()
2842 CXCursor Cursor = MakeCXCursor(S, StmtParent, TU, RegionOfInterest); in RunVisitorWorkList()
3400 static const IdentifierInfo *getMacroIdentifier(CXCursor C) { in getMacroIdentifier()
3411 unsigned clang_Cursor_isMacroFunctionLike(CXCursor C) { in clang_Cursor_isMacroFunctionLike()
3423 unsigned clang_Cursor_isMacroBuiltin(CXCursor C) { in clang_Cursor_isMacroBuiltin()
3435 unsigned clang_Cursor_isFunctionInlined(CXCursor C) { in clang_Cursor_isFunctionInlined()
3515 static const ExprEvalResult* evaluateExpr(Expr *expr, CXCursor C) { in evaluateExpr()
3655 CXEvalResult clang_Cursor_Evaluate(CXCursor C) { in clang_Cursor_Evaluate()
3685 unsigned clang_Cursor_hasAttrs(CXCursor C) { in clang_Cursor_hasAttrs()
3871 CXCursor clang_getTranslationUnitCursor(CXTranslationUnit TU) { in clang_getTranslationUnitCursor()
4035 unsigned clang_visitChildren(CXCursor parent, in clang_visitChildren()
4048 (^CXCursorVisitorBlock)(CXCursor cursor, CXCursor parent);
4050 static enum CXChildVisitResult visitWithBlock(CXCursor cursor, CXCursor parent, in visitWithBlock()
4063 enum CXChildVisitResult(*invoke)(struct _CXChildVisitResult*, CXCursor,
4064 CXCursor);
4067 static enum CXChildVisitResult visitWithBlock(CXCursor cursor, CXCursor parent, in visitWithBlock()
4075 unsigned clang_visitChildrenWithBlock(CXCursor parent, in clang_visitChildrenWithBlock()
4117 CXString clang_getCursorSpelling(CXCursor C) { in clang_getCursorSpelling()
4278 CXSourceRange clang_Cursor_getSpellingNameRange(CXCursor C, in clang_Cursor_getSpellingNameRange()
4372 CXString clang_Cursor_getMangling(CXCursor C) { in clang_Cursor_getMangling()
4386 CXStringSet *clang_Cursor_getCXXManglings(CXCursor C) { in clang_Cursor_getCXXManglings()
4400 CXString clang_getCursorDisplayName(CXCursor C) { in clang_getCursorDisplayName()
4896 CXCursor &BestCursor;
4899 SourceLocation tokenBegin, CXCursor &outputCursor) in GetCursorData()
4906 static enum CXChildVisitResult GetCursorVisitor(CXCursor cursor, in GetCursorVisitor()
4907 CXCursor parent, in GetCursorVisitor()
4910 CXCursor *BestCursor = &Data->BestCursor; in GetCursorVisitor()
5006 CXCursor clang_getCursor(CXTranslationUnit TU, CXSourceLocation Loc) { in clang_getCursor()
5016 CXCursor Result = cxcursor::getCursor(TU, SLoc); in clang_getCursor()
5046 CXCursor Definition = clang_getCursorDefinition(Result); in clang_getCursor()
5068 CXCursor clang_getNullCursor(void) { in clang_getNullCursor()
5072 unsigned clang_equalCursors(CXCursor X, CXCursor Y) { in clang_equalCursors()
5088 unsigned clang_hashCursor(CXCursor C) { in clang_hashCursor()
5142 CXCursorKind clang_getCursorKind(CXCursor C) { in clang_getCursorKind()
5146 CXSourceLocation clang_getCursorLocation(CXCursor C) { in clang_getCursorLocation()
5284 CXCursor cxcursor::getCursor(CXTranslationUnit TU, SourceLocation SLoc) { in getCursor()
5299 CXCursor Result = MakeCXCursorInvalid(CXCursor_NoDeclFound); in getCursor()
5312 static SourceRange getRawCursorExtent(CXCursor C) { in getRawCursorExtent()
5414 static SourceRange getFullCursorExtent(CXCursor C, SourceManager &SrcMgr) { in getFullCursorExtent()
5455 CXSourceRange clang_getCursorExtent(CXCursor C) { in clang_getCursorExtent()
5463 CXCursor clang_getCursorReferenced(CXCursor C) { in clang_getCursorReferenced()
5486 CXCursor declCursor = MakeCXCursor(D, tu); in clang_getCursorReferenced()
5575 CXCursor clang_getCursorDefinition(CXCursor C) { in clang_getCursorDefinition()
5788 unsigned clang_isCursorDefinition(CXCursor C) { in clang_isCursorDefinition()
5795 CXCursor clang_getCanonicalCursor(CXCursor C) { in clang_getCanonicalCursor()
5814 int clang_Cursor_getObjCSelectorIndex(CXCursor cursor) { in clang_Cursor_getObjCSelectorIndex()
5818 unsigned clang_getNumOverloadedDecls(CXCursor C) { in clang_getNumOverloadedDecls()
5837 CXCursor clang_getOverloadedDecl(CXCursor cursor, unsigned index) { in clang_getOverloadedDecl()
5864 void clang_getDefinitionSpellingAndExtent(CXCursor C, in clang_getDefinitionSpellingAndExtent()
5885 CXSourceRange clang_getCursorReferenceNameRange(CXCursor C, unsigned NameFlags, in clang_getCursorReferenceNameRange()
6154 static enum CXChildVisitResult AnnotateTokensVisitor(CXCursor cursor,
6155 CXCursor parent,
6157 static bool AnnotateTokensPostChildrenVisitor(CXCursor cursor,
6163 CXCursor *Cursors;
6172 CXCursor Cursor;
6200 void annotateAndAdvanceTokens(CXCursor, RangeComparisonResult, SourceRange);
6201 bool annotateAndAdvanceFunctionMacroTokens(CXCursor, RangeComparisonResult,
6205 AnnotateTokensWorker(CXToken *tokens, CXCursor *cursors, unsigned numTokens, in AnnotateTokensWorker()
6219 void VisitChildren(CXCursor C) { AnnotateVis.VisitChildren(C); } in VisitChildren()
6220 enum CXChildVisitResult Visit(CXCursor cursor, CXCursor parent);
6221 bool postVisitChildren(CXCursor cursor);
6242 static inline void updateCursorAnnotation(CXCursor &Cursor, in updateCursorAnnotation()
6243 const CXCursor &updateC) { in updateCursorAnnotation()
6255 void AnnotateTokensWorker::annotateAndAdvanceTokens(CXCursor updateC, in annotateAndAdvanceTokens()
6277 CXCursor updateC, in annotateAndAdvanceFunctionMacroTokens()
6314 AnnotateTokensWorker::Visit(CXCursor cursor, CXCursor parent) { in Visit()
6429 const CXCursor updateC = in Visit()
6471 bool AnnotateTokensWorker::postVisitChildren(CXCursor cursor) { in postVisitChildren()
6504 static enum CXChildVisitResult AnnotateTokensVisitor(CXCursor cursor, in AnnotateTokensVisitor()
6505 CXCursor parent, in AnnotateTokensVisitor()
6510 static bool AnnotateTokensPostChildrenVisitor(CXCursor cursor, in AnnotateTokensPostChildrenVisitor()
6532 CXChildVisitResult visit(CXCursor cursor, CXCursor parent) { in visit()
6587 MarkMacroArgTokensVisitorDelegate(CXCursor cursor, CXCursor parent, in MarkMacroArgTokensVisitorDelegate()
6607 CXCursor *Cursors, in annotatePreprocessorTokens()
6695 CXCursor Cursor = in annotatePreprocessorTokens()
6711 CXCursor *Cursors) { in clang_annotateTokensImpl()
6821 CXCursor *Cursors) { in clang_annotateTokens()
6839 CXCursor C = clang_getNullCursor(); in clang_annotateTokens()
6865 CXLinkageKind clang_getCursorLinkage(CXCursor cursor) { in clang_getCursorLinkage()
6888 CXVisibilityKind clang_getCursorVisibility(CXCursor cursor) { in clang_getCursorVisibility()
6982 enum CXAvailabilityKind clang_getCursorAvailability(CXCursor cursor) { in clang_getCursorAvailability()
7071 int clang_getCursorPlatformAvailability(CXCursor cursor, in clang_getCursorPlatformAvailability()
7107 CXLanguageKind clang_getCursorLanguage(CXCursor cursor) { in clang_getCursorLanguage()
7133 enum CX_StorageClass clang_Cursor_getStorageClass(CXCursor C) { in clang_Cursor_getStorageClass()
7164 CXCursor clang_getCursorSemanticParent(CXCursor cursor) { in clang_getCursorSemanticParent()
7184 CXCursor clang_getCursorLexicalParent(CXCursor cursor) { in clang_getCursorLexicalParent()
7201 CXFile clang_getIncludedFile(CXCursor cursor) { in clang_getIncludedFile()
7209 unsigned clang_Cursor_getObjCPropertyAttributes(CXCursor C, unsigned reserved) { in clang_Cursor_getObjCPropertyAttributes()
7239 unsigned clang_Cursor_getObjCDeclQualifiers(CXCursor C) { in clang_Cursor_getObjCDeclQualifiers()
7263 unsigned clang_Cursor_isObjCOptional(CXCursor C) { in clang_Cursor_isObjCOptional()
7276 unsigned clang_Cursor_isVariadic(CXCursor C) { in clang_Cursor_isVariadic()
7289 CXSourceRange clang_Cursor_getCommentRange(CXCursor C) { in clang_Cursor_getCommentRange()
7302 CXString clang_Cursor_getRawCommentText(CXCursor C) { in clang_Cursor_getRawCommentText()
7317 CXString clang_Cursor_getBriefCommentText(CXCursor C) { in clang_Cursor_getBriefCommentText()
7336 CXModule clang_Cursor_getModule(CXCursor C) { in clang_Cursor_getModule()
7437 unsigned clang_CXXConstructor_isDefaultConstructor(CXCursor C) { in clang_CXXConstructor_isDefaultConstructor()
7447 unsigned clang_CXXConstructor_isCopyConstructor(CXCursor C) { in clang_CXXConstructor_isCopyConstructor()
7457 unsigned clang_CXXConstructor_isMoveConstructor(CXCursor C) { in clang_CXXConstructor_isMoveConstructor()
7467 unsigned clang_CXXConstructor_isConvertingConstructor(CXCursor C) { in clang_CXXConstructor_isConvertingConstructor()
7478 unsigned clang_CXXField_isMutable(CXCursor C) { in clang_CXXField_isMutable()
7488 unsigned clang_CXXMethod_isPureVirtual(CXCursor C) { in clang_CXXMethod_isPureVirtual()
7498 unsigned clang_CXXMethod_isConst(CXCursor C) { in clang_CXXMethod_isConst()
7508 unsigned clang_CXXMethod_isDefaulted(CXCursor C) { in clang_CXXMethod_isDefaulted()
7518 unsigned clang_CXXMethod_isStatic(CXCursor C) { in clang_CXXMethod_isStatic()
7528 unsigned clang_CXXMethod_isVirtual(CXCursor C) { in clang_CXXMethod_isVirtual()
7544 CXType clang_getIBOutletCollectionType(CXCursor C) { in clang_getIBOutletCollectionType()
7954 Logger &cxindex::Logger::operator<<(CXCursor cursor) { in operator <<()