| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
template. Such cursors occur, for example, in template specialization
types such as vector<int>. Note that we do not handle the
super-interesting case where the template name is unresolved, e.g.,
within a template.
llvm-svn: 112636
|
|
|
|
|
|
| |
including a cursor kind, visitation, and USRs.
llvm-svn: 112629
|
|
|
|
|
|
| |
class templates.
llvm-svn: 112627
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libclang. This includes:
- Cursor kind for function templates, with visitation logic
- Cursor kinds for template parameters, with visitation logic
- Visitation logic for template specialization types, qualified type
locations
- USR generation for function templates, template specialization
types, template parameter types.
Also happens to fix PR7804, which I tripped across while testing.
llvm-svn: 112604
|
|
|
|
|
|
|
|
| |
conversion functions. This introduces new cursor kinds for these three
C++ entities, and reworks visitation of function declarations so that
we get type-source information for the names.
llvm-svn: 112600
|
|
|
|
|
|
|
|
| |
adding the API hooks clang_isVirtualBase() and clang_getCXXAccessSpecifier() to query properties of the base specifier.
Implements <rdar://problem/8274883>.
llvm-svn: 112296
|
|
|
|
| |
llvm-svn: 112295
|
|
|
|
|
|
|
|
|
|
|
| |
into the clients, e.g., the printing code-completion consumer and
c-index-test. Clients may want to re-sort the results anyway.
Provide a libclang function that sorts the results.
3rd try. How embarrassing.
llvm-svn: 112180
|
|
|
|
|
|
| |
path and ...", it is failing tests.
llvm-svn: 112161
|
|
|
|
|
|
|
|
|
| |
into the clients, e.g., the printing code-completion consumer and
c-index-test. Clients may want to re-sort the results anyway.
Provide a libclang function that sorts the results.
llvm-svn: 112149
|
|
|
|
|
|
| |
collection type for iboutletcollection attributes.
llvm-svn: 112139
|
|
|
|
| |
llvm-svn: 111875
|
|
|
|
|
|
|
| |
of a cursor or code-completion result, e.g., whether that result
refers to an unavailable, deleted, or deprecated declaration.
llvm-svn: 111858
|
|
|
|
|
|
| |
later
llvm-svn: 111016
|
|
|
|
|
|
| |
into a PCH/AST file.
llvm-svn: 111006
|
|
|
|
|
|
|
|
|
|
| |
clang_reparseTranslationUnit(), along with a function to retrieve the
default recommended reparsing options for a translation unit.
Also, add the CXTranslationUnit_CacheCompletionResults flag, which is
also currently unused.
llvm-svn: 110811
|
|
|
|
|
|
|
|
| |
"editing" mode, introduce a separate function
clang_defaultEditingTranslationUnitOptions() that retrieves the set of
options. No functionality change.
llvm-svn: 110613
|
|
|
|
| |
llvm-svn: 110596
|
|
|
|
|
|
|
|
|
| |
flags enumeration + default-generating function that allows
code-completion to be customized via the libclang API.
Plus, turn on spell-checking when performing code completion.
llvm-svn: 110319
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
completion within the translation unit using the same command-line
arguments for parsing the translation unit. Eventually, we'll reuse
the precompiled preamble to improve code-completion performance, and
this also gives us a place to cache results.
Expose this function via the new libclang function
clang_codeCompleteAt(), which performs the code completion within a
CXTranslationUnit. The completion occurs in-process
(clang_codeCompletion() runs code completion out-of-process).
llvm-svn: 110210
|
|
|
|
|
|
| |
<rdar://problem/8250669>.
llvm-svn: 109822
|
|
|
|
|
|
|
| |
ASTUnit/CXTranslationUnit. We can't actually use this preamble yet,
however.
llvm-svn: 109202
|
|
|
|
|
|
|
|
|
| |
will eventually replace
clang_createTranslationUnitFromSourceFile(). The only addition in
clang_parseTranslationUnit() is a set of flags that can control how
the translation unit is loaded. More interesting flags will be coming.
llvm-svn: 109027
|
|
|
|
|
|
|
|
| |
reparses an already-parsed translation unit. At the moment it's just a
convenience function, but we hope to use it for performance
optimizations.
llvm-svn: 108756
|
|
|
|
|
|
|
|
| |
This is done by
adding a clang_getCursorResultType() function (which complements clang_getResultType()).
llvm-svn: 106473
|
|
|
|
|
|
|
|
| |
includes adding a new
function, clang_getResultType(), which returns the result type of the function type.
llvm-svn: 106459
|
|
|
|
|
|
| |
- This eliminates most dependencies on how Clang is installed relative to LLVM.
llvm-svn: 105637
|
|
|
|
|
|
|
|
| |
CXDiagnostics, and we shouldn't
have an API around that cannot be implemented correctly yet.
llvm-svn: 104849
|
|
|
|
| |
llvm-svn: 104751
|
|
|
|
|
|
| |
SourceManager::isFromMainFile()).
llvm-svn: 104208
|
|
|
|
|
|
| |
in the debugger.
llvm-svn: 104171
|
|
|
|
|
|
| |
provided by clang_isCursorDefinition().
llvm-svn: 104138
|
|
|
|
| |
llvm-svn: 104135
|
|
|
|
|
|
|
|
| |
distinguish between
forward declarations and definitions of structs/classes/enums.
llvm-svn: 104075
|
|
|
|
|
|
| |
is declared static.
llvm-svn: 103963
|
|
|
|
|
|
|
|
|
| |
exposes details of
Clang's representation of the C type system to clients. It is nowhere near complete, and will
be expanded on demand.
llvm-svn: 103809
|
|
|
|
| |
llvm-svn: 103224
|
|
|
|
| |
llvm-svn: 103211
|
|
|
|
|
|
|
|
| |
instead of at the top-level.
Also, don't set NO_INSTALL=1 for c-index-test.
llvm-svn: 102724
|
|
|
|
|
|
| |
CXLanguageKind.
llvm-svn: 101287
|
|
|
|
| |
llvm-svn: 101193
|
|
|
|
|
|
| |
(e.g., distinguish between C and Objective-C language features). Currently this only returns results for declarations.
llvm-svn: 101070
|
|
|
|
|
|
| |
arguments.
llvm-svn: 101054
|
|
|
|
| |
llvm-svn: 100989
|
|
|
|
| |
llvm-svn: 98981
|
|
|
|
|
|
| |
generated by clang_annotateTokens().
llvm-svn: 98837
|
|
|
|
|
|
|
| |
token sequence to detect macro instantiations (that produce at least
token). WIP.
llvm-svn: 98826
|
|
|
|
|
|
|
|
| |
directives while annotating tokens in CIndex. This functionality
should probably be factored out of this routine, but we're not there
yet.
llvm-svn: 98786
|
|
|
|
|
|
| |
(there was a missing 'C').
llvm-svn: 98554
|
|
|
|
|
|
| |
instead of AST elements.
llvm-svn: 98421
|