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()
635 CXCursor C = {K, 0, {Parent, S, TU}}; in MakeCXCursor()
808 CXCursor C = {K, 0, {Parent, S, TU}}; in MakeCXCursor()
812 CXCursor cxcursor::MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super, in MakeCursorObjCSuperClassRef()
817 CXCursor C = {CXCursor_ObjCSuperClassRef, 0, {Super, RawLoc, TU}}; in MakeCursorObjCSuperClassRef()
822 cxcursor::getCursorObjCSuperClassRef(CXCursor C) { in getCursorObjCSuperClassRef()
828 CXCursor cxcursor::MakeCursorObjCProtocolRef(const ObjCProtocolDecl *Proto, in MakeCursorObjCProtocolRef()
833 CXCursor C = {CXCursor_ObjCProtocolRef, 0, {Proto, RawLoc, TU}}; in MakeCursorObjCProtocolRef()
838 cxcursor::getCursorObjCProtocolRef(CXCursor C) { in getCursorObjCProtocolRef()
844 CXCursor cxcursor::MakeCursorObjCClassRef(const ObjCInterfaceDecl *Class, in MakeCursorObjCClassRef()
852 CXCursor C = {CXCursor_ObjCClassRef, 0, {Class, RawLoc, TU}}; in MakeCursorObjCClassRef()
857 cxcursor::getCursorObjCClassRef(CXCursor C) { in getCursorObjCClassRef()
863 CXCursor cxcursor::MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc, in MakeCursorTypeRef()
867 CXCursor C = {CXCursor_TypeRef, 0, {Type, RawLoc, TU}}; in MakeCursorTypeRef()
872 cxcursor::getCursorTypeRef(CXCursor C) { in getCursorTypeRef()
878 CXCursor cxcursor::MakeCursorTemplateRef(const TemplateDecl *Template, in MakeCursorTemplateRef()
883 CXCursor C = {CXCursor_TemplateRef, 0, {Template, RawLoc, TU}}; in MakeCursorTemplateRef()
888 cxcursor::getCursorTemplateRef(CXCursor C) { in getCursorTemplateRef()
894 CXCursor cxcursor::MakeCursorNamespaceRef(const NamedDecl *NS, in MakeCursorNamespaceRef()
901 CXCursor C = {CXCursor_NamespaceRef, 0, {NS, RawLoc, TU}}; in MakeCursorNamespaceRef()
906 cxcursor::getCursorNamespaceRef(CXCursor C) { in getCursorNamespaceRef()
912 CXCursor cxcursor::MakeCursorVariableRef(const VarDecl *Var, SourceLocation Loc, in MakeCursorVariableRef()
917 CXCursor C = {CXCursor_VariableRef, 0, {Var, RawLoc, TU}}; in MakeCursorVariableRef()
922 cxcursor::getCursorVariableRef(CXCursor C) { in getCursorVariableRef()
928 CXCursor cxcursor::MakeCursorMemberRef(const FieldDecl *Field, in MakeCursorMemberRef()
934 CXCursor C = {CXCursor_MemberRef, 0, {Field, RawLoc, TU}}; in MakeCursorMemberRef()
939 cxcursor::getCursorMemberRef(CXCursor C) { in getCursorMemberRef()
945 CXCursor cxcursor::MakeCursorCXXBaseSpecifier(const CXXBaseSpecifier *B, in MakeCursorCXXBaseSpecifier()
947 CXCursor C = {CXCursor_CXXBaseSpecifier, 0, {B, nullptr, TU}}; in MakeCursorCXXBaseSpecifier()
951 const CXXBaseSpecifier *cxcursor::getCursorCXXBaseSpecifier(CXCursor C) { in getCursorCXXBaseSpecifier()
956 CXCursor cxcursor::MakePreprocessingDirectiveCursor(SourceRange Range, in MakePreprocessingDirectiveCursor()
958 CXCursor C = { in MakePreprocessingDirectiveCursor()
965 SourceRange cxcursor::getCursorPreprocessingDirective(CXCursor C) { in getCursorPreprocessingDirective()
973 CXCursor cxcursor::MakeMacroDefinitionCursor(const MacroDefinitionRecord *MI, in MakeMacroDefinitionCursor()
975 CXCursor C = {CXCursor_MacroDefinition, 0, {MI, nullptr, TU}}; in MakeMacroDefinitionCursor()
979 const MacroDefinitionRecord *cxcursor::getCursorMacroDefinition(CXCursor C) { in getCursorMacroDefinition()
984 CXCursor cxcursor::MakeMacroExpansionCursor(MacroExpansion *MI, in MakeMacroExpansionCursor()
986 CXCursor C = {CXCursor_MacroExpansion, 0, {MI, nullptr, TU}}; in MakeMacroExpansionCursor()
990 CXCursor cxcursor::MakeMacroExpansionCursor(MacroDefinitionRecord *MI, in MakeMacroExpansionCursor()
994 CXCursor C = {CXCursor_MacroExpansion, 0, {MI, Loc.getPtrEncoding(), TU}}; in MakeMacroExpansionCursor()
1015 CXCursor cxcursor::MakeInclusionDirectiveCursor(InclusionDirective *ID, in MakeInclusionDirectiveCursor()
1017 CXCursor C = {CXCursor_InclusionDirective, 0, {ID, nullptr, TU}}; in MakeInclusionDirectiveCursor()
1021 const InclusionDirective *cxcursor::getCursorInclusionDirective(CXCursor C) { in getCursorInclusionDirective()
1026 CXCursor cxcursor::MakeCursorLabelRef(LabelStmt *Label, SourceLocation Loc, in MakeCursorLabelRef()
1031 CXCursor C = {CXCursor_LabelRef, 0, {Label, RawLoc, TU}}; in MakeCursorLabelRef()
1036 cxcursor::getCursorLabelRef(CXCursor C) { in getCursorLabelRef()
1042 CXCursor cxcursor::MakeCursorOverloadedDeclRef(const OverloadExpr *E, in MakeCursorOverloadedDeclRef()
1047 CXCursor C = { in MakeCursorOverloadedDeclRef()
1052 CXCursor cxcursor::MakeCursorOverloadedDeclRef(const Decl *D, in MakeCursorOverloadedDeclRef()
1058 CXCursor C = { in MakeCursorOverloadedDeclRef()
1063 CXCursor cxcursor::MakeCursorOverloadedDeclRef(TemplateName Name, in MakeCursorOverloadedDeclRef()
1069 CXCursor C = { in MakeCursorOverloadedDeclRef()
1075 cxcursor::getCursorOverloadedDeclRef(CXCursor C) { in getCursorOverloadedDeclRef()
1082 const Decl *cxcursor::getCursorDecl(CXCursor Cursor) { in getCursorDecl()
1086 const Expr *cxcursor::getCursorExpr(CXCursor Cursor) { in getCursorExpr()
1090 const Stmt *cxcursor::getCursorStmt(CXCursor Cursor) { in getCursorStmt()
1099 const Attr *cxcursor::getCursorAttr(CXCursor Cursor) { in getCursorAttr()
1103 ASTContext &cxcursor::getCursorContext(CXCursor Cursor) { in getCursorContext()
1107 ASTUnit *cxcursor::getCursorASTUnit(CXCursor Cursor) { in getCursorASTUnit()
1114 CXTranslationUnit cxcursor::getCursorTU(CXCursor Cursor) { in getCursorTU()
1118 void cxcursor::getOverriddenCursors(CXCursor cursor, in getOverriddenCursors()
1119 SmallVectorImpl<CXCursor> &overridden) { in getOverriddenCursors()
1137 cxcursor::getSelectorIdentifierIndexAndLoc(CXCursor cursor) { in getSelectorIdentifierIndexAndLoc()
1154 CXCursor cxcursor::getSelectorIdentifierCursor(int SelIdx, CXCursor cursor) { in getSelectorIdentifierCursor()
1155 CXCursor newCursor = cursor; in getSelectorIdentifierCursor()
1177 CXCursor cxcursor::getTypeRefCursor(CXCursor cursor) { in getTypeRefCursor()
1218 bool cxcursor::operator==(CXCursor X, CXCursor Y) { in operator ==()
1225 bool cxcursor::isFirstInDeclGroup(CXCursor C) { in isFirstInDeclGroup()
1234 int clang_Cursor_isNull(CXCursor cursor) { in clang_Cursor_isNull()
1238 CXTranslationUnit clang_Cursor_getTranslationUnit(CXCursor cursor) { in clang_Cursor_getTranslationUnit()
1242 int clang_Cursor_getNumArguments(CXCursor C) { in clang_Cursor_getNumArguments()
1264 CXCursor clang_Cursor_getArgument(CXCursor C, unsigned i) { in clang_Cursor_getArgument()
1297 int clang_Cursor_getNumTemplateArguments(CXCursor C) { in clang_Cursor_getNumTemplateArguments()
1334 static int clang_Cursor_getTemplateArgument(CXCursor C, unsigned I, in clang_Cursor_getTemplateArgument()
1360 enum CXTemplateArgumentKind clang_Cursor_getTemplateArgumentKind(CXCursor C, in clang_Cursor_getTemplateArgumentKind()
1391 CXType clang_Cursor_getTemplateArgumentType(CXCursor C, unsigned I) { in clang_Cursor_getTemplateArgumentType()
1405 long long clang_Cursor_getTemplateArgumentValue(CXCursor C, unsigned I) { in clang_Cursor_getTemplateArgumentValue()
1421 unsigned long long clang_Cursor_getTemplateArgumentUnsignedValue(CXCursor C, in clang_Cursor_getTemplateArgumentUnsignedValue()
1442 typedef llvm::DenseMap<CXCursor, unsigned> CXCursorSet_Impl;
1451 template <> struct DenseMapInfo<CXCursor> {
1453 static inline CXCursor getEmptyKey() { in getEmptyKey()
1456 static inline CXCursor getTombstoneKey() { in getTombstoneKey()
1459 static inline unsigned getHashValue(const CXCursor &cursor) { in getHashValue()
1463 static inline bool isEqual(const CXCursor &x, const CXCursor &y) { in isEqual()
1477 unsigned clang_CXCursorSet_contains(CXCursorSet set, CXCursor cursor) { in clang_CXCursorSet_contains()
1484 unsigned clang_CXCursorSet_insert(CXCursorSet set, CXCursor cursor) { in clang_CXCursorSet_insert()
1499 CXCompletionString clang_getCursorCompletionString(CXCursor cursor) { in clang_getCursorCompletionString()
1532 typedef SmallVector<CXCursor, 2> CursorVec;
1554 void clang_getOverriddenCursors(CXCursor cursor, CXCursor **overridden, in clang_getOverriddenCursors()
1588 CXCursor backRefCursor = MakeCXCursorInvalid(CXCursor_InvalidFile, TU); in clang_getOverriddenCursors()
1609 void clang_disposeOverriddenCursors(CXCursor *overridden) { in clang_disposeOverriddenCursors()
1629 int clang_Cursor_isDynamicCall(CXCursor C) { in clang_Cursor_isDynamicCall()
1668 CXType clang_Cursor_getReceiverType(CXCursor C) { in clang_Cursor_getReceiverType()