/external/clang/tools/libclang/ |
D | CXCursor.h | 49 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 …]
|
D | CXCursor.cpp | 35 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() 530 CXCursor C = { K, 0, { Parent, S, TU } }; in MakeCXCursor() 623 CXCursor C = { K, 0, { Parent, S, TU } }; in MakeCXCursor() [all …]
|
D | CursorVisitor.h | 37 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 …]
|
D | CIndexHigh.cpp | 31 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 …]
|
D | CIndexCXX.cpp | 25 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()
|
D | CIndex.cpp | 168 static SourceRange getRawCursorExtent(CXCursor C); 169 static SourceRange getFullCursorExtent(CXCursor C, SourceManager &SrcMgr); 186 bool CursorVisitor::Visit(CXCursor Cursor, bool CheckedRegionOfInterest) { in Visit() 484 bool CursorVisitor::VisitChildren(CXCursor Cursor) { in VisitChildren() 592 Optional<bool> CursorVisitor::shouldVisitCursor(CXCursor Cursor) { in shouldVisitCursor() 627 CXCursor Cursor = MakeCXCursor(D, TU, RegionOfInterest); in VisitDeclContext() 1027 CXCursor Cursor = MakeCXCursor(*I, TU, RegionOfInterest); in VisitObjCContainerDecl() 1748 NAME(const DATA *d, CXCursor parent) : \ 1767 DeclVisit(const Decl *D, CXCursor parent, bool isFirst) : in DeclVisit() 1778 TypeLocVisit(TypeLoc tl, CXCursor parent) : in TypeLocVisit() [all …]
|
D | CXType.cpp | 146 CXType clang_getCursorType(CXCursor C) { in clang_getCursorType() 236 CXType clang_getTypedefDeclUnderlyingType(CXCursor C) { in clang_getTypedefDeclUnderlyingType() 254 CXType clang_getEnumDeclIntegerType(CXCursor C) { in clang_getEnumDeclIntegerType() 272 long long clang_getEnumConstantDeclValue(CXCursor C) { in clang_getEnumConstantDeclValue() 288 unsigned long long clang_getEnumConstantDeclUnsignedValue(CXCursor C) { in clang_getEnumConstantDeclUnsignedValue() 304 int clang_getFieldDeclBitWidth(CXCursor C) { in clang_getFieldDeclBitWidth() 380 CXCursor clang_getTypeDeclaration(CXType CT) { in clang_getTypeDeclaration() 583 CXType clang_getCursorResultType(CXCursor C) { in clang_getCursorResultType() 779 static long long validateFieldParentType(CXCursor PC, CXType PT){ in validateFieldParentType() 807 CXCursor PC = clang_getTypeDeclaration(PT); in clang_Type_getOffsetOf() [all …]
|
D | IndexingContext.h | 215 AttrInfo(CXIdxAttrKind Kind, CXCursor C, CXIdxLoc Loc, const Attr *A) { in AttrInfo() 227 IBOutletCollectionInfo(CXCursor C, CXIdxLoc Loc, const Attr *A) : in IBOutletCollectionInfo() 434 bool handleReference(const NamedDecl *D, SourceLocation Loc, CXCursor Cursor, 469 SourceLocation Loc, CXCursor Cursor, 474 SourceLocation Loc, CXCursor Cursor, 495 CXCursor getCursor(const Decl *D) { in getCursor() 499 CXCursor getRefCursor(const NamedDecl *D, SourceLocation Loc);
|
D | CMakeLists.txt | 13 CXCursor.cpp 29 CXCursor.h
|
D | Index_Internal.h | 38 CXCursor, CXSourceRange);
|
D | Android.mk | 32 CXCursor.cpp \
|
D | CLog.h | 70 Logger &operator<<(CXCursor cursor);
|
D | IndexingContext.cpp | 71 CXCursor C = MakeCXCursor(A, D, IdxCtx.CXTU); in AttrListInfo() 310 SourceLocation Loc, CXCursor Cursor, in handleDecl() 366 SourceLocation Loc, CXCursor Cursor, in handleObjCContainer() 661 CXCursor Cursor = E ? MakeCXCursor(E, cast<Decl>(DC), CXTU) in handleReference() 667 CXCursor Cursor, in handleReference() 1128 CXCursor IndexingContext::getRefCursor(const NamedDecl *D, SourceLocation Loc) { in getRefCursor()
|
D | CIndexUSRs.cpp | 41 CXString clang_getCursorUSR(CXCursor C) { in clang_getCursorUSR()
|
D | CXComment.cpp | 32 CXComment clang_Cursor_getParsedComment(CXCursor C) { in clang_Cursor_getParsedComment()
|
D | CIndexCodeCompletion.cpp | 592 CXCursor cursor = cxcursor::MakeCXCursor(D, *TU); in ProcessCodeCompleteResults()
|
/external/clang/include/clang-c/ |
D | Index.h | 2362 } CXCursor; typedef 2373 CINDEX_LINKAGE CXCursor clang_getNullCursor(void); 2381 CINDEX_LINKAGE CXCursor clang_getTranslationUnitCursor(CXTranslationUnit); 2386 CINDEX_LINKAGE unsigned clang_equalCursors(CXCursor, CXCursor); 2391 CINDEX_LINKAGE int clang_Cursor_isNull(CXCursor cursor); 2396 CINDEX_LINKAGE unsigned clang_hashCursor(CXCursor); 2401 CINDEX_LINKAGE enum CXCursorKind clang_getCursorKind(CXCursor); 2481 CINDEX_LINKAGE enum CXLinkageKind clang_getCursorLinkage(CXCursor cursor); 2507 CINDEX_LINKAGE enum CXVisibilityKind clang_getCursorVisibility(CXCursor cursor); 2518 clang_getCursorAvailability(CXCursor cursor); [all …]
|
D | Documentation.h | 47 CINDEX_LINKAGE CXComment clang_Cursor_getParsedComment(CXCursor C);
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 601 static void PrintCursorComments(CXCursor Cursor, in PrintCursorComments() 655 static void PrintCursor(CXCursor Cursor, const char *CommentSchemaFile) { in PrintCursor() 664 CXCursor Referenced; in PrintCursor() 666 CXCursor SpecializationOf; in PrintCursor() 667 CXCursor *overridden; in PrintCursor() 694 CXCursor Ovl = clang_getOverloadedDecl(Referenced, I); in PrintCursor() 947 static const char* GetCursorSource(CXCursor Cursor) { in GetCursorSource() 1065 static void PrintCursorExtent(CXCursor C) { in PrintCursorExtent() 1078 enum CXChildVisitResult FilteredPrintingVisitor(CXCursor Cursor, in FilteredPrintingVisitor() 1079 CXCursor Parent, in FilteredPrintingVisitor() [all …]
|