Searched refs:CXCursor (Results 1 - 17 of 17) sorted by relevance

/external/clang/tools/libclang/
H A DCXCursor.h1 //===- CXCursor.h - Routines for manipulating CXCursors -------------------===//
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
[all...]
H A DCXCursor.cpp1 //===- CXCursor.cpp - Routines for manipulating CXCursors -----------------===//
12 // CXCursor.
17 #include "CXCursor.h"
35 CXCursor cxcursor::MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU) {
37 CXCursor C = { K, 0, { nullptr, nullptr, TU } };
69 CXCursor cxcursor::MakeCXCursor(const Attr *A, const Decl *Parent,
72 CXCursor C = { GetCursorKind(A), 0, { Parent, A, TU } };
76 CXCursor cxcursor::MakeCXCursor(const Decl *D, CXTranslationUnit TU,
96 CXCursor C = { K, SelectorIdIndex,
101 CXCursor
[all...]
H A DCursorVisitor.h13 #include "CXCursor.h"
37 CXCursor parent;
39 VisitorJob(CXCursor C, Kind k, const void *d1, const void *d2 = nullptr,
48 const CXCursor &getParent() const { return parent; }
60 typedef bool (*PostChildrenVisitorTy)(CXCursor cursor,
69 CXCursor Parent;
122 CXCursor &Parent;
124 CXCursor OldParent;
127 SetParentRAII(CXCursor &Parent, const Decl *&StmtParent,
128 CXCursor NewParen
[all...]
H A DIndex_Internal.h38 CXCursor, CXSourceRange);
H A DCIndexCXX.cpp15 #include "CXCursor.h"
25 unsigned clang_isVirtualBase(CXCursor C) {
33 enum CX_CXXAccessSpecifier clang_getCXXAccessSpecifier(CXCursor C) {
53 enum CXCursorKind clang_getTemplateCursorKind(CXCursor C) {
85 CXCursor clang_getSpecializedCursorTemplate(CXCursor C) {
H A DCIndexHigh.cpp12 #include "CXCursor.h"
31 SmallVector<CXCursor, 8> Overridden;
39 for (SmallVectorImpl<CXCursor>::iterator
147 static enum CXChildVisitResult findFileIdRefVisit(CXCursor cursor,
148 CXCursor parent,
150 CXCursor declCursor = clang_getCursorReferenced(cursor);
215 static bool findIdRefsInFile(CXTranslationUnit TU, CXCursor declCursor,
265 static enum CXChildVisitResult findFileMacroRefVisit(CXCursor cursor,
266 CXCursor parent,
309 static bool findMacroRefsInFile(CXTranslationUnit TU, CXCursor Curso
[all...]
H A DCIndex.cpp18 #include "CXCursor.h"
165 static SourceRange getRawCursorExtent(CXCursor C);
166 static SourceRange getFullCursorExtent(CXCursor C, SourceManager &SrcMgr);
183 bool CursorVisitor::Visit(CXCursor Cursor, bool CheckedRegionOfInterest) {
481 bool CursorVisitor::VisitChildren(CXCursor Cursor) {
591 Optional<bool> CursorVisitor::shouldVisitCursor(CXCursor Cursor) {
635 CXCursor Cursor = MakeCXCursor(D, TU, RegionOfInterest);
1028 CXCursor Cursor = MakeCXCursor(*I, TU, RegionOfInterest);
1753 NAME(const DATA *d, CXCursor parent) : \
1771 const TemplateArgumentLoc *End, CXCursor paren
[all...]
H A DCXType.cpp15 #include "CXCursor.h"
148 CXType clang_getCursorType(CXCursor C) {
238 CXType clang_getTypedefDeclUnderlyingType(CXCursor C) {
256 CXType clang_getEnumDeclIntegerType(CXCursor C) {
274 long long clang_getEnumConstantDeclValue(CXCursor C) {
290 unsigned long long clang_getEnumConstantDeclUnsignedValue(CXCursor C) {
306 int clang_getFieldDeclBitWidth(CXCursor C) {
382 CXCursor clang_getTypeDeclaration(CXType CT) {
596 CXType clang_getCursorResultType(CXCursor C) {
792 static long long validateFieldParentType(CXCursor P
[all...]
H A DCXIndexDataConsumer.h13 #include "CXCursor.h"
216 AttrInfo(CXIdxAttrKind Kind, CXCursor C, CXIdxLoc Loc, const Attr *A) {
228 IBOutletCollectionInfo(CXCursor C, CXIdxLoc Loc, const Attr *A) :
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) {
508 CXCursor getRefCursor(const NamedDecl *D, SourceLocation Loc);
H A DCLog.h70 Logger &operator<<(CXCursor cursor);
H A DCIndexUSRs.cpp15 #include "CXCursor.h"
41 CXString clang_getCursorUSR(CXCursor C) {
H A DCXIndexDataConsumer.cpp188 CXCursor Cursor;
283 CXCursor C = MakeCXCursor(A, D, IdxCtx.CXTU);
530 SourceLocation Loc, CXCursor Cursor,
589 SourceLocation Loc, CXCursor Cursor,
885 CXCursor Cursor = E ? MakeCXCursor(E, cast<Decl>(DC), CXTU)
891 CXCursor Cursor,
1198 CXCursor CXIndexDataConsumer::getRefCursor(const NamedDecl *D, SourceLocation Loc) {
H A DCXComment.cpp16 #include "CXCursor.h"
32 CXComment clang_Cursor_getParsedComment(CXCursor C) {
H A DCIndexCodeCompletion.cpp18 #include "CXCursor.h"
592 CXCursor cursor = cxcursor::MakeCXCursor(D, *TU);
/external/clang/include/clang-c/
H A DIndex.h2413 } CXCursor; typedef in typeref:struct:__anon1352
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);
2518 * for a provided CXCursor
[all...]
H A DDocumentation.h47 CINDEX_LINKAGE CXComment clang_Cursor_getParsedComment(CXCursor C);
/external/clang/tools/c-index-test/
H A Dc-index-test.c605 static void PrintCursorComments(CXCursor Cursor,
659 static void PrintCursor(CXCursor Cursor, const char *CommentSchemaFile) {
668 CXCursor Referenced;
670 CXCursor SpecializationOf;
671 CXCursor *overridden;
698 CXCursor Ovl = clang_getOverloadedDecl(Referenced, I);
963 static const char* GetCursorSource(CXCursor Cursor) {
1081 static void PrintCursorExtent(CXCursor C) {
1094 enum CXChildVisitResult FilteredPrintingVisitor(CXCursor Cursor,
1095 CXCursor Paren
[all...]

Completed in 156 milliseconds