Browse Source

Added default constructor to clang::Cursor

merge-requests/37/head
eidheim 10 years ago
parent
commit
df42c7658b
  1. 1
      src/Cursor.h

1
src/Cursor.h

@ -176,6 +176,7 @@ namespace clang {
class Cursor {
public:
Cursor() { cx_cursor=clang_getNullCursor(); }
Cursor(const CXCursor &cx_cursor) : cx_cursor(cx_cursor) {}
CursorKind get_kind();
SourceLocation get_source_location() const;

Loading…
Cancel
Save