Lines Matching refs:CXCursor
48 CXCursor getCursor(CXTranslationUnit, SourceLocation);
50 CXCursor MakeCXCursor(const clang::Attr *A, const clang::Decl *Parent,
52 CXCursor MakeCXCursor(const clang::Decl *D, CXTranslationUnit TU,
55 CXCursor MakeCXCursor(const clang::Stmt *S, const clang::Decl *Parent,
58 CXCursor MakeCXCursorInvalid(CXCursorKind K, CXTranslationUnit TU = nullptr);
61 CXCursor MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super,
67 getCursorObjCSuperClassRef(CXCursor C);
70 CXCursor MakeCursorObjCProtocolRef(const ObjCProtocolDecl *Proto,
76 getCursorObjCProtocolRef(CXCursor C);
79 CXCursor MakeCursorObjCClassRef(const ObjCInterfaceDecl *Class,
85 getCursorObjCClassRef(CXCursor C);
88 CXCursor MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc,
93 std::pair<const TypeDecl *, SourceLocation> getCursorTypeRef(CXCursor C);
96 CXCursor MakeCursorTemplateRef(const TemplateDecl *Template, SourceLocation Loc,
102 getCursorTemplateRef(CXCursor C);
106 CXCursor MakeCursorNamespaceRef(const NamedDecl *NS, SourceLocation Loc,
111 std::pair<const NamedDecl *, SourceLocation> getCursorNamespaceRef(CXCursor C);
114 CXCursor MakeCursorVariableRef(const VarDecl *Var, SourceLocation Loc,
119 std::pair<const VarDecl *, SourceLocation> getCursorVariableRef(CXCursor C);
122 CXCursor MakeCursorMemberRef(const FieldDecl *Field, SourceLocation Loc,
127 std::pair<const FieldDecl *, SourceLocation> getCursorMemberRef(CXCursor C);
130 CXCursor MakeCursorCXXBaseSpecifier(const CXXBaseSpecifier *B,
134 const CXXBaseSpecifier *getCursorCXXBaseSpecifier(CXCursor C);
137 CXCursor MakePreprocessingDirectiveCursor(SourceRange Range,
141 SourceRange getCursorPreprocessingDirective(CXCursor C);
144 CXCursor MakeMacroDefinitionCursor(const MacroDefinitionRecord *,
149 const MacroDefinitionRecord *getCursorMacroDefinition(CXCursor C);
152 CXCursor MakeMacroExpansionCursor(MacroExpansion *, CXTranslationUnit TU);
156 CXCursor MakeMacroExpansionCursor(MacroDefinitionRecord *, SourceLocation Loc,
167 CXCursor C;
184 MacroExpansionCursor(CXCursor C) : C(C) { in MacroExpansionCursor()
194 static inline MacroExpansionCursor getCursorMacroExpansion(CXCursor C) { in getCursorMacroExpansion()
199 CXCursor MakeInclusionDirectiveCursor(InclusionDirective *,
204 const InclusionDirective *getCursorInclusionDirective(CXCursor C);
207 CXCursor MakeCursorLabelRef(LabelStmt *Label, SourceLocation Loc,
212 std::pair<const LabelStmt *, SourceLocation> getCursorLabelRef(CXCursor C);
215 CXCursor MakeCursorOverloadedDeclRef(const OverloadExpr *E,
219 CXCursor MakeCursorOverloadedDeclRef(const Decl *D, SourceLocation Location,
223 CXCursor MakeCursorOverloadedDeclRef(TemplateName Template,
235 getCursorOverloadedDeclRef(CXCursor C);
237 const Decl *getCursorDecl(CXCursor Cursor);
238 const Expr *getCursorExpr(CXCursor Cursor);
239 const Stmt *getCursorStmt(CXCursor Cursor);
240 const Attr *getCursorAttr(CXCursor Cursor);
242 ASTContext &getCursorContext(CXCursor Cursor);
243 ASTUnit *getCursorASTUnit(CXCursor Cursor);
244 CXTranslationUnit getCursorTU(CXCursor Cursor);
246 void getOverriddenCursors(CXCursor cursor,
247 SmallVectorImpl<CXCursor> &overridden);
258 std::pair<int, SourceLocation> getSelectorIdentifierIndexAndLoc(CXCursor);
259 static inline int getSelectorIdentifierIndex(CXCursor cursor) { in getSelectorIdentifierIndex()
262 static inline SourceLocation getSelectorIdentifierLoc(CXCursor cursor) { in getSelectorIdentifierLoc()
266 CXCursor getSelectorIdentifierCursor(int SelIdx, CXCursor cursor);
268 static inline CXCursor getTypeRefedCallExprCursor(CXCursor cursor) { in getTypeRefedCallExprCursor()
269 CXCursor newCursor = cursor; in getTypeRefedCallExprCursor()
275 CXCursor getTypeRefCursor(CXCursor cursor);
282 bool operator==(CXCursor X, CXCursor Y);
284 inline bool operator!=(CXCursor X, CXCursor Y) { return !(X == Y); }
288 bool isFirstInDeclGroup(CXCursor C);