/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 = 0); 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" 32 using namespace cxcursor; 34 CXCursor cxcursor::MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU) { 36 CXCursor C = { K, 0, { 0, 0, TU } }; 56 CXCursor cxcursor::MakeCXCursor(const Attr *A, const Decl *Parent, 59 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 (SmallVector<CXCursor, 8>::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" 130 CXType clang_getCursorType(CXCursor C) { 131 using namespace cxcursor; 133 CXTranslationUnit TU = cxcursor::getCursorTU(C); 139 QualType T = cxcursor::getCursorExpr(C)->getType(); 144 const Decl *D = cxcursor::getCursorDecl(C); 218 CXType clang_getTypedefDeclUnderlyingType(CXCursor C) { 219 using namespace cxcursor; 220 CXTranslationUnit TU = cxcursor::getCursorTU(C); 223 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 = 0, 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...] |
CMakeLists.txt | 22 CXCursor.cpp 23 CXCursor.h
|
CIndex.cpp | 19 #include "CXCursor.h" 58 using namespace clang::cxcursor; 144 static SourceRange getRawCursorExtent(CXCursor C); 145 static SourceRange getFullCursorExtent(CXCursor C, SourceManager &SrcMgr); 162 bool CursorVisitor::Visit(CXCursor Cursor, bool CheckedRegionOfInterest) { 458 bool CursorVisitor::VisitChildren(CXCursor Cursor) { 530 cast<IBOutletCollectionAttr>(cxcursor::getCursorAttr(Cursor)); 532 return Visit(cxcursor::MakeCursorObjCClassRef(InterT->getInterface(), 544 getMacroInfo(cxcursor::getCursorMacroDefinition(Cursor), TU); 547 return Visit(cxcursor::MakeMacroExpansionCursor(MacroDef, BeginLoc, TU)) [all...] |
IndexingContext.h | 10 #include "CXCursor.h" 211 AttrInfo(CXIdxAttrKind Kind, CXCursor C, CXIdxLoc Loc, const Attr *A) { 223 IBOutletCollectionInfo(CXCursor C, CXIdxLoc Loc, const Attr *A) : 435 bool handleReference(const NamedDecl *D, SourceLocation Loc, CXCursor Cursor, 470 SourceLocation Loc, CXCursor Cursor, 475 SourceLocation Loc, CXCursor Cursor, 496 CXCursor getCursor(const Decl *D) { 497 return cxcursor::MakeCXCursor(D, CXTU); 500 CXCursor getRefCursor(const NamedDecl *D, SourceLocation Loc);
|
Index_Internal.h | 38 CXCursor, CXSourceRange);
|
CIndexUSRs.cpp | 15 #include "CXCursor.h" 807 bool cxcursor::getDeclCursorUSR(const Decl *D, SmallVectorImpl<char> &Buf) { 823 CXString clang_getCursorUSR(CXCursor C) { 827 const Decl *D = cxcursor::getCursorDecl(C); 831 CXTranslationUnit TU = cxcursor::getCursorTU(C); 839 bool Ignore = cxcursor::getDeclCursorUSR(D, buf->Data); 852 CXTranslationUnit TU = cxcursor::getCursorTU(C); 861 USRGenerator UG(&cxcursor::getCursorASTUnit(C)->getASTContext(), 864 << cxcursor::getCursorMacroDefinition(C)->getName()->getNameStart();
|
CLog.h | 69 Logger &operator<<(CXCursor cursor);
|
IndexingContext.cpp | 19 using namespace cxcursor; 72 CXCursor C = MakeCXCursor(A, D, IdxCtx.CXTU); 309 SourceLocation Loc, CXCursor Cursor, 365 SourceLocation Loc, CXCursor Cursor, 652 CXCursor Cursor = E ? MakeCXCursor(E, cast<Decl>(DC), CXTU) 658 CXCursor Cursor, [all...] |
CIndexCodeCompletion.cpp | 18 #include "CXCursor.h" 597 CXCursor cursor = cxcursor::MakeCXCursor(D, *TU); [all...] |
CXComment.cpp | 16 #include "CXCursor.h" [all...] |
Indexing.cpp | 14 #include "CXCursor.h" [all...] |
/external/clang/include/clang-c/ |
Index.h | [all...] |
/external/clang/tools/c-index-test/ |
c-index-test.c | 521 static void PrintCursorComments(CXCursor Cursor, 575 static void PrintCursor(CXCursor Cursor, 585 CXCursor Referenced; 587 CXCursor SpecializationOf; 588 CXCursor *overridden; 615 CXCursor Ovl = clang_getOverloadedDecl(Referenced, I); 793 static const char* GetCursorSource(CXCursor Cursor) { 912 static void PrintCursorExtent(CXCursor C) { 925 enum CXChildVisitResult FilteredPrintingVisitor(CXCursor Cursor, 926 CXCursor Parent [all...] |