| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
so that we can access the attributes of an entity for a reference.
llvm-svn: 146616
|
| |
|
|
|
|
|
|
| |
@class forward references.
rdar://10568080&10568103&10568119
llvm-svn: 146496
|
| |
|
|
|
|
| |
They are generally the same except in C++ cases like out-of-line member functions.
llvm-svn: 146069
|
| |
|
|
| |
llvm-svn: 146068
|
| |
|
|
|
|
| |
of an indexed entity.
llvm-svn: 146067
|
| |
|
|
|
|
| |
of kind CXIdxEntity_CXXInstanceVariable. rdar://10522503.
llvm-svn: 145859
|
| |
|
|
| |
llvm-svn: 145557
|
| |
|
|
|
|
|
|
|
| |
Specify that these files should be installed to the optional internal
install location as specified by configure's --with-internal-prefix.
If that option is not used, they'll be installed to the default prefix
as before.
llvm-svn: 145235
|
| |
|
|
|
|
|
|
| |
after
indexing, honor all the TU options.
llvm-svn: 145229
|
| |
|
|
| |
llvm-svn: 145058
|
| |
|
|
| |
llvm-svn: 144947
|
| |
|
|
|
|
|
|
|
| |
-For indexDeclaration, also pass the declaration attributes as an array of cursors.
-Rename CXIndexOpt_OneRefPerFile -> CXIndexOpt_SuppressRedundantRefs, and only pass
a reference if a declaration/definition does not exist in the file.
-Other fixes.
llvm-svn: 144942
|
| |
|
|
|
|
|
|
| |
implementation and
do not crash if no client container is registered for a declaration context.
llvm-svn: 144765
|
| |
|
|
|
|
|
|
| |
report one reference
per file.
llvm-svn: 144763
|
| |
|
|
|
|
|
|
| |
existing
CXTranslationUnit, mainly to be used for indexing a PCH.
llvm-svn: 144623
|
| |
|
|
|
|
| |
for it.
llvm-svn: 144577
|
| |
|
|
|
|
| |
disposed.
llvm-svn: 144514
|
| |
|
|
|
|
| |
-test-load-source-reparse
llvm-svn: 144509
|
| |
|
|
|
|
|
| |
That stuff can be added later on if we need them.
Also add some const goodness.
llvm-svn: 144446
|
| |
|
|
| |
llvm-svn: 144386
|
| |
|
|
|
|
|
|
|
| |
including a test case for no issues, multiple issues, and
a single issue. Along the way, tweak c-index-test -read-diagnostics output so it is easier to tell what diagnostics are
child diagnostics.
llvm-svn: 144349
|
| |
|
|
|
|
|
|
| |
Cut down the number of callbacks to more generic ones. Clients can check
an enum to find out what kind of declaration it is and they can call functions
to get more specific information than the generic provided info.
llvm-svn: 144343
|
| |
|
|
| |
llvm-svn: 144274
|
| |
|
|
| |
llvm-svn: 144272
|
| |
|
|
|
|
|
|
| |
via the libclang API.
I've tested it on simple cases and it works. Test cases to follow as well as a few tweaks.
llvm-svn: 144269
|
| |
|
|
| |
llvm-svn: 143779
|
| |
|
|
|
|
|
|
|
|
|
| |
that function
always returning a null file/line/column.
Also add at least one use of clang_getExpansionLocation inside c-index-test that would have
made the tests to catch that.
llvm-svn: 143606
|
| |
|
|
|
|
| |
the CINDEXTEST_COMPLETION_NO_CACHING environment variable is present.
llvm-svn: 143604
|
| |
|
|
|
|
|
|
| |
which, if set,
will cause c-index-test to return as failed if a compiler error occurred.
llvm-svn: 143243
|
| |
|
|
| |
llvm-svn: 142590
|
| |
|
|
| |
llvm-svn: 142355
|
| |
|
|
| |
llvm-svn: 142354
|
| |
|
|
| |
llvm-svn: 142289
|
| |
|
|
|
|
|
|
|
| |
more of the work involved in indexing a translation unit and simplifies client
implementations.
Only C/ObjC for now, C++ (and comments) to come.
llvm-svn: 142233
|
| |
|
|
|
|
| |
retrieve annotations from completion string.
llvm-svn: 141953
|
| |
|
|
| |
llvm-svn: 141281
|
| |
|
|
|
|
| |
available, but not accessible from the current code completion context.
llvm-svn: 141278
|
| |
|
|
|
|
|
|
| |
and a callback and finds all identifier references of the cursor in the file.
rdar://7948304
llvm-svn: 141277
|
| |
|
|
| |
llvm-svn: 140694
|
| |
|
|
| |
llvm-svn: 140681
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
a "loaded" location of the precompiled preamble.
Instead, handle specially locations of preprocessed entities:
-When looking up for preprocessed entities, map main file locations inside the
preamble range to a preamble loaded location.
-When getting the source range of a preprocessing cursor, map preamble loaded
locations back to main file locations.
Fixes rdar://10175093 & http://llvm.org/PR10999
llvm-svn: 140519
|
| |
|
|
|
|
|
|
|
| |
variable,
which when set it determines the trial number after which the remapping of files should
take effect.
llvm-svn: 139511
|
| |
|
|
| |
llvm-svn: 138736
|
| |
|
|
|
|
| |
cursor, from Connor Wakamo! Addresses <rdar://problem/9087798>.
llvm-svn: 136911
|
| |
|
|
|
|
|
| |
provides the partial Objective-C selector used in a code
completion. From Connor Wakamo!
llvm-svn: 136084
|
| |
|
|
|
|
| |
a cursor reference, from Erik Verbruggen!
llvm-svn: 135920
|
| |
|
|
|
|
| |
Connor Wakamo!
llvm-svn: 135651
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is switches all the interfaces points (and most of the commenst
/ local variables I saw on my way through) regarding the
NestedMacroInstantiations bit.
The libclang enums corresponding to this state were renamed, but
a legacy enum was added with the old name, and the same value to keep
existing clients working. I've added a documentation blurb for it, but
let me know if there is a canonical way to document legacy elemenst of
the libclang interface.
No functionality changed here, even in tests.
llvm-svn: 135141
|
| |
|
|
| |
llvm-svn: 134849
|
| |
|
|
|
|
|
|
|
| |
clang_codeCompleteGetContexts(), that provides the client with
information about the context in which code completion has occurred
and what kinds of entities make sense as completions at that
point. Patch by Connor Wakamo!
llvm-svn: 134615
|