Searched defs:CXTok (Results 1 - 1 of 1) sorted by relevance

/external/clang/tools/libclang/
H A DCIndex.cpp5960 CXTokenKind clang_getTokenKind(CXToken CXTok) { argument
5961 return static_cast<CXTokenKind>(CXTok.int_data[0]);
5964 CXString clang_getTokenSpelling(CXTranslationUnit TU, CXToken CXTok) { argument
5965 switch (clang_getTokenKind(CXTok)) {
5969 return cxstring::createRef(static_cast<IdentifierInfo *>(CXTok.ptr_data)
5974 const char *Text = static_cast<const char *>(CXTok.ptr_data);
5975 return cxstring::createDup(StringRef(Text, CXTok.int_data[2]));
5994 SourceLocation Loc = SourceLocation::getFromRawEncoding(CXTok.int_data[1]);
6003 return cxstring::createDup(Buffer.substr(LocInfo.second, CXTok.int_data[2]));
6006 CXSourceLocation clang_getTokenLocation(CXTranslationUnit TU, CXToken CXTok) { argument
6020 clang_getTokenExtent(CXTranslationUnit TU, CXToken CXTok) argument
6069 CXToken CXTok; local
[all...]

Completed in 54 milliseconds