Lines Matching refs:CXCursor
35 CXCursor cxcursor::MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU) { in MakeCXCursorInvalid()
37 CXCursor C = { K, 0, { nullptr, nullptr, TU } }; in MakeCXCursorInvalid()
69 CXCursor cxcursor::MakeCXCursor(const Attr *A, const Decl *Parent, in MakeCXCursor()
72 CXCursor C = { GetCursorKind(A), 0, { Parent, A, TU } }; in MakeCXCursor()
76 CXCursor cxcursor::MakeCXCursor(const Decl *D, CXTranslationUnit TU, in MakeCXCursor()
96 CXCursor C = { K, SelectorIdIndex, in MakeCXCursor()
101 CXCursor C = { K, 0, { D, (void*)(intptr_t) (FirstInDeclGroup ? 1 : 0), TU }}; in MakeCXCursor()
105 CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent, in MakeCXCursor()
531 CXCursor C = { K, 0, { Parent, S, TU } }; in MakeCXCursor()
651 CXCursor C = { K, 0, { Parent, S, TU } }; in MakeCXCursor()
655 CXCursor cxcursor::MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super, in MakeCursorObjCSuperClassRef()
660 CXCursor C = { CXCursor_ObjCSuperClassRef, 0, { Super, RawLoc, TU } }; in MakeCursorObjCSuperClassRef()
665 cxcursor::getCursorObjCSuperClassRef(CXCursor C) { in getCursorObjCSuperClassRef()
671 CXCursor cxcursor::MakeCursorObjCProtocolRef(const ObjCProtocolDecl *Proto, in MakeCursorObjCProtocolRef()
676 CXCursor C = { CXCursor_ObjCProtocolRef, 0, { Proto, RawLoc, TU } }; in MakeCursorObjCProtocolRef()
681 cxcursor::getCursorObjCProtocolRef(CXCursor C) { in getCursorObjCProtocolRef()
687 CXCursor cxcursor::MakeCursorObjCClassRef(const ObjCInterfaceDecl *Class, in MakeCursorObjCClassRef()
695 CXCursor C = { CXCursor_ObjCClassRef, 0, { Class, RawLoc, TU } }; in MakeCursorObjCClassRef()
700 cxcursor::getCursorObjCClassRef(CXCursor C) { in getCursorObjCClassRef()
706 CXCursor cxcursor::MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, in MakeCursorTypeRef()
710 CXCursor C = { CXCursor_TypeRef, 0, { Type, RawLoc, TU } }; in MakeCursorTypeRef()
715 cxcursor::getCursorTypeRef(CXCursor C) { in getCursorTypeRef()
721 CXCursor cxcursor::MakeCursorTemplateRef(const TemplateDecl *Template, in MakeCursorTemplateRef()
726 CXCursor C = { CXCursor_TemplateRef, 0, { Template, RawLoc, TU } }; in MakeCursorTemplateRef()
731 cxcursor::getCursorTemplateRef(CXCursor C) { in getCursorTemplateRef()
737 CXCursor cxcursor::MakeCursorNamespaceRef(const NamedDecl *NS, in MakeCursorNamespaceRef()
744 CXCursor C = { CXCursor_NamespaceRef, 0, { NS, RawLoc, TU } }; in MakeCursorNamespaceRef()
749 cxcursor::getCursorNamespaceRef(CXCursor C) { in getCursorNamespaceRef()
755 CXCursor cxcursor::MakeCursorVariableRef(const VarDecl *Var, SourceLocation Loc, in MakeCursorVariableRef()
760 CXCursor C = { CXCursor_VariableRef, 0, { Var, RawLoc, TU } }; in MakeCursorVariableRef()
765 cxcursor::getCursorVariableRef(CXCursor C) { in getCursorVariableRef()
771 CXCursor cxcursor::MakeCursorMemberRef(const FieldDecl *Field, SourceLocation Loc, in MakeCursorMemberRef()
776 CXCursor C = { CXCursor_MemberRef, 0, { Field, RawLoc, TU } }; in MakeCursorMemberRef()
781 cxcursor::getCursorMemberRef(CXCursor C) { in getCursorMemberRef()
787 CXCursor cxcursor::MakeCursorCXXBaseSpecifier(const CXXBaseSpecifier *B, in MakeCursorCXXBaseSpecifier()
789 CXCursor C = { CXCursor_CXXBaseSpecifier, 0, { B, nullptr, TU } }; in MakeCursorCXXBaseSpecifier()
793 const CXXBaseSpecifier *cxcursor::getCursorCXXBaseSpecifier(CXCursor C) { in getCursorCXXBaseSpecifier()
798 CXCursor cxcursor::MakePreprocessingDirectiveCursor(SourceRange Range, in MakePreprocessingDirectiveCursor()
800 CXCursor C = { CXCursor_PreprocessingDirective, 0, in MakePreprocessingDirectiveCursor()
808 SourceRange cxcursor::getCursorPreprocessingDirective(CXCursor C) { in getCursorPreprocessingDirective()
816 CXCursor cxcursor::MakeMacroDefinitionCursor(const MacroDefinitionRecord *MI, in MakeMacroDefinitionCursor()
818 CXCursor C = {CXCursor_MacroDefinition, 0, {MI, nullptr, TU}}; in MakeMacroDefinitionCursor()
822 const MacroDefinitionRecord *cxcursor::getCursorMacroDefinition(CXCursor C) { in getCursorMacroDefinition()
827 CXCursor cxcursor::MakeMacroExpansionCursor(MacroExpansion *MI, in MakeMacroExpansionCursor()
829 CXCursor C = { CXCursor_MacroExpansion, 0, { MI, nullptr, TU } }; in MakeMacroExpansionCursor()
833 CXCursor cxcursor::MakeMacroExpansionCursor(MacroDefinitionRecord *MI, in MakeMacroExpansionCursor()
837 CXCursor C = {CXCursor_MacroExpansion, 0, {MI, Loc.getPtrEncoding(), TU}}; in MakeMacroExpansionCursor()
858 CXCursor cxcursor::MakeInclusionDirectiveCursor(InclusionDirective *ID, in MakeInclusionDirectiveCursor()
860 CXCursor C = { CXCursor_InclusionDirective, 0, { ID, nullptr, TU } }; in MakeInclusionDirectiveCursor()
864 const InclusionDirective *cxcursor::getCursorInclusionDirective(CXCursor C) { in getCursorInclusionDirective()
869 CXCursor cxcursor::MakeCursorLabelRef(LabelStmt *Label, SourceLocation Loc, in MakeCursorLabelRef()
874 CXCursor C = { CXCursor_LabelRef, 0, { Label, RawLoc, TU } }; in MakeCursorLabelRef()
879 cxcursor::getCursorLabelRef(CXCursor C) { in getCursorLabelRef()
885 CXCursor cxcursor::MakeCursorOverloadedDeclRef(const OverloadExpr *E, in MakeCursorOverloadedDeclRef()
890 CXCursor C = { in MakeCursorOverloadedDeclRef()
897 CXCursor cxcursor::MakeCursorOverloadedDeclRef(const Decl *D, in MakeCursorOverloadedDeclRef()
903 CXCursor C = { in MakeCursorOverloadedDeclRef()
910 CXCursor cxcursor::MakeCursorOverloadedDeclRef(TemplateName Name, in MakeCursorOverloadedDeclRef()
916 CXCursor C = { in MakeCursorOverloadedDeclRef()
924 cxcursor::getCursorOverloadedDeclRef(CXCursor C) { in getCursorOverloadedDeclRef()
931 const Decl *cxcursor::getCursorDecl(CXCursor Cursor) { in getCursorDecl()
935 const Expr *cxcursor::getCursorExpr(CXCursor Cursor) { in getCursorExpr()
939 const Stmt *cxcursor::getCursorStmt(CXCursor Cursor) { in getCursorStmt()
948 const Attr *cxcursor::getCursorAttr(CXCursor Cursor) { in getCursorAttr()
952 const Decl *cxcursor::getCursorParentDecl(CXCursor Cursor) { in getCursorParentDecl()
956 ASTContext &cxcursor::getCursorContext(CXCursor Cursor) { in getCursorContext()
960 ASTUnit *cxcursor::getCursorASTUnit(CXCursor Cursor) { in getCursorASTUnit()
967 CXTranslationUnit cxcursor::getCursorTU(CXCursor Cursor) { in getCursorTU()
971 void cxcursor::getOverriddenCursors(CXCursor cursor, in getOverriddenCursors()
972 SmallVectorImpl<CXCursor> &overridden) { in getOverriddenCursors()
989 cxcursor::getSelectorIdentifierIndexAndLoc(CXCursor cursor) { in getSelectorIdentifierIndexAndLoc()
1006 CXCursor cxcursor::getSelectorIdentifierCursor(int SelIdx, CXCursor cursor) { in getSelectorIdentifierCursor()
1007 CXCursor newCursor = cursor; in getSelectorIdentifierCursor()
1029 CXCursor cxcursor::getTypeRefCursor(CXCursor cursor) { in getTypeRefCursor()
1070 bool cxcursor::operator==(CXCursor X, CXCursor Y) { in operator ==()
1077 bool cxcursor::isFirstInDeclGroup(CXCursor C) { in isFirstInDeclGroup()
1088 int clang_Cursor_isNull(CXCursor cursor) { in clang_Cursor_isNull()
1092 CXTranslationUnit clang_Cursor_getTranslationUnit(CXCursor cursor) { in clang_Cursor_getTranslationUnit()
1096 int clang_Cursor_getNumArguments(CXCursor C) { in clang_Cursor_getNumArguments()
1115 CXCursor clang_Cursor_getArgument(CXCursor C, unsigned i) { in clang_Cursor_getArgument()
1143 int clang_Cursor_getNumTemplateArguments(CXCursor C) { in clang_Cursor_getNumTemplateArguments()
1181 CXCursor C, unsigned I, TemplateArgument *TA) { in clang_Cursor_getTemplateArgument()
1206 enum CXTemplateArgumentKind clang_Cursor_getTemplateArgumentKind(CXCursor C, in clang_Cursor_getTemplateArgumentKind()
1230 CXType clang_Cursor_getTemplateArgumentType(CXCursor C, unsigned I) { in clang_Cursor_getTemplateArgumentType()
1244 long long clang_Cursor_getTemplateArgumentValue(CXCursor C, unsigned I) { in clang_Cursor_getTemplateArgumentValue()
1260 unsigned long long clang_Cursor_getTemplateArgumentUnsignedValue(CXCursor C, in clang_Cursor_getTemplateArgumentUnsignedValue()
1283 typedef llvm::DenseMap<CXCursor, unsigned> CXCursorSet_Impl;
1292 template<> struct DenseMapInfo<CXCursor> {
1294 static inline CXCursor getEmptyKey() { in getEmptyKey()
1297 static inline CXCursor getTombstoneKey() { in getTombstoneKey()
1300 static inline unsigned getHashValue(const CXCursor &cursor) { in getHashValue()
1304 static inline bool isEqual(const CXCursor &x, const CXCursor &y) { in isEqual()
1321 unsigned clang_CXCursorSet_contains(CXCursorSet set, CXCursor cursor) { in clang_CXCursorSet_contains()
1328 unsigned clang_CXCursorSet_insert(CXCursorSet set, CXCursor cursor) { in clang_CXCursorSet_insert()
1343 CXCompletionString clang_getCursorCompletionString(CXCursor cursor) { in clang_getCursorCompletionString()
1379 typedef SmallVector<CXCursor, 2> CursorVec;
1401 void clang_getOverriddenCursors(CXCursor cursor, in clang_getOverriddenCursors()
1402 CXCursor **overridden, in clang_getOverriddenCursors()
1437 CXCursor backRefCursor = MakeCXCursorInvalid(CXCursor_InvalidFile, TU); in clang_getOverriddenCursors()
1458 void clang_disposeOverriddenCursors(CXCursor *overridden) { in clang_disposeOverriddenCursors()
1478 int clang_Cursor_isDynamicCall(CXCursor C) { in clang_Cursor_isDynamicCall()
1511 CXType clang_Cursor_getReceiverType(CXCursor C) { in clang_Cursor_getReceiverType()