• 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 = 0);
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 MacroDefinition *,
153 const MacroDefinition *getCursorMacroDefinition(CXCursor C);
156 CXCursor MakeMacroExpansionCursor(MacroExpansion *,
161 CXCursor MakeMacroExpansionCursor(MacroDefinition *, SourceLocation Loc,
172 CXCursor C;
191 MacroExpansionCursor(CXCursor C) : C(C) { in MacroExpansionCursor()
201 static inline MacroExpansionCursor getCursorMacroExpansion(CXCursor C) { in getCursorMacroExpansion()
206 CXCursor MakeInclusionDirectiveCursor(InclusionDirective *,
211 const InclusionDirective *getCursorInclusionDirective(CXCursor C);
214 CXCursor MakeCursorLabelRef(LabelStmt *Label, SourceLocation Loc,
219 std::pair<const LabelStmt *, SourceLocation> getCursorLabelRef(CXCursor C);
222 CXCursor MakeCursorOverloadedDeclRef(const OverloadExpr *E,
226 CXCursor MakeCursorOverloadedDeclRef(const Decl *D, SourceLocation Location,
230 CXCursor MakeCursorOverloadedDeclRef(TemplateName Template,
242 getCursorOverloadedDeclRef(CXCursor C);
244 const Decl *getCursorDecl(CXCursor Cursor);
245 const Expr *getCursorExpr(CXCursor Cursor);
246 const Stmt *getCursorStmt(CXCursor Cursor);
247 const Attr *getCursorAttr(CXCursor Cursor);
248 const Decl *getCursorParentDecl(CXCursor Cursor);
250 ASTContext &getCursorContext(CXCursor Cursor);
251 ASTUnit *getCursorASTUnit(CXCursor Cursor);
252 CXTranslationUnit getCursorTU(CXCursor Cursor);
254 void getOverriddenCursors(CXCursor cursor,
255 SmallVectorImpl<CXCursor> &overridden);
266 std::pair<int, SourceLocation> getSelectorIdentifierIndexAndLoc(CXCursor);
267 static inline int getSelectorIdentifierIndex(CXCursor cursor) { in getSelectorIdentifierIndex()
270 static inline SourceLocation getSelectorIdentifierLoc(CXCursor cursor) { in getSelectorIdentifierLoc()
274 CXCursor getSelectorIdentifierCursor(int SelIdx, CXCursor cursor);
276 static inline CXCursor getTypeRefedCallExprCursor(CXCursor cursor) { in getTypeRefedCallExprCursor()
277 CXCursor newCursor = cursor; in getTypeRefedCallExprCursor()
283 CXCursor getTypeRefCursor(CXCursor cursor);
290 bool operator==(CXCursor X, CXCursor Y);
292 inline bool operator!=(CXCursor X, CXCursor Y) {
298 bool isFirstInDeclGroup(CXCursor C);