/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 = 0); 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 | 34 CXCursor cxcursor::MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU) { in MakeCXCursorInvalid() 36 CXCursor C = { K, 0, { 0, 0, TU } }; in MakeCXCursorInvalid() 56 CXCursor cxcursor::MakeCXCursor(const Attr *A, const Decl *Parent, in MakeCXCursor() 59 CXCursor C = { GetCursorKind(A), 0, { Parent, A, TU } }; in MakeCXCursor() 63 CXCursor cxcursor::MakeCXCursor(const Decl *D, CXTranslationUnit TU, in MakeCXCursor() 83 CXCursor C = { K, SelectorIdIndex, in MakeCXCursor() 88 CXCursor C = { K, 0, { D, (void*)(intptr_t) (FirstInDeclGroup ? 1 : 0), TU }}; in MakeCXCursor() 92 CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent, in MakeCXCursor() 501 CXCursor C = { K, 0, { Parent, S, TU } }; in MakeCXCursor() 514 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 = 0, 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 | 144 static SourceRange getRawCursorExtent(CXCursor C); 145 static SourceRange getFullCursorExtent(CXCursor C, SourceManager &SrcMgr); 162 bool CursorVisitor::Visit(CXCursor Cursor, bool CheckedRegionOfInterest) { in Visit() 461 bool CursorVisitor::VisitChildren(CXCursor Cursor) { in VisitChildren() 568 Optional<bool> CursorVisitor::shouldVisitCursor(CXCursor Cursor) { in shouldVisitCursor() 603 CXCursor Cursor = MakeCXCursor(D, TU, RegionOfInterest); in VisitDeclContext() 1005 CXCursor Cursor = MakeCXCursor(*I, TU, RegionOfInterest); in VisitObjCContainerDecl() 1689 NAME(const DATA *d, CXCursor parent) : \ 1708 DeclVisit(const Decl *D, CXCursor parent, bool isFirst) : in DeclVisit() 1719 TypeLocVisit(TypeLoc tl, CXCursor parent) : in TypeLocVisit() [all …]
|
D | CXType.cpp | 133 CXType clang_getCursorType(CXCursor C) { in clang_getCursorType() 229 CXType clang_getTypedefDeclUnderlyingType(CXCursor C) { in clang_getTypedefDeclUnderlyingType() 247 CXType clang_getEnumDeclIntegerType(CXCursor C) { in clang_getEnumDeclIntegerType() 265 long long clang_getEnumConstantDeclValue(CXCursor C) { in clang_getEnumConstantDeclValue() 281 unsigned long long clang_getEnumConstantDeclUnsignedValue(CXCursor C) { in clang_getEnumConstantDeclUnsignedValue() 297 int clang_getFieldDeclBitWidth(CXCursor C) { in clang_getFieldDeclBitWidth() 370 CXCursor clang_getTypeDeclaration(CXType CT) { in clang_getTypeDeclaration() 567 CXType clang_getCursorResultType(CXCursor C) { in clang_getCursorResultType() 755 CXCursor PC = clang_getTypeDeclaration(PT); in clang_Type_getOffsetOf() 797 unsigned clang_Cursor_isBitField(CXCursor C) { in clang_Cursor_isBitField() [all …]
|
D | IndexingContext.h | 212 AttrInfo(CXIdxAttrKind Kind, CXCursor C, CXIdxLoc Loc, const Attr *A) { in AttrInfo() 224 IBOutletCollectionInfo(CXCursor C, CXIdxLoc Loc, const Attr *A) : in IBOutletCollectionInfo() 438 bool handleReference(const NamedDecl *D, SourceLocation Loc, CXCursor Cursor, 473 SourceLocation Loc, CXCursor Cursor, 478 SourceLocation Loc, CXCursor Cursor, 499 CXCursor getCursor(const Decl *D) { in getCursor() 503 CXCursor getRefCursor(const NamedDecl *D, SourceLocation Loc);
|
D | CMakeLists.txt | 22 CXCursor.cpp 23 CXCursor.h
|
D | Index_Internal.h | 38 CXCursor, CXSourceRange);
|
D | CLog.h | 69 Logger &operator<<(CXCursor cursor);
|
D | IndexingContext.cpp | 72 CXCursor C = MakeCXCursor(A, D, IdxCtx.CXTU); in AttrListInfo() 311 SourceLocation Loc, CXCursor Cursor, in handleDecl() 367 SourceLocation Loc, CXCursor Cursor, in handleObjCContainer() 660 CXCursor Cursor = E ? MakeCXCursor(E, cast<Decl>(DC), CXTU) in handleReference() 666 CXCursor Cursor, in handleReference() 1127 CXCursor IndexingContext::getRefCursor(const NamedDecl *D, SourceLocation Loc) { in getRefCursor()
|
D | CIndexUSRs.cpp | 822 CXString clang_getCursorUSR(CXCursor C) { in clang_getCursorUSR()
|
D | CIndexCodeCompletion.cpp | 596 CXCursor cursor = cxcursor::MakeCXCursor(D, *TU); in ProcessCodeCompleteResults()
|
/external/clang/include/clang-c/ |
D | Index.h | 2136 } CXCursor; typedef 2155 CINDEX_LINKAGE CXCursor clang_getNullCursor(void); 2163 CINDEX_LINKAGE CXCursor clang_getTranslationUnitCursor(CXTranslationUnit); 2168 CINDEX_LINKAGE unsigned clang_equalCursors(CXCursor, CXCursor); 2173 CINDEX_LINKAGE int clang_Cursor_isNull(CXCursor cursor); 2178 CINDEX_LINKAGE unsigned clang_hashCursor(CXCursor); 2183 CINDEX_LINKAGE enum CXCursorKind clang_getCursorKind(CXCursor); 2263 CINDEX_LINKAGE enum CXLinkageKind clang_getCursorLinkage(CXCursor cursor); 2274 clang_getCursorAvailability(CXCursor cursor); 2350 clang_getCursorPlatformAvailability(CXCursor cursor, [all …]
|
/external/clang/tools/c-index-test/ |
D | c-index-test.c | 521 static void PrintCursorComments(CXCursor Cursor, in PrintCursorComments() 575 static void PrintCursor(CXCursor Cursor, in PrintCursor() 585 CXCursor Referenced; in PrintCursor() 587 CXCursor SpecializationOf; in PrintCursor() 588 CXCursor *overridden; in PrintCursor() 615 CXCursor Ovl = clang_getOverloadedDecl(Referenced, I); in PrintCursor() 837 static const char* GetCursorSource(CXCursor Cursor) { in GetCursorSource() 956 static void PrintCursorExtent(CXCursor C) { in PrintCursorExtent() 969 enum CXChildVisitResult FilteredPrintingVisitor(CXCursor Cursor, in FilteredPrintingVisitor() 970 CXCursor Parent, in FilteredPrintingVisitor() [all …]
|