aboutsummaryrefslogtreecommitdiff
path: root/tools/c-index-test/c-index-test.c
AgeCommit message (Expand)Author
2010-02-18Rework how CIndex handles diagnostics. Rather than using a callback,Douglas Gregor
2010-02-17Convert clang_getCompletionChunkText() to return a CXString.Ted Kremenek
2010-02-17Change clang_getCursorKindSpelling() to return a CXStringTed Kremenek
2010-02-17Change clang_getFileName() to return a 'CXString' instead of 'const char *'.Ted Kremenek
2010-02-16c-index-test: Pass appropriate client data.Daniel Dunbar
2010-02-14CIndex: Switch CXSourceRange to proper half-open intervals.Daniel Dunbar
2010-02-14c-index-test: Unify and always print half-open extents.Daniel Dunbar
2010-02-14c-index-test: Simplify file scanning code.Daniel Dunbar
2010-02-14c-index-test: Unify syntax for printing extents. Yes, there were 4.Daniel Dunbar
2010-02-11Attempt to always dispose of the CXIndex object in c-index-test.Ted Kremenek
2010-02-10c-index-test: Add "none" filter, useful for performance testing.Daniel Dunbar
2010-02-08Clean up the CIndex interface to diagnostic ranges. Thanks, Daniel!Douglas Gregor
2010-01-29When printing diagnostics in c-index-test, also print source rangesDouglas Gregor
2010-01-28Switch the remaining diagnostic printing in CIndex over to theDouglas Gregor
2010-01-28Implement a diagnostics callback for the C interface to Clang, so thatDouglas Gregor
2010-01-26Implement 'clang_getInclusions()' in CIndex. This API allows clients to walk...Ted Kremenek
2010-01-26Eliminate clang_getInstantiationLocationOffset(), and instead add anDouglas Gregor
2010-01-26Implement clang_annotateTokens(), which associates cursors with eachDouglas Gregor
2010-01-26Add 'PostVisitTU' callback hook to 'perform_test_load()' to allow a special c...Ted Kremenek
2010-01-26Allow the 'visitor' argument to 'perform_test_load()' to be NULL. TheTed Kremenek
2010-01-26Introduce a CIndex API for lexing the raw tokens within a given sourceDouglas Gregor
2010-01-23Extend clang_createTranslationUnitFromSourceFile() to support creatingDouglas Gregor
2010-01-22Yet more CIndex API cleanup:Douglas Gregor
2010-01-20Stash a CXXUnit pointer into each cursor. This allows us to simplifyDouglas Gregor
2010-01-20Switch c-index-test from clang_loadDeclaration() andDouglas Gregor
2010-01-19Rework the CXSourceLocation and CXSourceRange APIs. They are nowDouglas Gregor
2010-01-19Eliminate cursor kinds used to express definitions. Instead, provideDouglas Gregor
2010-01-19Introduce clang_getCursorReferenced, to get a cursor pointing at theDouglas Gregor
2010-01-19Implement clang_getCursorExtent, which provides a source range for theDouglas Gregor
2010-01-18Introduce clang_getCursorLocation(), which supercedesDouglas Gregor
2010-01-18Clean up the CIndex API slightly.Douglas Gregor
2010-01-18Replace clang_getDeclUSR() with clang_getCursorUSR(). Also remove printing '...Ted Kremenek
2010-01-16Remove TranslateKind and centralize Decl -> CXCursorKind in GetCursorKind(). ...Ted Kremenek
2010-01-15Make CXCursor's data opaque.Douglas Gregor
2010-01-15Add -cursor-at=file:line:column command line option to c-index-test,Douglas Gregor
2010-01-12Add USR printing modes to c-index-test.Ted Kremenek
2010-01-12Make 'CXTranslationUnitIterator' an argument to perform_test_load(),Ted Kremenek
2010-01-10Improve code completion by introducing patterns for the various C andDouglas Gregor
2010-01-07Add FileCheck prefix to another location in the output of c-index-test.Ted Kremenek
2010-01-05Remove unused variables.Ted Kremenek
2010-01-05Add C API hook 'clang_getDeclExtent()', which returns the source extent of a ...Ted Kremenek
2009-12-18Extend code-completion results with the type of each resultDouglas Gregor
2009-12-18Change clang_codeComplete API to return the results in a structure onDouglas Gregor
2009-12-17Test for errors during fread() inside c-index-test and handle themChandler Carruth
2009-12-03Switch clang_createTranslationUnitFromSourceFile to use ASTUnit::LoadFromComm...Daniel Dunbar
2009-12-02Extend the CIndex code-completion API to perform code completionDouglas Gregor
2009-12-01c-index-test: Split "function scanning" behavior into its own "filter" -- itsDaniel Dunbar
2009-12-01Add c-index-test -test-load-source, which loads the translation unit from a s...Daniel Dunbar
2009-11-18Add special clang_getCursor() support for @class. Handles <rdar://problem/73...Ted Kremenek
2009-11-17fgetln is a BSDism; replace it with more portable code.Benjamin Kramer