reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/include/clang-c/Index.h
 4955 CINDEX_LINKAGE CXToken *clang_getToken(CXTranslationUnit TU,
 4961 CINDEX_LINKAGE CXTokenKind clang_getTokenKind(CXToken);
 4969 CINDEX_LINKAGE CXString clang_getTokenSpelling(CXTranslationUnit, CXToken);
 4975                                                        CXToken);
 4980 CINDEX_LINKAGE CXSourceRange clang_getTokenExtent(CXTranslationUnit, CXToken);
 5000                                    CXToken **Tokens, unsigned *NumTokens);
 5033                                          CXToken *Tokens, unsigned NumTokens,
 5040                                         CXToken *Tokens, unsigned NumTokens);
tools/clang/tools/c-index-test/c-index-test.c
 2453   CXToken *token = clang_getToken(translation_unit, start);
 4115   CXToken *tokens;
tools/clang/tools/libclang/CIndex.cpp
 6627 CXTokenKind clang_getTokenKind(CXToken CXTok) {
 6631 CXString clang_getTokenSpelling(CXTranslationUnit TU, CXToken CXTok) {
 6673 CXSourceLocation clang_getTokenLocation(CXTranslationUnit TU, CXToken CXTok) {
 6687 CXSourceRange clang_getTokenExtent(CXTranslationUnit TU, CXToken CXTok) {
 6702                       SmallVectorImpl<CXToken> &CXTokens) {
 6736     CXToken CXTok;
 6773 CXToken *clang_getToken(CXTranslationUnit TU, CXSourceLocation Location) {
 6796   SmallVector<CXToken, 32> CXTokens;
 6803   CXToken *Token = static_cast<CXToken *>(llvm::safe_malloc(sizeof(CXToken)));
 6803   CXToken *Token = static_cast<CXToken *>(llvm::safe_malloc(sizeof(CXToken)));
 6805   memmove(Token, CXTokens.data(), sizeof(CXToken));
 6810                     CXToken **Tokens, unsigned *NumTokens) {
 6835   SmallVector<CXToken, 32> CXTokens;
 6842       llvm::safe_malloc(sizeof(CXToken) * CXTokens.size()));
 6843   memmove(*Tokens, CXTokens.data(), sizeof(CXToken) * CXTokens.size());
 6848                          CXToken *Tokens, unsigned NumTokens) {
 6864   CXToken *Tokens;
 6888   CXToken &getTok(unsigned Idx) {
 6892   const CXToken &getTok(unsigned Idx) const {
 6914   AnnotateTokensWorker(CXToken *tokens, CXCursor *cursors, unsigned numTokens,
 7354   CXToken *Tokens;
 7360                             CXToken *tokens, unsigned numTokens)
 7395   CXToken &getTok(unsigned Idx) {
 7399   const CXToken &getTok(unsigned Idx) const {
 7439                                        CXToken *Tokens,
 7541                                      CXToken *Tokens, unsigned NumTokens,
 7649                           CXToken *Tokens, unsigned NumTokens,
tools/clang/unittests/libclang/LibclangTest.cpp
  715     CXToken *Tokens;