/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 (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...] |
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...] |
CXType.cpp | 15 #include "CXCursor.h" 133 CXType clang_getCursorType(CXCursor C) { 134 using namespace cxcursor; 136 CXTranslationUnit TU = cxcursor::getCursorTU(C); 142 QualType T = cxcursor::getCursorExpr(C)->getType(); 147 const Decl *D = cxcursor::getCursorDecl(C); 229 CXType clang_getTypedefDeclUnderlyingType(CXCursor C) { 230 using namespace cxcursor; 231 CXTranslationUnit TU = cxcursor::getCursorTU(C); 234 const Decl *D = cxcursor::getCursorDecl(C) [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) { 461 bool CursorVisitor::VisitChildren(CXCursor Cursor) { 533 cast<IBOutletCollectionAttr>(cxcursor::getCursorAttr(Cursor)); 535 return Visit(cxcursor::MakeCursorObjCClassRef(InterT->getInterface(), 547 getMacroInfo(cxcursor::getCursorMacroDefinition(Cursor), TU); 550 return Visit(cxcursor::MakeMacroExpansionCursor(MacroDef, BeginLoc, TU)) [all...] |
IndexingContext.h | 10 #include "CXCursor.h" 212 AttrInfo(CXIdxAttrKind Kind, CXCursor C, CXIdxLoc Loc, const Attr *A) { 224 IBOutletCollectionInfo(CXCursor C, CXIdxLoc Loc, const Attr *A) : 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) { 500 return cxcursor::MakeCXCursor(D, CXTU); 503 CXCursor getRefCursor(const NamedDecl *D, SourceLocation Loc);
|
Index_Internal.h | 38 CXCursor, CXSourceRange);
|
CIndexUSRs.cpp | 15 #include "CXCursor.h" 806 bool cxcursor::getDeclCursorUSR(const Decl *D, SmallVectorImpl<char> &Buf) { 822 CXString clang_getCursorUSR(CXCursor C) { 826 const Decl *D = cxcursor::getCursorDecl(C); 830 CXTranslationUnit TU = cxcursor::getCursorTU(C); 838 bool Ignore = cxcursor::getDeclCursorUSR(D, buf->Data); 851 CXTranslationUnit TU = cxcursor::getCursorTU(C); 860 USRGenerator UG(&cxcursor::getCursorASTUnit(C)->getASTContext(), 863 << 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); 311 SourceLocation Loc, CXCursor Cursor, 367 SourceLocation Loc, CXCursor Cursor, 660 CXCursor Cursor = E ? MakeCXCursor(E, cast<Decl>(DC), CXTU) 666 CXCursor Cursor, [all...] |
CIndexCodeCompletion.cpp | 18 #include "CXCursor.h" 596 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); 837 static const char* GetCursorSource(CXCursor Cursor) { 956 static void PrintCursorExtent(CXCursor C) { 969 enum CXChildVisitResult FilteredPrintingVisitor(CXCursor Cursor, 970 CXCursor Parent [all...] |