Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCXCursor.h48 CXCursor getCursor(CXTranslationUnit, SourceLocation);
50 CXCursor MakeCXCursor(const clang::Attr *A, clang::Decl *Parent,
52 CXCursor MakeCXCursor(clang::Decl *D, CXTranslationUnit TU,
55 CXCursor MakeCXCursor(clang::Stmt *S, clang::Decl *Parent,
58 CXCursor MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU = 0);
61 CXCursor MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super,
68 getCursorObjCSuperClassRef(CXCursor C);
71 CXCursor MakeCursorObjCProtocolRef(const ObjCProtocolDecl *Proto,
78 getCursorObjCProtocolRef(CXCursor C);
81 CXCursor MakeCursorObjCClassRef(const ObjCInterfaceDecl *Class,
[all …]
DCXCursor.cpp33 CXCursor cxcursor::MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU) { in MakeCXCursorInvalid()
35 CXCursor C = { K, 0, { 0, 0, TU } }; in MakeCXCursorInvalid()
55 CXCursor cxcursor::MakeCXCursor(const Attr *A, Decl *Parent, in MakeCXCursor()
58 CXCursor C = { GetCursorKind(A), 0, { Parent, (void*)A, TU } }; in MakeCXCursor()
62 CXCursor cxcursor::MakeCXCursor(Decl *D, CXTranslationUnit TU, in MakeCXCursor()
82 CXCursor C = { K, SelectorIdIndex, in MakeCXCursor()
87 CXCursor C = { K, 0, { D, (void*)(intptr_t) (FirstInDeclGroup ? 1 : 0), TU }}; in MakeCXCursor()
91 CXCursor cxcursor::MakeCXCursor(Stmt *S, Decl *Parent, CXTranslationUnit TU, in MakeCXCursor()
477 CXCursor C = { K, 0, { Parent, S, TU } }; in MakeCXCursor()
486 CXCursor C = { K, 0, { Parent, S, TU } }; in MakeCXCursor()
[all …]
DCursorVisitor.h38 CXCursor parent;
40 VisitorJob(CXCursor C, Kind k, void *d1, void *d2 = 0, void *d3 = 0)
48 const CXCursor &getParent() const { return parent; } in getParent()
61 typedef bool (*PostChildrenVisitorTy)(CXCursor cursor,
70 CXCursor Parent;
123 CXCursor &Parent;
125 CXCursor OldParent;
128 SetParentRAII(CXCursor &Parent, Decl *&StmtParent, CXCursor NewParent) in SetParentRAII()
178 bool Visit(CXCursor Cursor, bool CheckedRegionOfInterest = false);
195 bool VisitChildren(CXCursor Parent);
[all …]
DCIndexHigh.cpp29 SmallVector<CXCursor, 8> Overridden; in getTopOverriddenMethods()
37 for (SmallVector<CXCursor, 8>::iterator in getTopOverriddenMethods()
144 static enum CXChildVisitResult findFileIdRefVisit(CXCursor cursor, in findFileIdRefVisit()
145 CXCursor parent, in findFileIdRefVisit()
147 CXCursor declCursor = clang_getCursorReferenced(cursor); in findFileIdRefVisit()
211 static void findIdRefsInFile(CXTranslationUnit TU, CXCursor declCursor, in findIdRefsInFile()
263 static enum CXChildVisitResult findFileMacroRefVisit(CXCursor cursor, in findFileMacroRefVisit()
264 CXCursor parent, in findFileMacroRefVisit()
306 static void findMacroRefsInFile(CXTranslationUnit TU, CXCursor Cursor, in findMacroRefsInFile()
343 void clang_findReferencesInFile(CXCursor cursor, CXFile file, in clang_findReferencesInFile()
[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()
86 CXCursor clang_getSpecializedCursorTemplate(CXCursor C) { in clang_getSpecializedCursorTemplate()
DCIndex.cpp135 static SourceRange getRawCursorExtent(CXCursor C);
136 static SourceRange getFullCursorExtent(CXCursor C, SourceManager &SrcMgr);
153 bool CursorVisitor::Visit(CXCursor Cursor, bool CheckedRegionOfInterest) { in Visit()
444 bool CursorVisitor::VisitChildren(CXCursor Cursor) { in VisitChildren()
537 llvm::Optional<bool> CursorVisitor::shouldVisitCursor(CXCursor Cursor) { in shouldVisitCursor()
572 CXCursor Cursor = MakeCXCursor(D, TU, RegionOfInterest); in VisitDeclContext()
960 CXCursor Cursor = MakeCXCursor(*I, TU, RegionOfInterest); in VisitObjCContainerDecl()
1627 NAME(DATA *d, CXCursor parent) : VisitorJob(parent, VisitorJob::KIND, d) {} \
1645 DeclVisit(Decl *d, CXCursor parent, bool isFirst) : in DeclVisit()
1656 TypeLocVisit(TypeLoc tl, CXCursor parent) : in TypeLocVisit()
[all …]
DIndexingContext.h218 AttrInfo(CXIdxAttrKind Kind, CXCursor C, CXIdxLoc Loc, const Attr *A) { in AttrInfo()
232 IBOutletCollectionInfo(CXCursor C, CXIdxLoc Loc, const Attr *A) : in IBOutletCollectionInfo()
440 bool handleReference(const NamedDecl *D, SourceLocation Loc, CXCursor Cursor,
475 SourceLocation Loc, CXCursor Cursor,
480 SourceLocation Loc, CXCursor Cursor,
501 CXCursor getCursor(const Decl *D) { in getCursor()
505 CXCursor getRefCursor(const NamedDecl *D, SourceLocation Loc);
DCXType.cpp130 CXType clang_getCursorType(CXCursor C) { in clang_getCursorType()
200 CXType clang_getTypedefDeclUnderlyingType(CXCursor C) { in clang_getTypedefDeclUnderlyingType()
218 CXType clang_getEnumDeclIntegerType(CXCursor C) { in clang_getEnumDeclIntegerType()
236 long long clang_getEnumConstantDeclValue(CXCursor C) { in clang_getEnumConstantDeclValue()
252 unsigned long long clang_getEnumConstantDeclUnsignedValue(CXCursor C) { in clang_getEnumConstantDeclUnsignedValue()
325 CXCursor clang_getTypeDeclaration(CXType CT) { in clang_getTypeDeclaration()
517 CXType clang_getCursorResultType(CXCursor C) { in clang_getCursorResultType()
617 CXString clang_getDeclObjCTypeEncoding(CXCursor C) { in clang_getDeclObjCTypeEncoding()
DCMakeLists.txt21 CXCursor.cpp
22 CXCursor.h
DIndex_Internal.h38 CXCursor, CXSourceRange);
DIndexingContext.cpp73 CXCursor C = MakeCXCursor(A, const_cast<Decl *>(D), IdxCtx.CXTU); in AttrListInfo()
251 SourceLocation Loc, CXCursor Cursor, in handleDecl()
307 SourceLocation Loc, CXCursor Cursor, in handleObjCContainer()
574 CXCursor Cursor = E ? MakeCXCursor(const_cast<Expr*>(E), in handleReference()
581 CXCursor Cursor, in handleReference()
1042 CXCursor IndexingContext::getRefCursor(const NamedDecl *D, SourceLocation Loc) { in getRefCursor()
DCIndexCodeCompletion.cpp587 CXCursor cursor = cxcursor::MakeCXCursor(D, *TU); in ProcessCodeCompleteResults()
DCIndexUSRs.cpp842 CXString clang_getCursorUSR(CXCursor C) { in clang_getCursorUSR()
/external/clang/include/clang-c/
DIndex.h2037 } CXCursor; typedef
2056 CINDEX_LINKAGE CXCursor clang_getNullCursor(void);
2064 CINDEX_LINKAGE CXCursor clang_getTranslationUnitCursor(CXTranslationUnit);
2069 CINDEX_LINKAGE unsigned clang_equalCursors(CXCursor, CXCursor);
2074 CINDEX_LINKAGE int clang_Cursor_isNull(CXCursor);
2079 CINDEX_LINKAGE unsigned clang_hashCursor(CXCursor);
2084 CINDEX_LINKAGE enum CXCursorKind clang_getCursorKind(CXCursor);
2164 CINDEX_LINKAGE enum CXLinkageKind clang_getCursorLinkage(CXCursor cursor);
2175 clang_getCursorAvailability(CXCursor cursor);
2251 clang_getCursorPlatformAvailability(CXCursor cursor,
[all …]
/external/clang/tools/c-index-test/
Dc-index-test.c515 static void PrintCursorComments(CXCursor Cursor, in PrintCursorComments()
569 static void PrintCursor(CXCursor Cursor, in PrintCursor()
579 CXCursor Referenced; in PrintCursor()
581 CXCursor SpecializationOf; in PrintCursor()
582 CXCursor *overridden; in PrintCursor()
609 CXCursor Ovl = clang_getOverloadedDecl(Referenced, I); in PrintCursor()
787 static const char* GetCursorSource(CXCursor Cursor) { in GetCursorSource()
906 static void PrintCursorExtent(CXCursor C) { in PrintCursorExtent()
919 enum CXChildVisitResult FilteredPrintingVisitor(CXCursor Cursor, in FilteredPrintingVisitor()
920 CXCursor Parent, in FilteredPrintingVisitor()
[all …]