mirror of https://gitlab.com/cppit/libclangmm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
291 B
11 lines
291 B
|
11 years ago
|
#include "Cursor.h"
|
||
|
|
|
||
|
|
const clang::CursorKind clang::Cursor::kind() {
|
||
|
|
return (CursorKind) clang_getCursorKind(this->cursor_);
|
||
|
|
}
|
||
|
|
|
||
|
|
clang::Cursor::
|
||
|
|
Cursor(clang::TranslationUnit *tu, clang::SourceLocation *source_location) {
|
||
|
|
cursor_ = clang_getCursor(tu->tu_, source_location->location_);
|
||
|
|
}
|