Author: ioeric
Date: Thu Dec 14 13:22:03 2017
New Revision: 320743
URL: http://llvm.org/viewvc/llvm-project?rev=320743&view=rev
Log:
[clangd] Put all #includes in one block in clangd source files. NFC
Clang-format categorizes and sorts #includes with style. It doesn't make sense
to manually manag
Author: ioeric
Date: Fri Dec 15 04:25:02 2017
New Revision: 320807
URL: http://llvm.org/viewvc/llvm-project?rev=320807&view=rev
Log:
[clangd] Build in-memory index on symbols in files.
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: klimek, mgorny, ilya-biryukov, cfe-commits
Different
Author: ioeric
Date: Tue Dec 19 03:37:40 2017
New Revision: 321067
URL: http://llvm.org/viewvc/llvm-project?rev=321067&view=rev
Log:
[clangd] Support filtering by fixing scopes in fuzzyFind.
Summary: When scopes are specified, only match symbols from scopes.
Reviewers: sammccall
Reviewed By: sa
Author: ioeric
Date: Tue Dec 19 08:50:37 2017
New Revision: 321083
URL: http://llvm.org/viewvc/llvm-project?rev=321083&view=rev
Log:
[clangd] Index-based code completion.
Summary: Use symbol index to populate completion results for qualfified IDs
e.g. "nx::A^".
Reviewers: ilya-biryukov, sammcca
Author: ioeric
Date: Tue Dec 19 10:00:37 2017
New Revision: 321092
URL: http://llvm.org/viewvc/llvm-project?rev=321092&view=rev
Log:
[clangd] Build dynamic index and use it for code completion.
Reviewers: sammccall
Reviewed By: sammccall
Subscribers: klimek, ilya-biryukov, cfe-commits
Differen
Author: ioeric
Date: Tue Dec 19 10:10:32 2017
New Revision: 321094
URL: http://llvm.org/viewvc/llvm-project?rev=321094&view=rev
Log:
[clangd] Supress a log warning by putting it behind a condition.
Modified:
clang-tools-extra/trunk/clangd/CodeComplete.cpp
Modified: clang-tools-extra/trunk/cl
Author: ioeric
Date: Wed Dec 20 01:29:54 2017
New Revision: 321157
URL: http://llvm.org/viewvc/llvm-project?rev=321157&view=rev
Log:
[clangd] Igore cases in index fuzzy find.
Modified:
clang-tools-extra/trunk/clangd/index/MemIndex.cpp
clang-tools-extra/trunk/unittests/clangd/IndexTests.cp
Author: ioeric
Date: Wed Dec 20 09:22:56 2017
New Revision: 321192
URL: http://llvm.org/viewvc/llvm-project?rev=321192&view=rev
Log:
[clangd] Remove an unused lambda capture.
Modified:
clang-tools-extra/trunk/unittests/clangd/Annotations.cpp
Modified: clang-tools-extra/trunk/unittests/clangd
Author: ioeric
Date: Wed Dec 20 09:24:31 2017
New Revision: 321193
URL: http://llvm.org/viewvc/llvm-project?rev=321193&view=rev
Log:
[clangd] Pull CodeCompletionString handling logic into its own file and add
unit test.
Reviewers: sammccall
Subscribers: klimek, mgorny, ilya-biryukov, cfe-commit
Author: ioeric
Date: Fri Jan 5 02:32:16 2018
New Revision: 321864
URL: http://llvm.org/viewvc/llvm-project?rev=321864&view=rev
Log:
Add a tool executor that runs actions on all TUs in the compilation database.
Summary: Tool results are deduplicated by the result key.
Reviewers: hokein
Subscrib
Author: ioeric
Date: Tue Jan 9 07:21:45 2018
New Revision: 322084
URL: http://llvm.org/viewvc/llvm-project?rev=322084&view=rev
Log:
[clangd] Use ToolExecutor to write the global-symbol-builder tool.
Summary:
This enables more execution modes like standalone and Mapreduce-style execution.
See al
Author: ioeric
Date: Tue Jan 9 09:32:00 2018
New Revision: 322097
URL: http://llvm.org/viewvc/llvm-project?rev=322097&view=rev
Log:
[clangd] Add more symbol information for code completion.
Reviewers: hokein, sammccall
Reviewed By: sammccall
Subscribers: klimek, ilya-biryukov, cfe-commits
Dif
Author: ioeric
Date: Tue Jan 9 12:26:49 2018
New Revision: 322116
URL: http://llvm.org/viewvc/llvm-project?rev=322116&view=rev
Log:
Try to fix build failure caused by r322097
Avoid mapping during output when Detail is nullptr; otherwise, an empty
"Detail" field will be populated in YAML output.
Author: ioeric
Date: Wed Jan 10 06:57:58 2018
New Revision: 322193
URL: http://llvm.org/viewvc/llvm-project?rev=322193&view=rev
Log:
[clangd] Add more filters for collected symbols.
Summary:
o We only collect symbols in namespace or translation unit scopes.
o Add an option to only collect symbols
Author: ioeric
Date: Wed Jan 10 07:11:26 2018
New Revision: 322194
URL: http://llvm.org/viewvc/llvm-project?rev=322194&view=rev
Log:
Add a missing dependency for r322192
Modified:
clang-tools-extra/trunk/clangd/CMakeLists.txt
Modified: clang-tools-extra/trunk/clangd/CMakeLists.txt
URL:
http
Author: ioeric
Date: Wed Feb 28 00:56:11 2018
New Revision: 326310
URL: http://llvm.org/viewvc/llvm-project?rev=326310&view=rev
Log:
[clangd] A few minor fixes for STL internal header mapping.
Modified:
clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp
Modified: clang-tools-extra/tr
Author: ioeric
Date: Wed Feb 28 01:33:15 2018
New Revision: 326313
URL: http://llvm.org/viewvc/llvm-project?rev=326313&view=rev
Log:
[clangd] Prefer the definition of a TagDecl (e.g. class) as
CanonicalDeclaration.
Summary:
Currently, we pick the first declaration of a symbol in a TU, which is
Author: ioeric
Date: Wed Feb 28 06:02:18 2018
New Revision: 326325
URL: http://llvm.org/viewvc/llvm-project?rev=326325&view=rev
Log:
[clangd] A few more fixes for STL header mapping.
Modified:
clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp
Modified: clang-tools-extra/trunk/clangd
Author: ioeric
Date: Wed Feb 28 12:31:00 2018
New Revision: 326365
URL: http://llvm.org/viewvc/llvm-project?rev=326365&view=rev
Log:
[clangd] Try to fix failures on clang-x64-ninja-win7 build bot.
Modified:
clang-tools-extra/trunk/test/clangd/crash-non-added-files.test
clang-tools-extra/t
Author: ioeric
Date: Thu Mar 1 09:42:27 2018
New Revision: 326452
URL: http://llvm.org/viewvc/llvm-project?rev=326452&view=rev
Log:
[clangd] Forward all environment variables along with CLANGD_TRACE to clangd.
Modified:
clang-tools-extra/trunk/clangd/clients/clangd-vscode/src/extension.ts
M
Author: ioeric
Date: Thu Mar 1 10:06:40 2018
New Revision: 326456
URL: http://llvm.org/viewvc/llvm-project?rev=326456&view=rev
Log:
[clangd] Support include canonicalization in symbol leve.
Summary:
Symbols with different canonical includes might be defined in the same header
(e.g. symbols defin
Author: ioeric
Date: Thu Mar 1 10:30:48 2018
New Revision: 326458
URL: http://llvm.org/viewvc/llvm-project?rev=326458&view=rev
Log:
[clangd] Make symbol name a required parameter for CanonicalIncludes::mapHeader
Modified:
clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp
clang-t
Author: ioeric
Date: Fri Mar 2 01:21:41 2018
New Revision: 326547
URL: http://llvm.org/viewvc/llvm-project?rev=326547&view=rev
Log:
[clangd:vscode] check empty/null string correctly.
Modified:
clang-tools-extra/trunk/clangd/clients/clangd-vscode/src/extension.ts
Modified: clang-tools-extra/
Author: ioeric
Date: Fri Mar 2 01:26:17 2018
New Revision: 326548
URL: http://llvm.org/viewvc/llvm-project?rev=326548&view=rev
Log:
[clangd:vscode] Bump clangd-vscode version to 0.0.4.
Modified:
clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json
Modified: clang-tools-extra/tr
Author: ioeric
Date: Tue Mar 6 02:42:50 2018
New Revision: 326773
URL: http://llvm.org/viewvc/llvm-project?rev=326773&view=rev
Log:
[clangd] Sort includes when formatting code or inserting new includes.
Reviewers: hokein, ilya-biryukov
Subscribers: klimek, jkorous-apple, cfe-commits
Differenti
Author: ioeric
Date: Thu Mar 8 07:28:42 2018
New Revision: 327009
URL: http://llvm.org/viewvc/llvm-project?rev=327009&view=rev
Log:
[clangd:vscode] Resolve symlinks for file paths from clangd.
Summary:
For features like go-to-definition, clangd can point clients to symlink paths
(e.g. in bazel e
Author: ioeric
Date: Thu Mar 8 08:14:11 2018
New Revision: 327019
URL: http://llvm.org/viewvc/llvm-project?rev=327019&view=rev
Log:
[clangd] Bump vscode extension version to 0.0.5
Modified:
clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json
Modified: clang-tools-extra/trunk/c
Author: ioeric
Date: Fri Mar 9 06:06:43 2018
New Revision: 327130
URL: http://llvm.org/viewvc/llvm-project?rev=327130&view=rev
Log:
[clangd-vscode] Add package-lock.json to .gitignore
Modified:
clang-tools-extra/trunk/clangd/clients/clangd-vscode/.gitignore
Modified: clang-tools-extra/trunk
Hi Akira,
It seems that this commit also changes behavior for compiling C++ code as
we are seeing test failures caused by this change in our internal tests.
I'm still trying to reduce a reproducer for the failure. In the meantime,
could you please double check if this affects C++?
Thanks,
Eric
The tests only failed with module enabled. FWIW, I think the change in
ASTImporter (https://reviews.llvm.org/rL327206#change-1q8vFFjJ6Cqk) needs
additional changes to make imports work for RecordDecl.
On Mon, Mar 12, 2018 at 3:56 PM Eric Liu wrote:
> Hi Akira,
>
> It seems that this commit also
I think there is a bug in the ASTImporter/Reader/Writer, but I'm not sure
what's the right way to fix it. I'll revert this commit for now to unblock
integration. Let me know if you need more information from us.
Regards,
Eric
On Mon, Mar 12, 2018 at 4:51 PM Eric Liu wrote:
> The tests only fail
I have been trying to reduce a reproducer for this but haven't gotten any
luck yet. The error happens in conversion between different version of STL
containers and is a bit hard to reduce. I'll keep trying to create a
reproducer.
Could you please also take a quick look to see if ASTImporter/Reader
I think it's likely as our tests only fail with module enabled (without
module, ASTImporter isn't really used).
On Mon, Mar 12, 2018 at 5:51 PM Akira Hatanaka wrote:
> The patch I committed moved CXXRecordDecl::CanPassInRegisters to
> RecordDecl. It looks like ASTImporter::ImportDefinition no lo
Thanks a lot Akira!
FWIW, it seems that the FIXME here might be related
https://github.com/llvm-mirror/clang/blob/master/include/clang/AST/DeclCXX.h#L1484
On Mon, Mar 12, 2018 at 6:03 PM Akira Hatanaka wrote:
> I’m not sure if this a bug r327206 introduced or an existing bug in
> ASTImporter as
Author: ioeric
Date: Wed Mar 14 02:48:05 2018
New Revision: 327487
URL: http://llvm.org/viewvc/llvm-project?rev=327487&view=rev
Log:
[clangd] Add an interface that finds symbol by SymbolID in SymbolIndex.
Summary:
Potential use case: argument go-to-definition result with symbol
information (e.g.
Author: ioeric
Date: Thu Mar 15 07:45:02 2018
New Revision: 327629
URL: http://llvm.org/viewvc/llvm-project?rev=327629&view=rev
Log:
[change-namespace] Don't match a function call/ref multiple times.
Summary:
Previously, the matcher matches a function call/ref multiple times, one
for each decl an
Author: ioeric
Date: Wed May 30 04:51:48 2018
New Revision: 333532
URL: http://llvm.org/viewvc/llvm-project?rev=333532&view=rev
Log:
Reland "Move #include manipulation code to new lib/Tooling/Inclusions."
This reverts commit r332751 (i.e. reland r332720) after fixing module
build.
Differential R
Author: ioeric
Date: Wed May 30 04:52:01 2018
New Revision: 333533
URL: http://llvm.org/viewvc/llvm-project?rev=333533&view=rev
Log:
Reland "[clangd] Adapt file migration in r332720"
This reverts commit r332752 (i.e. reland r332721).
Modified:
clang-tools-extra/trunk/clangd/CMakeLists.txt
Author: ioeric
Date: Wed May 30 05:09:58 2018
New Revision: 333534
URL: http://llvm.org/viewvc/llvm-project?rev=333534&view=rev
Log:
Revert "Reland "Move #include manipulation code to new lib/Tooling/Inclusions.""
This reverts commit r333532. Revert for now to fix an internal bot issue.
Added:
Author: ioeric
Date: Wed May 30 05:10:07 2018
New Revision: 333535
URL: http://llvm.org/viewvc/llvm-project?rev=333535&view=rev
Log:
Revert "Reland "[clangd] Adapt file migration in r332720""
This reverts commit r333533.
Modified:
clang-tools-extra/trunk/clangd/CMakeLists.txt
clang-tools
Author: ioeric
Date: Mon Jun 4 02:04:28 2018
New Revision: 333877
URL: http://llvm.org/viewvc/llvm-project?rev=333877&view=rev
Log:
Reland "[clangd] Adapt file migration in r332720"
This reverts commit r333535.
Modified:
clang-tools-extra/trunk/clangd/CMakeLists.txt
clang-tools-extra/tr
Author: ioeric
Date: Mon Jun 4 02:04:25 2018
New Revision: 333876
URL: http://llvm.org/viewvc/llvm-project?rev=333876&view=rev
Log:
Revert "Reland "[clangd] Adapt file migration in r332720""
This reverts commit r333533.
Modified:
clang-tools-extra/trunk/clangd/CMakeLists.txt
clang-tools
Author: ioeric
Date: Mon Jun 4 02:04:12 2018
New Revision: 333874
URL: http://llvm.org/viewvc/llvm-project?rev=333874&view=rev
Log:
Reland "Move #include manipulation code to new lib/Tooling/Inclusions."
This reverts commit r333534 (i.e. reland r332720) after fixing module build.
Differential R
Author: ioeric
Date: Mon Jun 4 02:04:19 2018
New Revision: 333875
URL: http://llvm.org/viewvc/llvm-project?rev=333875&view=rev
Log:
Reland "[clangd] Adapt file migration in r332720"
This reverts commit r332752 (i.e. reland r332721).
Modified:
clang-tools-extra/trunk/clangd/CMakeLists.txt
Author: ioeric
Date: Mon Jun 4 04:31:55 2018
New Revision: 333885
URL: http://llvm.org/viewvc/llvm-project?rev=333885&view=rev
Log:
[clangd] Avoid indexing decls associated with friend decls.
Summary:
These decls are sometime used as the canonical declarations (e.g. for
go-to-def),
which seems
Mon, Jun 4, 2018 at 12:04 PM, Eric Liu via cfe-commits
> wrote:
> > Author: ioeric
> > Date: Mon Jun 4 02:04:12 2018
> > New Revision: 333874
> >
> > URL: http://llvm.org/viewvc/llvm-project?rev=333874&view=rev
> > Log:
> > Reland "Move #in
Author: ioeric
Date: Tue Jun 12 01:48:20 2018
New Revision: 334485
URL: http://llvm.org/viewvc/llvm-project?rev=334485&view=rev
Log:
[clangd] Support proximity paths in index fuzzy find.
Reviewers: sammccall
Subscribers: ilya-biryukov, MaskRay, jkorous, cfe-commits
Differential Revision: https:
Author: ioeric
Date: Fri Jun 15 01:55:00 2018
New Revision: 334809
URL: http://llvm.org/viewvc/llvm-project?rev=334809&view=rev
Log:
[clangd] Customizable URI schemes for dynamic index.
Summary:
This allows dynamic index to have consistent URI schemes with the
static index which can have customiz
Author: ioeric
Date: Fri Jun 15 01:58:12 2018
New Revision: 334810
URL: http://llvm.org/viewvc/llvm-project?rev=334810&view=rev
Log:
[clangd] Boost completion score according to file proximity.
Summary:
Also move unittest: URI scheme to TestFS so that it can be shared by
different tests.
Reviewe
Author: ioeric
Date: Fri Jun 15 06:34:18 2018
New Revision: 334828
URL: http://llvm.org/viewvc/llvm-project?rev=334828&view=rev
Log:
[clangd] UI for completion items that would trigger include insertion.
Summary:
For completion items that would trigger include insertions (i.e. index symbols
that
Author: ioeric
Date: Tue Jun 19 02:33:53 2018
New Revision: 335035
URL: http://llvm.org/viewvc/llvm-project?rev=335035&view=rev
Log:
[clangd] Use workspace root path as hint path for resolving URIs in
workspace/symbol
Summary:
Some URI schemes require a hint path to be provided, and workspace ro
Author: ioeric
Date: Thu Jun 21 02:51:28 2018
New Revision: 335212
URL: http://llvm.org/viewvc/llvm-project?rev=335212&view=rev
Log:
[clangd] Fix proximity signal output format. NFC
Modified:
clang-tools-extra/trunk/clangd/Quality.cpp
Modified: clang-tools-extra/trunk/clangd/Quality.cpp
URL:
Author: ioeric
Date: Thu Jun 21 05:12:26 2018
New Revision: 335218
URL: http://llvm.org/viewvc/llvm-project?rev=335218&view=rev
Log:
[clangd] Expose 'shouldCollectSymbol' helper from SymbolCollector.
Summary: This allows tools to examine symbols that would be collected in a
symbol index. For exa
Author: ioeric
Date: Fri Jun 22 03:46:59 2018
New Revision: 335334
URL: http://llvm.org/viewvc/llvm-project?rev=335334&view=rev
Log:
[clangd] Expose qualified symbol names in CompletionItem (C++ structure only,
no json).
Summary:
The qualified name can be used to match a completion item to its c
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: 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: 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: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: 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: 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: 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: 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: 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: 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: 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 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: 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: 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: 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: 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 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: 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
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: 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
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: 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: 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 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: 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: 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: 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: 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: 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: 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 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: 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: 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
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: 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
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: 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: 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: 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: 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 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: 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: 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 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: 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: 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
101 - 200 of 970 matches
Mail list logo