• Home
  • Raw
  • Download

Lines Matching refs:CXCursor

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 = nullptr);
62 CXCursor MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super,
69 getCursorObjCSuperClassRef(CXCursor C);
72 CXCursor MakeCursorObjCProtocolRef(const ObjCProtocolDecl *Proto,
79 getCursorObjCProtocolRef(CXCursor C);
82 CXCursor MakeCursorObjCClassRef(const ObjCInterfaceDecl *Class,
89 getCursorObjCClassRef(CXCursor C);
92 CXCursor MakeCursorTypeRef(const TypeDecl *Type, SourceLocation Loc,
97 std::pair<const TypeDecl *, SourceLocation> getCursorTypeRef(CXCursor C);
100 CXCursor MakeCursorTemplateRef(const TemplateDecl *Template, SourceLocation Loc,
106 getCursorTemplateRef(CXCursor C);
110 CXCursor MakeCursorNamespaceRef(const NamedDecl *NS, SourceLocation Loc,
115 std::pair<const NamedDecl *, SourceLocation> getCursorNamespaceRef(CXCursor C);
118 CXCursor MakeCursorVariableRef(const VarDecl *Var, SourceLocation Loc,
123 std::pair<const VarDecl *, SourceLocation> getCursorVariableRef(CXCursor C);
126 CXCursor MakeCursorMemberRef(const FieldDecl *Field, SourceLocation Loc,
131 std::pair<const FieldDecl *, SourceLocation> getCursorMemberRef(CXCursor C);
134 CXCursor MakeCursorCXXBaseSpecifier(const CXXBaseSpecifier *B,
138 const CXXBaseSpecifier *getCursorCXXBaseSpecifier(CXCursor C);
141 CXCursor MakePreprocessingDirectiveCursor(SourceRange Range,
145 SourceRange getCursorPreprocessingDirective(CXCursor C);
148 CXCursor MakeMacroDefinitionCursor(const MacroDefinitionRecord *,
153 const MacroDefinitionRecord *getCursorMacroDefinition(CXCursor C);
156 CXCursor MakeMacroExpansionCursor(MacroExpansion *, CXTranslationUnit TU);
160 CXCursor MakeMacroExpansionCursor(MacroDefinitionRecord *, SourceLocation Loc,
171 CXCursor C;
188 MacroExpansionCursor(CXCursor C) : C(C) { in MacroExpansionCursor()
198 static inline MacroExpansionCursor getCursorMacroExpansion(CXCursor C) { in getCursorMacroExpansion()
203 CXCursor MakeInclusionDirectiveCursor(InclusionDirective *,
208 const InclusionDirective *getCursorInclusionDirective(CXCursor C);
211 CXCursor MakeCursorLabelRef(LabelStmt *Label, SourceLocation Loc,
216 std::pair<const LabelStmt *, SourceLocation> getCursorLabelRef(CXCursor C);
219 CXCursor MakeCursorOverloadedDeclRef(const OverloadExpr *E,
223 CXCursor MakeCursorOverloadedDeclRef(const Decl *D, SourceLocation Location,
227 CXCursor MakeCursorOverloadedDeclRef(TemplateName Template,
239 getCursorOverloadedDeclRef(CXCursor C);
241 const Decl *getCursorDecl(CXCursor Cursor);
242 const Expr *getCursorExpr(CXCursor Cursor);
243 const Stmt *getCursorStmt(CXCursor Cursor);
244 const Attr *getCursorAttr(CXCursor Cursor);
245 const Decl *getCursorParentDecl(CXCursor Cursor);
247 ASTContext &getCursorContext(CXCursor Cursor);
248 ASTUnit *getCursorASTUnit(CXCursor Cursor);
249 CXTranslationUnit getCursorTU(CXCursor Cursor);
251 void getOverriddenCursors(CXCursor cursor,
252 SmallVectorImpl<CXCursor> &overridden);
263 std::pair<int, SourceLocation> getSelectorIdentifierIndexAndLoc(CXCursor);
264 static inline int getSelectorIdentifierIndex(CXCursor cursor) { in getSelectorIdentifierIndex()
267 static inline SourceLocation getSelectorIdentifierLoc(CXCursor cursor) { in getSelectorIdentifierLoc()
271 CXCursor getSelectorIdentifierCursor(int SelIdx, CXCursor cursor);
273 static inline CXCursor getTypeRefedCallExprCursor(CXCursor cursor) { in getTypeRefedCallExprCursor()
274 CXCursor newCursor = cursor; in getTypeRefedCallExprCursor()
280 CXCursor getTypeRefCursor(CXCursor cursor);
287 bool operator==(CXCursor X, CXCursor Y);
289 inline bool operator!=(CXCursor X, CXCursor Y) {
295 bool isFirstInDeclGroup(CXCursor C);