Lines Matching refs:CXCursor

34 CXCursor cxcursor::MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU) {  in MakeCXCursorInvalid()
36 CXCursor C = {K, 0, {nullptr, nullptr, TU}}; in MakeCXCursorInvalid()
132 CXCursor cxcursor::MakeCXCursor(const Attr *A, const Decl *Parent, in MakeCXCursor()
135 CXCursor C = {GetCursorKind(A), 0, {Parent, A, TU}}; in MakeCXCursor()
139 CXCursor cxcursor::MakeCXCursor(const Decl *D, CXTranslationUnit TU, in MakeCXCursor()
159 CXCursor C = {K, in MakeCXCursor()
165 CXCursor C = {K, 0, {D, (void *)(intptr_t)(FirstInDeclGroup ? 1 : 0), TU}}; in MakeCXCursor()
169 CXCursor cxcursor::MakeCXCursor(const Stmt *S, const Decl *Parent, in MakeCXCursor()
634 CXCursor C = {K, 0, {Parent, S, TU}}; in MakeCXCursor()
866 CXCursor C = {K, 0, {Parent, S, TU}}; in MakeCXCursor()
870 CXCursor cxcursor::MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super, in MakeCursorObjCSuperClassRef()
875 CXCursor C = {CXCursor_ObjCSuperClassRef, 0, {Super, RawLoc, TU}}; in MakeCursorObjCSuperClassRef()
880 cxcursor::getCursorObjCSuperClassRef(CXCursor C) { in getCursorObjCSuperClassRef()
886 CXCursor cxcursor::MakeCursorObjCProtocolRef(const ObjCProtocolDecl *Proto, in MakeCursorObjCProtocolRef()
891 CXCursor C = {CXCursor_ObjCProtocolRef, 0, {Proto, RawLoc, TU}}; in MakeCursorObjCProtocolRef()
896 cxcursor::getCursorObjCProtocolRef(CXCursor C) { in getCursorObjCProtocolRef()
902 CXCursor cxcursor::MakeCursorObjCClassRef(const ObjCInterfaceDecl *Class, in MakeCursorObjCClassRef()
910 CXCursor C = {CXCursor_ObjCClassRef, 0, {Class, RawLoc, TU}}; in MakeCursorObjCClassRef()
915 cxcursor::getCursorObjCClassRef(CXCursor C) { in getCursorObjCClassRef()
921 CXCursor cxcursor::MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, in MakeCursorTypeRef()
925 CXCursor C = {CXCursor_TypeRef, 0, {Type, RawLoc, TU}}; in MakeCursorTypeRef()
930 cxcursor::getCursorTypeRef(CXCursor C) { in getCursorTypeRef()
936 CXCursor cxcursor::MakeCursorTemplateRef(const TemplateDecl *Template, in MakeCursorTemplateRef()
941 CXCursor C = {CXCursor_TemplateRef, 0, {Template, RawLoc, TU}}; in MakeCursorTemplateRef()
946 cxcursor::getCursorTemplateRef(CXCursor C) { in getCursorTemplateRef()
952 CXCursor cxcursor::MakeCursorNamespaceRef(const NamedDecl *NS, in MakeCursorNamespaceRef()
959 CXCursor C = {CXCursor_NamespaceRef, 0, {NS, RawLoc, TU}}; in MakeCursorNamespaceRef()
964 cxcursor::getCursorNamespaceRef(CXCursor C) { in getCursorNamespaceRef()
970 CXCursor cxcursor::MakeCursorVariableRef(const VarDecl *Var, SourceLocation Loc, in MakeCursorVariableRef()
975 CXCursor C = {CXCursor_VariableRef, 0, {Var, RawLoc, TU}}; in MakeCursorVariableRef()
980 cxcursor::getCursorVariableRef(CXCursor C) { in getCursorVariableRef()
986 CXCursor cxcursor::MakeCursorMemberRef(const FieldDecl *Field, in MakeCursorMemberRef()
992 CXCursor C = {CXCursor_MemberRef, 0, {Field, RawLoc, TU}}; in MakeCursorMemberRef()
997 cxcursor::getCursorMemberRef(CXCursor C) { in getCursorMemberRef()
1003 CXCursor cxcursor::MakeCursorCXXBaseSpecifier(const CXXBaseSpecifier *B, in MakeCursorCXXBaseSpecifier()
1005 CXCursor C = {CXCursor_CXXBaseSpecifier, 0, {B, nullptr, TU}}; in MakeCursorCXXBaseSpecifier()
1009 const CXXBaseSpecifier *cxcursor::getCursorCXXBaseSpecifier(CXCursor C) { in getCursorCXXBaseSpecifier()
1014 CXCursor cxcursor::MakePreprocessingDirectiveCursor(SourceRange Range, in MakePreprocessingDirectiveCursor()
1016 CXCursor C = { in MakePreprocessingDirectiveCursor()
1023 SourceRange cxcursor::getCursorPreprocessingDirective(CXCursor C) { in getCursorPreprocessingDirective()
1031 CXCursor cxcursor::MakeMacroDefinitionCursor(const MacroDefinitionRecord *MI, in MakeMacroDefinitionCursor()
1033 CXCursor C = {CXCursor_MacroDefinition, 0, {MI, nullptr, TU}}; in MakeMacroDefinitionCursor()
1037 const MacroDefinitionRecord *cxcursor::getCursorMacroDefinition(CXCursor C) { in getCursorMacroDefinition()
1042 CXCursor cxcursor::MakeMacroExpansionCursor(MacroExpansion *MI, in MakeMacroExpansionCursor()
1044 CXCursor C = {CXCursor_MacroExpansion, 0, {MI, nullptr, TU}}; in MakeMacroExpansionCursor()
1048 CXCursor cxcursor::MakeMacroExpansionCursor(MacroDefinitionRecord *MI, in MakeMacroExpansionCursor()
1052 CXCursor C = {CXCursor_MacroExpansion, 0, {MI, Loc.getPtrEncoding(), TU}}; in MakeMacroExpansionCursor()
1073 CXCursor cxcursor::MakeInclusionDirectiveCursor(InclusionDirective *ID, in MakeInclusionDirectiveCursor()
1075 CXCursor C = {CXCursor_InclusionDirective, 0, {ID, nullptr, TU}}; in MakeInclusionDirectiveCursor()
1079 const InclusionDirective *cxcursor::getCursorInclusionDirective(CXCursor C) { in getCursorInclusionDirective()
1084 CXCursor cxcursor::MakeCursorLabelRef(LabelStmt *Label, SourceLocation Loc, in MakeCursorLabelRef()
1089 CXCursor C = {CXCursor_LabelRef, 0, {Label, RawLoc, TU}}; in MakeCursorLabelRef()
1094 cxcursor::getCursorLabelRef(CXCursor C) { in getCursorLabelRef()
1100 CXCursor cxcursor::MakeCursorOverloadedDeclRef(const OverloadExpr *E, in MakeCursorOverloadedDeclRef()
1105 CXCursor C = { in MakeCursorOverloadedDeclRef()
1110 CXCursor cxcursor::MakeCursorOverloadedDeclRef(const Decl *D, in MakeCursorOverloadedDeclRef()
1116 CXCursor C = { in MakeCursorOverloadedDeclRef()
1121 CXCursor cxcursor::MakeCursorOverloadedDeclRef(TemplateName Name, in MakeCursorOverloadedDeclRef()
1127 CXCursor C = { in MakeCursorOverloadedDeclRef()
1133 cxcursor::getCursorOverloadedDeclRef(CXCursor C) { in getCursorOverloadedDeclRef()
1140 const Decl *cxcursor::getCursorDecl(CXCursor Cursor) { in getCursorDecl()
1144 const Expr *cxcursor::getCursorExpr(CXCursor Cursor) { in getCursorExpr()
1148 const Stmt *cxcursor::getCursorStmt(CXCursor Cursor) { in getCursorStmt()
1157 const Attr *cxcursor::getCursorAttr(CXCursor Cursor) { in getCursorAttr()
1161 ASTContext &cxcursor::getCursorContext(CXCursor Cursor) { in getCursorContext()
1165 ASTUnit *cxcursor::getCursorASTUnit(CXCursor Cursor) { in getCursorASTUnit()
1172 CXTranslationUnit cxcursor::getCursorTU(CXCursor Cursor) { in getCursorTU()
1176 void cxcursor::getOverriddenCursors(CXCursor cursor, in getOverriddenCursors()
1177 SmallVectorImpl<CXCursor> &overridden) { in getOverriddenCursors()
1195 cxcursor::getSelectorIdentifierIndexAndLoc(CXCursor cursor) { in getSelectorIdentifierIndexAndLoc()
1212 CXCursor cxcursor::getSelectorIdentifierCursor(int SelIdx, CXCursor cursor) { in getSelectorIdentifierCursor()
1213 CXCursor newCursor = cursor; in getSelectorIdentifierCursor()
1235 CXCursor cxcursor::getTypeRefCursor(CXCursor cursor) { in getTypeRefCursor()
1276 bool cxcursor::operator==(CXCursor X, CXCursor Y) { in operator ==()
1283 bool cxcursor::isFirstInDeclGroup(CXCursor C) { in isFirstInDeclGroup()
1292 int clang_Cursor_isNull(CXCursor cursor) { in clang_Cursor_isNull()
1296 CXTranslationUnit clang_Cursor_getTranslationUnit(CXCursor cursor) { in clang_Cursor_getTranslationUnit()
1300 int clang_Cursor_getNumArguments(CXCursor C) { in clang_Cursor_getNumArguments()
1322 CXCursor clang_Cursor_getArgument(CXCursor C, unsigned i) { in clang_Cursor_getArgument()
1355 int clang_Cursor_getNumTemplateArguments(CXCursor C) { in clang_Cursor_getNumTemplateArguments()
1392 static int clang_Cursor_getTemplateArgument(CXCursor C, unsigned I, in clang_Cursor_getTemplateArgument()
1418 enum CXTemplateArgumentKind clang_Cursor_getTemplateArgumentKind(CXCursor C, in clang_Cursor_getTemplateArgumentKind()
1449 CXType clang_Cursor_getTemplateArgumentType(CXCursor C, unsigned I) { in clang_Cursor_getTemplateArgumentType()
1463 long long clang_Cursor_getTemplateArgumentValue(CXCursor C, unsigned I) { in clang_Cursor_getTemplateArgumentValue()
1479 unsigned long long clang_Cursor_getTemplateArgumentUnsignedValue(CXCursor C, in clang_Cursor_getTemplateArgumentUnsignedValue()
1500 typedef llvm::DenseMap<CXCursor, unsigned> CXCursorSet_Impl;
1509 template <> struct DenseMapInfo<CXCursor> {
1511 static inline CXCursor getEmptyKey() { in getEmptyKey()
1514 static inline CXCursor getTombstoneKey() { in getTombstoneKey()
1517 static inline unsigned getHashValue(const CXCursor &cursor) { in getHashValue()
1521 static inline bool isEqual(const CXCursor &x, const CXCursor &y) { in isEqual()
1535 unsigned clang_CXCursorSet_contains(CXCursorSet set, CXCursor cursor) { in clang_CXCursorSet_contains()
1542 unsigned clang_CXCursorSet_insert(CXCursorSet set, CXCursor cursor) { in clang_CXCursorSet_insert()
1557 CXCompletionString clang_getCursorCompletionString(CXCursor cursor) { in clang_getCursorCompletionString()
1590 typedef SmallVector<CXCursor, 2> CursorVec;
1612 void clang_getOverriddenCursors(CXCursor cursor, CXCursor **overridden, in clang_getOverriddenCursors()
1646 CXCursor backRefCursor = MakeCXCursorInvalid(CXCursor_InvalidFile, TU); in clang_getOverriddenCursors()
1667 void clang_disposeOverriddenCursors(CXCursor *overridden) { in clang_disposeOverriddenCursors()
1687 int clang_Cursor_isDynamicCall(CXCursor C) { in clang_Cursor_isDynamicCall()
1726 CXType clang_Cursor_getReceiverType(CXCursor C) { in clang_Cursor_getReceiverType()