/external/clang/tools/libclang/ |
CXCursor.h | 1 //===- CXCursor.h - Routines for manipulating CXCursors -------------------===// 47 namespace cxcursor { namespace in namespace:clang 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 [all...] |
CXCursor.cpp | 1 //===- CXCursor.cpp - Routines for manipulating CXCursors -----------------===// 12 // CXCursor. 17 #include "CXCursor.h" 33 using namespace cxcursor; 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 } } [all...] |
CIndexHigh.cpp | 12 #include "CXCursor.h" 20 using namespace cxcursor; 31 SmallVector<CXCursor, 8> Overridden; 32 cxcursor::getOverriddenCursors(cxcursor::MakeCXCursor(D, TU), Overridden); 39 for (SmallVectorImpl<CXCursor>::iterator 41 getTopOverriddenMethods(TU, cxcursor::getCursorDecl(*I), Methods); 147 static enum CXChildVisitResult findFileIdRefVisit(CXCursor cursor, 148 CXCursor parent, 150 CXCursor declCursor = clang_getCursorReferenced(cursor) [all...] |
CXType.cpp | 15 #include "CXCursor.h" 146 CXType clang_getCursorType(CXCursor C) { 147 using namespace cxcursor; 149 CXTranslationUnit TU = cxcursor::getCursorTU(C); 155 QualType T = cxcursor::getCursorExpr(C)->getType(); 160 const Decl *D = cxcursor::getCursorDecl(C); 236 CXType clang_getTypedefDeclUnderlyingType(CXCursor C) { 237 using namespace cxcursor; 238 CXTranslationUnit TU = cxcursor::getCursorTU(C); 241 const Decl *D = cxcursor::getCursorDecl(C) [all...] |
CIndexCXX.cpp | 15 #include "CXCursor.h" 21 using namespace clang::cxcursor; 25 unsigned clang_isVirtualBase(CXCursor C) { 33 enum CX_CXXAccessSpecifier clang_getCXXAccessSpecifier(CXCursor C) { 53 enum CXCursorKind clang_getTemplateCursorKind(CXCursor C) { 54 using namespace clang::cxcursor; 85 CXCursor clang_getSpecializedCursorTemplate(CXCursor C) {
|
CursorVisitor.h | 13 #include "CXCursor.h" 23 namespace cxcursor { namespace in namespace:clang 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 [all...] |
CIndexUSRs.cpp | 15 #include "CXCursor.h" 35 bool cxcursor::getDeclCursorUSR(const Decl *D, SmallVectorImpl<char> &Buf) { 41 CXString clang_getCursorUSR(CXCursor C) { 45 const Decl *D = cxcursor::getCursorDecl(C); 49 CXTranslationUnit TU = cxcursor::getCursorTU(C); 57 bool Ignore = cxcursor::getDeclCursorUSR(D, buf->Data); 70 CXTranslationUnit TU = cxcursor::getCursorTU(C); 78 bool Ignore = generateUSRForMacro(cxcursor::getCursorMacroDefinition(C),
|
CMakeLists.txt | 13 CXCursor.cpp 29 CXCursor.h
|
IndexingContext.h | 13 #include "CXCursor.h" 215 AttrInfo(CXIdxAttrKind Kind, CXCursor C, CXIdxLoc Loc, const Attr *A) { 227 IBOutletCollectionInfo(CXCursor C, CXIdxLoc Loc, const Attr *A) : 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) { 496 return cxcursor::MakeCXCursor(D, CXTU); 499 CXCursor getRefCursor(const NamedDecl *D, SourceLocation Loc);
|
CIndex.cpp | 18 #include "CXCursor.h" 70 using namespace clang::cxcursor; 168 static SourceRange getRawCursorExtent(CXCursor C); 169 static SourceRange getFullCursorExtent(CXCursor C, SourceManager &SrcMgr); 186 bool CursorVisitor::Visit(CXCursor Cursor, bool CheckedRegionOfInterest) { 484 bool CursorVisitor::VisitChildren(CXCursor Cursor) { 556 cast<IBOutletCollectionAttr>(cxcursor::getCursorAttr(Cursor)); 558 return Visit(cxcursor::MakeCursorObjCClassRef( 571 getMacroInfo(cxcursor::getCursorMacroDefinition(Cursor), TU); 574 return Visit(cxcursor::MakeMacroExpansionCursor(MacroDef, BeginLoc, TU)) [all...] |
Android.mk | 32 CXCursor.cpp \
|
Index_Internal.h | 38 CXCursor, CXSourceRange);
|
CXComment.cpp | 16 #include "CXCursor.h" 32 CXComment clang_Cursor_getParsedComment(CXCursor C) { 33 using namespace clang::cxcursor;
|
CLog.h | 70 Logger &operator<<(CXCursor cursor);
|
IndexingContext.cpp | 20 using namespace cxcursor; 71 CXCursor C = MakeCXCursor(A, D, IdxCtx.CXTU); 310 SourceLocation Loc, CXCursor Cursor, 366 SourceLocation Loc, CXCursor Cursor, 661 CXCursor Cursor = E ? MakeCXCursor(E, cast<Decl>(DC), CXTU) 667 CXCursor Cursor, [all...] |
CIndexCodeCompletion.cpp | 18 #include "CXCursor.h" 592 CXCursor cursor = cxcursor::MakeCXCursor(D, *TU); [all...] |
Indexing.cpp | 14 #include "CXCursor.h" [all...] |
/external/clang/include/clang-c/ |
Index.h | [all...] |
Documentation.h | 47 CINDEX_LINKAGE CXComment clang_Cursor_getParsedComment(CXCursor C);
|
/external/clang/tools/c-index-test/ |
c-index-test.c | 601 static void PrintCursorComments(CXCursor Cursor, 655 static void PrintCursor(CXCursor Cursor, const char *CommentSchemaFile) { 664 CXCursor Referenced; 666 CXCursor SpecializationOf; 667 CXCursor *overridden; 694 CXCursor Ovl = clang_getOverloadedDecl(Referenced, I); 947 static const char* GetCursorSource(CXCursor Cursor) { [all...] |