Author: ioeric
Date: Tue Apr 16 07:35:49 2019
New Revision: 358496
URL: http://llvm.org/viewvc/llvm-project?rev=358496&view=rev
Log:
[clangd] Check file path of declaring header when deciding whether to insert
include.
Summary:
Previously, we would use include spelling of the declaring header to
Author: ioeric
Date: Mon Apr 15 05:32:28 2019
New Revision: 358400
URL: http://llvm.org/viewvc/llvm-project?rev=358400&view=rev
Log:
[clangd] Wait for compile command in ASTWorker instead of ClangdServer
Summary:
This makes addDocument non-blocking and would also allow code completion
(in fallbac
Author: ioeric
Date: Mon Apr 15 01:46:34 2019
New Revision: 358378
URL: http://llvm.org/viewvc/llvm-project?rev=358378&view=rev
Log:
[Lookup] Invisible decls should not be ambiguous when renaming.
Summary:
For example, a renamed type in a header file can conflict with declaration in
a random file
Author: ioeric
Date: Thu Apr 11 02:36:36 2019
New Revision: 358159
URL: http://llvm.org/viewvc/llvm-project?rev=358159&view=rev
Log:
[clangd] Use identifiers in file as completion candidates when build is not
ready.
Summary:
o Lex the code to get the identifiers and put them into a "symbol" inde
Author: ioeric
Date: Mon Apr 8 07:53:16 2019
New Revision: 357916
URL: http://llvm.org/viewvc/llvm-project?rev=357916&view=rev
Log:
[clangd] Add fallback mode for code completion when compile command or preamble
is not ready.
Summary:
When calling TUScehduler::runWithPreamble (e.g. in code comp
Author: ioeric
Date: Wed Apr 3 02:25:16 2019
New Revision: 357567
URL: http://llvm.org/viewvc/llvm-project?rev=357567&view=rev
Log:
[clang-format] Regroup #includes into blocks for Google style
Summary:
Regrouping #includes in blocks separated by blank lines when sorting C++
#include
headers wa
Author: ioeric
Date: Tue Mar 19 03:12:15 2019
New Revision: 356446
URL: http://llvm.org/viewvc/llvm-project?rev=356446&view=rev
Log:
[Tooling] Add more scope specifiers until spelling is not ambiguous.
Summary:
Previously, when the renamed spelling is ambiguous, we simply use the
full-qualfied na
Author: ioeric
Date: Fri Mar 1 06:17:55 2019
New Revision: 355200
URL: http://llvm.org/viewvc/llvm-project?rev=355200&view=rev
Log:
[clangd] Enable SuggestMissingIncludes by default.
Summary: This seems to work stably now. Turn on by default.
Reviewers: kadircet
Subscribers: ilya-biryukov, Mas
Author: ioeric
Date: Wed Feb 27 03:42:37 2019
New Revision: 354963
URL: http://llvm.org/viewvc/llvm-project?rev=354963&view=rev
Log:
[clangd] Improve global code completion when scope specifier is unresolved.
Summary:
Suppose `clangd::` is unresolved in the following example. Currently,
we simply
Unfortunately, the evaluation tool I use only works on compilable code, so
it doesn't capture the unsolved specifier case in this patch. I didn't try
to collect the metrics because I think this is more of a bug fix than
quality improvement.
On Tue, Feb 26, 2019, 10:25 Kadir Cetinkaya via Phabricat
Author: ioeric
Date: Thu Feb 21 03:22:58 2019
New Revision: 354570
URL: http://llvm.org/viewvc/llvm-project?rev=354570&view=rev
Log:
[CodeComplete] Collect visited contexts when scope specifier is invalid.
Summary:
This will allow completion consumers to guess the specified scope by
putting toget
Author: ioeric
Date: Thu Feb 21 01:33:49 2019
New Revision: 354558
URL: http://llvm.org/viewvc/llvm-project?rev=354558&view=rev
Log:
[clangd] Handle another incomplete-type diagnostic case in IncludeFixer.
Modified:
clang-tools-extra/trunk/clangd/IncludeFixer.cpp
clang-tools-extra/trunk/u
Author: ioeric
Date: Tue Feb 19 06:32:22 2019
New Revision: 354330
URL: http://llvm.org/viewvc/llvm-project?rev=354330&view=rev
Log:
[clangd] Handle unresolved scope specifier when fixing includes.
Summary:
In the following examples, "clangd" is unresolved, and the fixer will try to fix
include f
Author: ioeric
Date: Mon Feb 18 05:12:10 2019
New Revision: 354268
URL: http://llvm.org/viewvc/llvm-project?rev=354268&view=rev
Log:
[clangd] Cache include fixes for diagnostics caused by the same unresolved name
or incomplete type.
Summary:
Multiple diagnostics can be caused by the same unresol
Author: ioeric
Date: Wed Feb 13 00:58:54 2019
New Revision: 353926
URL: http://llvm.org/viewvc/llvm-project?rev=353926&view=rev
Log:
[clangd] Handle a few more diag kinds in include fixer.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Tags: #
Author: ioeric
Date: Mon Feb 11 07:05:29 2019
New Revision: 353708
URL: http://llvm.org/viewvc/llvm-project?rev=353708&view=rev
Log:
[clangd] Prefer location from codegen files when merging symbols.
Summary:
For example, if an index symbol has location in a .proto file and an AST symbol
has locat
Author: ioeric
Date: Fri Feb 8 05:27:47 2019
New Revision: 353514
URL: http://llvm.org/viewvc/llvm-project?rev=353514&view=rev
Log:
[clangd] Fix an assertion in TypoCorrection.
Summary: https://github.com/clangd/clangd/issues/7
Reviewers: sammccall, hokein
Subscribers: ilya-biryukov, MaskRay,
Author: ioeric
Date: Thu Feb 7 07:34:37 2019
New Revision: 353413
URL: http://llvm.org/viewvc/llvm-project?rev=353413&view=rev
Log:
[clangd] Use Dex for dynamic index by default.
Summary:
Memory usage for a sample TU:
Without Dex: 17.9M
WithDex: 24.4M
The memory increase is considerable
Author: ioeric
Date: Thu Feb 7 01:23:22 2019
New Revision: 353380
URL: http://llvm.org/viewvc/llvm-project?rev=353380&view=rev
Log:
[clangd] Suggest adding missing includes for typos (like include-fixer).
Summary:
This adds include-fixer feature into clangd based on D56903. Clangd now captures
d
Author: ioeric
Date: Wed Feb 6 07:36:23 2019
New Revision: 353310
URL: http://llvm.org/viewvc/llvm-project?rev=353310&view=rev
Log:
[clangd] Add type boost to fuzzy find in Dex.
Summary:
No noticeable impact on code completions overall except some improvement on
cross-namespace completion.
Revi
Author: ioeric
Date: Sat Feb 2 02:35:39 2019
New Revision: 352957
URL: http://llvm.org/viewvc/llvm-project?rev=352957&view=rev
Log:
[clangd] Fix heap-use-after-free after r352868
Modified:
clang-tools-extra/trunk/unittests/clangd/QualityTests.cpp
Modified: clang-tools-extra/trunk/unittests/
Author: ioeric
Date: Fri Feb 1 03:36:23 2019
New Revision: 352865
URL: http://llvm.org/viewvc/llvm-project?rev=352865&view=rev
Log:
[CUDA] Relax lit test condition after r352798.
Clang executable doesn't match clang.* in all test environment.
Modified:
cfe/trunk/test/Driver/cuda-detect.cu
Author: ioeric
Date: Thu Jan 31 08:09:25 2019
New Revision: 352764
URL: http://llvm.org/viewvc/llvm-project?rev=352764&view=rev
Log:
[clangd] Append "(fix available)" to diagnostic message when fixes are present.
Summary:
This would make diagnostic fixits more discoverable, especially for
plugins
Author: ioeric
Date: Thu Jan 31 06:20:02 2019
New Revision: 352755
URL: http://llvm.org/viewvc/llvm-project?rev=352755&view=rev
Log:
Revert "[Sanitizers] UBSan unreachable incompatible with ASan in the presence
of `noreturn` calls"
This reverts commit r352690. This causes clang to crash. Sent re
And the stack trace is:
```
1. parser at end of file
[31/1788]
2. Code generation
3. Running pass 'Function Pass Manager' on module
'absl/base/internal/throw_delegate.cc'.
4. Running pass 'X86 DAG->DAG Instruction Selectio
Author: ioeric
Date: Wed Jan 30 03:24:04 2019
New Revision: 352618
URL: http://llvm.org/viewvc/llvm-project?rev=352618&view=rev
Log:
[OpenGL] Fix test on PPC after r352540
Summary:
Specify -triple like test/SemaOpenCL/logical-ops.cl. Otherwise, this test fails
on PPC.
Reviewers: bkramer
Subscri
Author: ioeric
Date: Tue Jan 29 06:40:01 2019
New Revision: 352503
URL: http://llvm.org/viewvc/llvm-project?rev=352503&view=rev
Log:
[Tooling] Handle #pragma once header guard in include insertion.
Reviewers: ilya-biryukov
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org
Author: ioeric
Date: Mon Jan 28 06:01:55 2019
New Revision: 352361
URL: http://llvm.org/viewvc/llvm-project?rev=352361&view=rev
Log:
[clangd] Suggest adding missing includes for incomplete type diagnostics.
Summary:
This enables clangd to intercept compiler diagnostics and attach fixes (e.g. by
q
Author: ioeric
Date: Tue Jan 22 04:55:27 2019
New Revision: 351813
URL: http://llvm.org/viewvc/llvm-project?rev=351813&view=rev
Log:
[clangd] NFC: reduce log noise from Diagnostics.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Differential R
Author: ioeric
Date: Tue Dec 18 08:06:29 2018
New Revision: 349502
URL: http://llvm.org/viewvc/llvm-project?rev=349502&view=rev
Log:
[clangd] Try to fix buildbot failure after r349496
Increase timeout from 10ms to 100ms.
See http://lab.llvm.org:8011/builders/clang-ppc64be-linux/builds/27959
Modi
Author: ioeric
Date: Tue Dec 18 07:39:33 2018
New Revision: 349496
URL: http://llvm.org/viewvc/llvm-project?rev=349496&view=rev
Log:
[clangd] BackgroundIndex rebuilds symbol index periodically.
Summary:
Currently, background index rebuilds symbol index on every indexed file,
which can be ineffici
Author: ioeric
Date: Thu Dec 13 07:35:43 2018
New Revision: 349049
URL: http://llvm.org/viewvc/llvm-project?rev=349049&view=rev
Log:
[clangd] Enable cross-namespace completions by default in clangd
Summary:
Code completion will suggest symbols from any scope (incl. inaccessible
scopes) when there
Author: ioeric
Date: Fri Nov 30 03:17:15 2018
New Revision: 347983
URL: http://llvm.org/viewvc/llvm-project?rev=347983&view=rev
Log:
[clangd] Penalize destructor and overloaded operators in code completion.
Reviewers: hokein
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-c
Author: ioeric
Date: Fri Nov 30 03:12:40 2018
New Revision: 347982
URL: http://llvm.org/viewvc/llvm-project?rev=347982&view=rev
Log:
[clangd] Drop injected class name when class scope is not explicitly specified.
Summary: E.g. allow injected "A::A" in `using A::A^` but not in "A^".
Reviewers: ka
Author: ioeric
Date: Wed Nov 28 06:00:09 2018
New Revision: 347755
URL: http://llvm.org/viewvc/llvm-project?rev=347755&view=rev
Log:
[clangd] Fix test broken in r347754.
Modified:
clang-tools-extra/trunk/clangd/Quality.cpp
Modified: clang-tools-extra/trunk/clangd/Quality.cpp
URL:
http://llv
Author: ioeric
Date: Wed Nov 28 05:45:25 2018
New Revision: 347754
URL: http://llvm.org/viewvc/llvm-project?rev=347754&view=rev
Log:
[clangd] Less penalty for cross-namespace completions.
Modified:
clang-tools-extra/trunk/clangd/Quality.cpp
Modified: clang-tools-extra/trunk/clangd/Quality.cp
Author: ioeric
Date: Wed Nov 28 02:30:42 2018
New Revision: 347739
URL: http://llvm.org/viewvc/llvm-project?rev=347739&view=rev
Log:
[clangd] Canonicalize file path in URIForFile.
Summary:
File paths in URIForFile can come from index or local AST. Path from
index goes through URI transformation a
Author: ioeric
Date: Mon Nov 26 04:12:01 2018
New Revision: 347548
URL: http://llvm.org/viewvc/llvm-project?rev=347548&view=rev
Log:
[clangd] Tune down scope boost for global scope
Summary:
This improves cross-namespace completions and has ignorable
impact on other completion types.
Metrics
```
Author: ioeric
Date: Thu Nov 22 07:02:05 2018
New Revision: 347467
URL: http://llvm.org/viewvc/llvm-project?rev=347467&view=rev
Log:
[clangd] Cleanup: stop passing around list of supported URI schemes.
Summary:
Instead of passing around a list of supported URI schemes in clangd, we
expose an inte
Author: ioeric
Date: Thu Nov 22 06:59:22 2018
New Revision: 347466
URL: http://llvm.org/viewvc/llvm-project?rev=347466&view=rev
Log:
[clangd] Cleanup: use index file instead of header in workspace symbols lit
test.
Summary:
The full path of the input header depends on the execution environment
a
Author: ioeric
Date: Mon Nov 12 04:24:08 2018
New Revision: 346648
URL: http://llvm.org/viewvc/llvm-project?rev=346648&view=rev
Log:
[clangd] Remember to serialize AnyScope in FuzzyFindRequest json.
Modified:
clang-tools-extra/trunk/clangd/index/Index.cpp
Modified: clang-tools-extra/trunk/cl
Author: ioeric
Date: Tue Nov 6 03:17:40 2018
New Revision: 346224
URL: http://llvm.org/viewvc/llvm-project?rev=346224&view=rev
Log:
[clangd] Deduplicate query scopes.
Summary:
For example, when anonymous namespace is present, duplicated namespaces might be
generated for the enclosing namespace.
Author: ioeric
Date: Tue Nov 6 03:08:17 2018
New Revision: 346223
URL: http://llvm.org/viewvc/llvm-project?rev=346223&view=rev
Log:
[clangd] Get rid of QueryScopes.empty() == AnyScope special case.
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arpham
Author: ioeric
Date: Tue Nov 6 02:55:21 2018
New Revision: 346221
URL: http://llvm.org/viewvc/llvm-project?rev=346221&view=rev
Log:
[clangd] auto-index stores symbols per-file instead of per-TU.
Summary:
This allows us to deduplicate header symbols across TUs. File digests
are collects when coll
Author: ioeric
Date: Wed Oct 24 06:45:17 2018
New Revision: 345140
URL: http://llvm.org/viewvc/llvm-project?rev=345140&view=rev
Log:
[clangd] Downrank members from base class
Reviewers: sammccall, ilya-biryukov
Reviewed By: sammccall
Subscribers: MaskRay, jkorous, arphaman, kadircet, cfe-commit
Author: ioeric
Date: Wed Oct 24 05:57:27 2018
New Revision: 345135
URL: http://llvm.org/viewvc/llvm-project?rev=345135&view=rev
Log:
[CodeComplete] Expose InBaseClass signal in code completion results.
Summary:
No new tests as the existing tests for result priority should give us
coverage. Also a
Author: ioeric
Date: Mon Oct 22 08:37:58 2018
New Revision: 344912
URL: http://llvm.org/viewvc/llvm-project?rev=344912&view=rev
Log:
[clangd] Support URISchemes configuration in BackgroundIndex.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits
D
Author: ioeric
Date: Mon Oct 22 05:48:49 2018
New Revision: 344897
URL: http://llvm.org/viewvc/llvm-project?rev=344897&view=rev
Log:
[change-namespace] Enhance detection of conflicting namespaces.
Summary:
For example:
```
namespace util { class Base; }
namespace new {
namespace util { class Int
Author: ioeric
Date: Mon Oct 22 01:47:31 2018
New Revision: 344889
URL: http://llvm.org/viewvc/llvm-project?rev=344889&view=rev
Log:
[CodeComplete] Fix accessibility of protected members when accessing members
implicitly.
Reviewers: ilya-biryukov
Subscribers: arphaman, cfe-commits
Differential
Author: ioeric
Date: Thu Oct 18 05:23:05 2018
New Revision: 344736
URL: http://llvm.org/viewvc/llvm-project?rev=344736&view=rev
Log:
[clangd] Names that are not spelled in source code are reserved.
Summary:
These are often not expected to be used directly e.g.
```
TEST_F(Fixture, X) {
^ // "Fi
Author: ioeric
Date: Wed Oct 17 04:19:02 2018
New Revision: 344688
URL: http://llvm.org/viewvc/llvm-project?rev=344688&view=rev
Log:
[clangd] Support scope proximity in code completion.
Summary:
This should make all-scope completion more usable. Scope proximity for
indexes will be added in follow
Author: ioeric
Date: Tue Oct 16 03:41:17 2018
New Revision: 344604
URL: http://llvm.org/viewvc/llvm-project?rev=344604&view=rev
Log:
[clangd] Allow disble down traversals from root.
Summary:
This is useful for symbo scope proximity, where down traversals from
the global scope if not desired.
Rev
Author: ioeric
Date: Mon Oct 15 05:37:23 2018
New Revision: 344509
URL: http://llvm.org/viewvc/llvm-project?rev=344509&view=rev
Log:
[CodeComplete] Make sure keyword 'template' is added even when code pattern is
disabled.
Reviewers: sammccall, hokein
Subscribers: arphaman, cfe-commits
Differen
Author: ioeric
Date: Fri Oct 12 04:47:36 2018
New Revision: 344335
URL: http://llvm.org/viewvc/llvm-project?rev=344335&view=rev
Log:
[Tooling] Expose ExecutorName option.
Modified:
cfe/trunk/include/clang/Tooling/Execution.h
cfe/trunk/lib/Tooling/Execution.cpp
Modified: cfe/trunk/include
Author: ioeric
Date: Thu Oct 11 10:50:04 2018
New Revision: 344267
URL: http://llvm.org/viewvc/llvm-project?rev=344267&view=rev
Log:
Revert "[Lex] TokenConcatenation now takes const Preprocessor"
This reverts commit r344262. This was an unintentional commit.
Modified:
cfe/trunk/lib/StaticAn
Author: ioeric
Date: Thu Oct 11 10:49:20 2018
New Revision: 344266
URL: http://llvm.org/viewvc/llvm-project?rev=344266&view=rev
Log:
clang-cl: set output of lit-test to a tmp file after r344234
Some test frameworks do not allow output file in CWD.
Modified:
cfe/trunk/test/Driver/cl-showfilen
Author: ioeric
Date: Thu Oct 11 10:35:29 2018
New Revision: 344262
URL: http://llvm.org/viewvc/llvm-project?rev=344262&view=rev
Log:
[Lex] TokenConcatenation now takes const Preprocessor
Differential Revision: https://reviews.llvm.org/D52502
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/U
Author: ioeric
Date: Tue Oct 9 08:17:16 2018
New Revision: 344055
URL: http://llvm.org/viewvc/llvm-project?rev=344055&view=rev
Log:
[clang-move] Fix broken json output.
Modified:
clang-tools-extra/trunk/clang-move/tool/ClangMoveMain.cpp
Modified: clang-tools-extra/trunk/clang-move/tool/Clan
Author: ioeric
Date: Tue Oct 9 01:27:31 2018
New Revision: 344024
URL: http://llvm.org/viewvc/llvm-project?rev=344024&view=rev
Log:
[clangd] Avoid cache main file status in preamble.
Summary: Main file can certainly change when reusing preamble.
Reviewers: sammccall
Subscribers: ilya-biryukov,
Author: ioeric
Date: Mon Oct 8 10:22:50 2018
New Revision: 343982
URL: http://llvm.org/viewvc/llvm-project?rev=343982&view=rev
Log:
[clang-move] Dump whether a declaration is templated.
Modified:
clang-tools-extra/trunk/clang-move/ClangMove.cpp
clang-tools-extra/trunk/clang-move/ClangMov
lld-x86_64-scei-ps4-windows10pro-fast\llvm.obj\tools\clang\tools\extra\unittests\clangd\..\lib\clang\8.0.0
>>
>> Preamble for file C:\clangd-test\foo.cpp cannot be reused. Attempting to
>> rebuild it.
>>
>> Built preamble of size 185492 for file C:\clangd-test\foo.cpp
Author: ioeric
Date: Tue Oct 2 14:47:41 2018
New Revision: 343637
URL: http://llvm.org/viewvc/llvm-project?rev=343637&view=rev
Log:
[clangd] Temporarily disable VFS stats cache test for windows.
Modified:
clang-tools-extra/trunk/unittests/clangd/ClangdTests.cpp
Modified: clang-tools-extra/t
from Index, 0 matched, 1 returned.
>
>
>
> Can you please take a look?
>
> Douglas Yung
>
> > -Original Message-
> > From: cfe-commits [mailto:cfe-commits-boun...@lists.llvm.org] On Behalf
> > Of Eric Liu via cfe-commits
> >
Author: ioeric
Date: Tue Oct 2 13:00:32 2018
New Revision: 343623
URL: http://llvm.org/viewvc/llvm-project?rev=343623&view=rev
Log:
[clangd] Try to fix windows buildbot after r343576
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-windows10pro-fast/builds/20347/steps/test/logs/s
Author: ioeric
Date: Tue Oct 2 03:43:55 2018
New Revision: 343576
URL: http://llvm.org/viewvc/llvm-project?rev=343576&view=rev
Log:
[clangd] Cache FS stat() calls when building preamble.
Summary:
The file stats can be reused when preamble is reused (e.g. code
completion). It's safe to assume tha
Sorry, I messed up my svn rebase somehow and committed and reverted this
again (r343574) when landing r343575.
On Tue, Oct 2, 2018 at 12:30 PM Eric Liu via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: ioeric
> Date: Tue Oct 2 03:28:50 2018
> New Revision: 34357
Author: ioeric
Date: Tue Oct 2 03:28:50 2018
New Revision: 343573
URL: http://llvm.org/viewvc/llvm-project?rev=343573&view=rev
Log:
[Lex] TokenConcatenation now takes const Preprocessor
Differential Revision: https://reviews.llvm.org/D52502
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/U
Author: ioeric
Date: Tue Oct 2 03:29:00 2018
New Revision: 343575
URL: http://llvm.org/viewvc/llvm-project?rev=343575&view=rev
Log:
[CodeComplete] Re-fix accessibilty of protected members from base class.
Summary:
The initial fix (r337453) had bug and was partially reverted (r338255).
This simpl
Author: ioeric
Date: Tue Oct 2 03:28:54 2018
New Revision: 343574
URL: http://llvm.org/viewvc/llvm-project?rev=343574&view=rev
Log:
Revert untintentionally commited changes
Modified:
cfe/trunk/lib/StaticAnalyzer/Checkers/UninitializedObject/UninitializedObject.h
Modified:
cfe/trunk/lib/St
Author: ioeric
Date: Mon Oct 1 01:50:49 2018
New Revision: 343448
URL: http://llvm.org/viewvc/llvm-project?rev=343448&view=rev
Log:
[clangd] Fix header mapping for std::string. NFC
Some implementation has std::string declared in .
Modified:
clang-tools-extra/trunk/clangd/index/CanonicalIncl
t; On Mon, Jul 30, 2018 at 5:22 PM Ilya Biryukov
>>> wrote:
>>>
>>>> Prtially reverted the commit in r338255 to fix a very frequent crash.
>>>> The code seemed obviously wrong there (calling accessibility checking,
>>>> passing a possibly unrelate
n SemaCodeComplete. Thanks again!
>>
>> On Mon, Jul 30, 2018 at 5:22 PM Ilya Biryukov
>> wrote:
>>
>>> Prtially reverted the commit in r338255 to fix a very frequent crash.
>>> The code seemed obviously wrong there (calling accessibility checking,
>>
On Mon, Jul 30, 2018 at 5:19 PM Ilya Biryukov via cfe-commits <
cfe-commits@lists.llvm.org> wrote:
> Author: ibiryukov
> Date: Mon Jul 30 08:19:05 2018
> New Revision: 338255
>
> URL: http://llvm.org/viewvc/llvm-project?rev=338255&view=rev
> Log:
> [CodeComplete] Fix the crash in code completion o
Author: ioeric
Date: Thu Sep 27 11:46:00 2018
New Revision: 343248
URL: http://llvm.org/viewvc/llvm-project?rev=343248&view=rev
Log:
[clangd] Initial supoprt for cross-namespace global code completion.
Summary:
When no scope qualifier is specified, allow completing index symbols
from any scope an
Author: ioeric
Date: Thu Sep 27 11:23:23 2018
New Revision: 343247
URL: http://llvm.org/viewvc/llvm-project?rev=343247&view=rev
Log:
[clangd] Add more tracing to index queries. NFC
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Differential Re
Author: ioeric
Date: Thu Sep 27 07:50:24 2018
New Revision: 343224
URL: http://llvm.org/viewvc/llvm-project?rev=343224&view=rev
Log:
[Tooling] Get rid of uses of llvm::Twine::str which is slow. NFC
Modified:
cfe/trunk/lib/Tooling/Inclusions/HeaderIncludes.cpp
Modified: cfe/trunk/lib/Tooling/
Author: ioeric
Date: Thu Sep 27 07:27:02 2018
New Revision: 343223
URL: http://llvm.org/viewvc/llvm-project?rev=343223&view=rev
Log:
[clangd] Make IncludeInserter less slow. NFC
Modified:
clang-tools-extra/trunk/clangd/Headers.cpp
clang-tools-extra/trunk/clangd/Headers.h
Modified: clang-
alization also serializes the Origin field.
>>
> LG to be consistent with binary serialization, the same question applies
> to binary serialization.
>
> Again, the change itself seems fine, just nitpicking on whether putting
> origin into a symbol at that level makes sense.
>
Author: ioeric
Date: Tue Sep 25 07:02:01 2018
New Revision: 342976
URL: http://llvm.org/viewvc/llvm-project?rev=342976&view=rev
Log:
[VFS] Add a proxy FS that delegates calls to underlying FS by default.
Summary:
This is useful when derived file systems want to override some calls
and still proxy
Author: ioeric
Date: Tue Sep 25 04:47:14 2018
New Revision: 342964
URL: http://llvm.org/viewvc/llvm-project?rev=342964&view=rev
Log:
[clangd] Fix build bot after r342961
Use llvm::isAlpha instead of std::isalpha etc. This should fix bot failure:
http://lab.llvm.org:8011/builders/llvm-clang-lld-x8
Author: ioeric
Date: Tue Sep 25 03:47:46 2018
New Revision: 342961
URL: http://llvm.org/viewvc/llvm-project?rev=342961&view=rev
Log:
[clangd] Check that scheme is valid when parsing URI.
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, kadircet
I wasn't aware of the bug. I have just replied to the issue. Thanks for
letting me know!
On Tue, Sep 25, 2018 at 10:44 AM Stephen Kelly via Phabricator <
revi...@reviews.llvm.org> wrote:
> steveire added a comment.
>
> Was this motivated by https://bugs.llvm.org/show_bug.cgi?id=38910 ?
>
>
> Repo
Author: ioeric
Date: Tue Sep 25 01:24:07 2018
New Revision: 342951
URL: http://llvm.org/viewvc/llvm-project?rev=342951&view=rev
Log:
Deduplicate replacements from diagnostics.
Summary:
After r329813, clang-apply-replacements stopped deduplicating identical
replacements; however, tools like clang-
g static
index, but that doesn't seem to work in general.
I checked this in without review as I thought this was a trivial fix. The
binary serialization also serializes the Origin field.
>
> Am I missing something?
>
> On Fri, Sep 21, 2018 at 3:06 PM Eric Liu via cfe-commits &
Author: ioeric
Date: Mon Sep 24 07:52:11 2018
New Revision: 342889
URL: http://llvm.org/viewvc/llvm-project?rev=342889&view=rev
Log:
[VFS] Use llvm::StringMap instead of std::map. NFC
Modified:
cfe/trunk/lib/Basic/VirtualFileSystem.cpp
Modified: cfe/trunk/lib/Basic/VirtualFileSystem.cpp
URL:
Author: ioeric
Date: Fri Sep 21 06:04:57 2018
New Revision: 342730
URL: http://llvm.org/viewvc/llvm-project?rev=342730&view=rev
Log:
[clangd] Remember to serialize symbol origin in YAML.
Modified:
clang-tools-extra/trunk/clangd/index/SymbolYAML.cpp
clang-tools-extra/trunk/unittests/clangd
Author: ioeric
Date: Wed Sep 19 02:35:04 2018
New Revision: 342529
URL: http://llvm.org/viewvc/llvm-project?rev=342529&view=rev
Log:
[clangd] Store preamble macros in dynamic index.
Summary:
Pros:
o Loading macros from preamble for every completion is slow (see profile).
o Calculating macro USR i
Author: ioeric
Date: Wed Sep 19 02:34:55 2018
New Revision: 342528
URL: http://llvm.org/viewvc/llvm-project?rev=342528&view=rev
Log:
[Sema] Do not load macros from preamble when LoadExternal is false.
Reviewers: ilya-biryukov
Reviewed By: ilya-biryukov
Subscribers: cfe-commits
Differential Rev
Author: ioeric
Date: Tue Sep 18 06:35:16 2018
New Revision: 342473
URL: http://llvm.org/viewvc/llvm-project?rev=342473&view=rev
Log:
[clangd] Get rid of Decls parameter in indexMainDecls. NFC
It's already available in ParsedAST.
Modified:
clang-tools-extra/trunk/clangd/ClangdServer.cpp
c
Author: ioeric
Date: Tue Sep 18 03:30:44 2018
New Revision: 342460
URL: http://llvm.org/viewvc/llvm-project?rev=342460&view=rev
Log:
[clangd] Merge ClangdServer::DynamicIndex into FileIndex. NFC.
Summary:
FileIndex now provides explicit interfaces for preamble and main file updates.
This avoids g
Author: ioeric
Date: Tue Sep 18 01:52:14 2018
New Revision: 342452
URL: http://llvm.org/viewvc/llvm-project?rev=342452&view=rev
Log:
[clangd] Adapt API change after 342451.
Modified:
clang-tools-extra/trunk/clangd/FindSymbols.cpp
clang-tools-extra/trunk/clangd/XRefs.cpp
clang-tools-ex
Author: ioeric
Date: Tue Sep 18 01:51:08 2018
New Revision: 342451
URL: http://llvm.org/viewvc/llvm-project?rev=342451&view=rev
Log:
[Index] Add an option to collect macros from preprocesor.
Summary: Also added unit tests for the index library; lit+c-index-test is
painful...
Reviewers: ilya-bir
Author: ioeric
Date: Mon Sep 17 00:43:49 2018
New Revision: 342362
URL: http://llvm.org/viewvc/llvm-project?rev=342362&view=rev
Log:
[clangd] Get rid of AST matchers in SymbolCollector. NFC
Reviewers: ilya-biryukov, kadircet
Subscribers: MaskRay, jkorous, arphaman, cfe-commits
Differential Revi
Author: ioeric
Date: Thu Sep 13 05:53:23 2018
New Revision: 342134
URL: http://llvm.org/viewvc/llvm-project?rev=342134&view=rev
Log:
[clangd] Clarify and hide -index flag.
Summary:
The wording implies global index support, which is confusing.
As most users shouldn't care about this flag, also mak
I mean `clangd-symbol-builder`
On Wed, Sep 12, 2018 at 4:32 PM Eric Liu via Phabricator <
revi...@reviews.llvm.org> wrote:
> ioeric accepted this revision.
> ioeric added a comment.
> This revision is now accepted and ready to land.
>
> lgtm
>
> +1 to `clang-symbol-builder`
>
>
> Repository:
>
Author: ioeric
Date: Wed Sep 12 01:29:47 2018
New Revision: 342028
URL: http://llvm.org/viewvc/llvm-project?rev=342028&view=rev
Log:
[Tooling] Wait for all threads to finish before resetting CWD.
Modified:
cfe/trunk/lib/Tooling/AllTUsExecution.cpp
Modified: cfe/trunk/lib/Tooling/AllTUsExecut
Author: ioeric
Date: Fri Sep 7 02:40:36 2018
New Revision: 341645
URL: http://llvm.org/viewvc/llvm-project?rev=341645&view=rev
Log:
[clangd] Canonicalize include paths in clangd.
Get rid of "../" and "../../".
Modified:
clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp
clang-t
Author: ioeric
Date: Thu Sep 6 11:52:26 2018
New Revision: 341576
URL: http://llvm.org/viewvc/llvm-project?rev=341576&view=rev
Log:
[clangd] Add "Deprecated" field to Symbol and CodeCompletion.
Summary: Also set "deprecated" field in LSP CompletionItem.
Reviewers: sammccall, kadircet
Reviewed
Author: ioeric
Date: Thu Sep 6 02:59:37 2018
New Revision: 341534
URL: http://llvm.org/viewvc/llvm-project?rev=341534&view=rev
Log:
[clangd] Set SymbolID for sema macros so that they can be merged with index
macros.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, k
Author: ioeric
Date: Wed Sep 5 12:01:34 2018
New Revision: 341488
URL: http://llvm.org/viewvc/llvm-project?rev=341488&view=rev
Log:
[clang-tidy] minor bug fix to AbseilMatcher.h
This missing directory is not yet released, but is causing some problems
internally. It's gonna be released eventually
1 - 100 of 970 matches
Mail list logo