| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 134550
|
|
|
|
|
|
|
| |
between different classes of errors. Addresses most of
<rdar://problem/9660328>.
llvm-svn: 134495
|
|
|
|
|
|
| |
layering problem has been addressed.
llvm-svn: 133217
|
|
|
|
| |
llvm-svn: 133147
|
|
|
|
|
|
| |
query functions, from Erik Verbruggen!
llvm-svn: 131295
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
CXTranslationUnit_NestedMacroInstantiations, which indicates whether
we want to see "nested" macro instantiations (e.g., those that occur
inside other macro instantiations) within the detailed preprocessing
record. Many clients (e.g., those that only care about visible tokens)
don't care about this information, and in code that uses preprocessor
metaprogramming, this information can have a very high cost.
Addresses <rdar://problem/9389320>.
llvm-svn: 130990
|
|
|
|
|
|
|
|
| |
which determines whether a particular file is actually a header that
is intended to be guarded from multiple inclusions within the same
translation unit.
llvm-svn: 130808
|
|
|
|
| |
llvm-svn: 129857
|