Home
last modified time | relevance | path

Searched refs:CXCursor (Results 1 – 18 of 18) sorted by relevance

/external/clang/tools/libclang/
DCXCursor.h49 CXCursor getCursor(CXTranslationUnit, SourceLocation);
51 CXCursor MakeCXCursor(const clang::Attr *A, const clang::Decl *Parent,
53 CXCursor MakeCXCursor(const clang::Decl *D, CXTranslationUnit TU,
56 CXCursor MakeCXCursor(const clang::Stmt *S, const clang::Decl *Parent,
59 CXCursor MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU = nullptr);
62 CXCursor MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super,
69 getCursorObjCSuperClassRef(CXCursor C);
72 CXCursor MakeCursorObjCProtocolRef(const ObjCProtocolDecl *Proto,
79 getCursorObjCProtocolRef(CXCursor C);
82 CXCursor MakeCursorObjCClassRef(const ObjCInterfaceDecl *Class,
[all …]
DCXCursor.cpp35 CXCursor cxcursor::MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU) { in MakeCXCursorInvalid()
37 CXCursor C = { K, 0, { nullptr, nullptr, TU } }; in MakeCXCursorInvalid()
69 CXCursor cxcursor::MakeCXCursor(const Attr *A, const Decl *Parent, in MakeCXCursor()
72 CXCursor C = { GetCursorKind(A), 0, { Parent, A, TU } }; in MakeCXCursor()
76 CXCursor cxcursor::MakeCXCursor(const Decl *D, CXTranslationUnit TU, in MakeCXCursor()
96 CXCursor C = { K, SelectorIdIndex, in MakeCXCursor()
101 CXCursor C = { K, 0, { D, (void*)(intptr_t) (FirstInDeclGroup ? 1 : 0), TU }}; in MakeCXCursor()
105 CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent, in MakeCXCursor()
531 CXCursor C = { K, 0, { Parent, S, TU } }; in MakeCXCursor()
651 CXCursor C = { K, 0, { Parent, S, TU } }; in MakeCXCursor()
[all …]
DCursorVisitor.h37 CXCursor parent;
39 VisitorJob(CXCursor C, Kind k, const void *d1, const void *d2 = nullptr,
48 const CXCursor &getParent() const { return parent; } in getParent()
60 typedef bool (*PostChildrenVisitorTy)(CXCursor cursor,
69 CXCursor Parent;
122 CXCursor &Parent;
124 CXCursor OldParent;
127 SetParentRAII(CXCursor &Parent, const Decl *&StmtParent, in SetParentRAII()
128 CXCursor NewParent) in SetParentRAII()
178 bool Visit(CXCursor Cursor, bool CheckedRegionOfInterest = false);
[all …]
DCIndexHigh.cpp31 SmallVector<CXCursor, 8> Overridden; in getTopOverriddenMethods()
39 for (SmallVectorImpl<CXCursor>::iterator in getTopOverriddenMethods()
147 static enum CXChildVisitResult findFileIdRefVisit(CXCursor cursor, in findFileIdRefVisit()
148 CXCursor parent, in findFileIdRefVisit()
150 CXCursor declCursor = clang_getCursorReferenced(cursor); in findFileIdRefVisit()
215 static bool findIdRefsInFile(CXTranslationUnit TU, CXCursor declCursor, in findIdRefsInFile()
265 static enum CXChildVisitResult findFileMacroRefVisit(CXCursor cursor, in findFileMacroRefVisit()
266 CXCursor parent, in findFileMacroRefVisit()
309 static bool findMacroRefsInFile(CXTranslationUnit TU, CXCursor Cursor, in findMacroRefsInFile()
354 enum CXChildVisitResult visit(CXCursor cursor, CXCursor parent) { in visit()
[all …]
DCIndexCXX.cpp25 unsigned clang_isVirtualBase(CXCursor C) { in clang_isVirtualBase()
33 enum CX_CXXAccessSpecifier clang_getCXXAccessSpecifier(CXCursor C) { in clang_getCXXAccessSpecifier()
53 enum CXCursorKind clang_getTemplateCursorKind(CXCursor C) { in clang_getTemplateCursorKind()
85 CXCursor clang_getSpecializedCursorTemplate(CXCursor C) { in clang_getSpecializedCursorTemplate()
DCIndex.cpp165 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()
[all …]
DCXType.cpp148 CXType clang_getCursorType(CXCursor C) { in clang_getCursorType()
238 CXType clang_getTypedefDeclUnderlyingType(CXCursor C) { in clang_getTypedefDeclUnderlyingType()
256 CXType clang_getEnumDeclIntegerType(CXCursor C) { in clang_getEnumDeclIntegerType()
274 long long clang_getEnumConstantDeclValue(CXCursor C) { in clang_getEnumConstantDeclValue()
290 unsigned long long clang_getEnumConstantDeclUnsignedValue(CXCursor C) { in clang_getEnumConstantDeclUnsignedValue()
306 int clang_getFieldDeclBitWidth(CXCursor C) { in clang_getFieldDeclBitWidth()
382 CXCursor clang_getTypeDeclaration(CXType CT) { in clang_getTypeDeclaration()
596 CXType clang_getCursorResultType(CXCursor C) { in clang_getCursorResultType()
792 static long long validateFieldParentType(CXCursor PC, CXType PT){ in validateFieldParentType()
820 CXCursor PC = clang_getTypeDeclaration(PT); in clang_Type_getOffsetOf()
[all …]
DCXIndexDataConsumer.h216 AttrInfo(CXIdxAttrKind Kind, CXCursor C, CXIdxLoc Loc, const Attr *A) { in AttrInfo()
228 IBOutletCollectionInfo(CXCursor C, CXIdxLoc Loc, const Attr *A) : in IBOutletCollectionInfo()
436 bool handleReference(const NamedDecl *D, SourceLocation Loc, CXCursor Cursor,
477 SourceLocation Loc, CXCursor Cursor,
483 SourceLocation Loc, CXCursor Cursor,
504 CXCursor getCursor(const Decl *D) { in getCursor()
508 CXCursor getRefCursor(const NamedDecl *D, SourceLocation Loc);
DCMakeLists.txt13 CXCursor.cpp
26 CXCursor.h
DIndex_Internal.h38 CXCursor, CXSourceRange);
DCXIndexDataConsumer.cpp188 CXCursor Cursor; in handleDeclOccurence()
283 CXCursor C = MakeCXCursor(A, D, IdxCtx.CXTU); in AttrListInfo()
530 SourceLocation Loc, CXCursor Cursor, in handleDecl()
589 SourceLocation Loc, CXCursor Cursor, in handleObjCContainer()
885 CXCursor Cursor = E ? MakeCXCursor(E, cast<Decl>(DC), CXTU) in handleReference()
891 CXCursor Cursor, in handleReference()
1198 CXCursor CXIndexDataConsumer::getRefCursor(const NamedDecl *D, SourceLocation Loc) { in getRefCursor()
DCLog.h70 Logger &operator<<(CXCursor cursor);
DCIndexUSRs.cpp41 CXString clang_getCursorUSR(CXCursor C) { in clang_getCursorUSR()
DCXComment.cpp32 CXComment clang_Cursor_getParsedComment(CXCursor C) { in clang_Cursor_getParsedComment()
DCIndexCodeCompletion.cpp592 CXCursor cursor = cxcursor::MakeCXCursor(D, *TU); in ProcessCodeCompleteResults()
/external/clang/include/clang-c/
DIndex.h2413 } CXCursor; typedef
2424 CINDEX_LINKAGE CXCursor clang_getNullCursor(void);
2432 CINDEX_LINKAGE CXCursor clang_getTranslationUnitCursor(CXTranslationUnit);
2437 CINDEX_LINKAGE unsigned clang_equalCursors(CXCursor, CXCursor);
2442 CINDEX_LINKAGE int clang_Cursor_isNull(CXCursor cursor);
2447 CINDEX_LINKAGE unsigned clang_hashCursor(CXCursor);
2452 CINDEX_LINKAGE enum CXCursorKind clang_getCursorKind(CXCursor);
2487 CINDEX_LINKAGE unsigned clang_Cursor_hasAttrs(CXCursor C);
2537 CINDEX_LINKAGE enum CXLinkageKind clang_getCursorLinkage(CXCursor cursor);
2563 CINDEX_LINKAGE enum CXVisibilityKind clang_getCursorVisibility(CXCursor cursor);
[all …]
DDocumentation.h47 CINDEX_LINKAGE CXComment clang_Cursor_getParsedComment(CXCursor C);
/external/clang/tools/c-index-test/
Dc-index-test.c605 static void PrintCursorComments(CXCursor Cursor, in PrintCursorComments()
659 static void PrintCursor(CXCursor Cursor, const char *CommentSchemaFile) { in PrintCursor()
668 CXCursor Referenced; in PrintCursor()
670 CXCursor SpecializationOf; in PrintCursor()
671 CXCursor *overridden; in PrintCursor()
698 CXCursor Ovl = clang_getOverloadedDecl(Referenced, I); in PrintCursor()
963 static const char* GetCursorSource(CXCursor Cursor) { in GetCursorSource()
1081 static void PrintCursorExtent(CXCursor C) { in PrintCursorExtent()
1094 enum CXChildVisitResult FilteredPrintingVisitor(CXCursor Cursor, in FilteredPrintingVisitor()
1095 CXCursor Parent, in FilteredPrintingVisitor()
[all …]