Author: hokein
Date: Mon Aug 12 02:35:04 2019
New Revision: 368549
URL: http://llvm.org/viewvc/llvm-project?rev=368549&view=rev
Log:
[clangd] Drop diags from non-written #include.
Summary: This would fix that we show weird diagnostics on random lines of the
main file.
Reviewers: ilya-biryukov
Author: hokein
Date: Wed Aug 14 01:20:42 2019
New Revision: 368808
URL: http://llvm.org/viewvc/llvm-project?rev=368808&view=rev
Log:
Fix the -Wunused-variable warning.
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/BugReporter.cpp
cfe/trunk/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
Mo
Author: hokein
Date: Wed Aug 14 06:38:52 2019
New Revision: 368851
URL: http://llvm.org/viewvc/llvm-project?rev=368851&view=rev
Log:
[clangd][vscode] Surface the error when applying tweaks fails
Summary:
The current behavior for a failed request is just to log it in the
output panel. When applyTw
Author: hokein
Date: Tue Aug 20 07:07:27 2019
New Revision: 369387
URL: http://llvm.org/viewvc/llvm-project?rev=369387&view=rev
Log:
[clangd] Fix one testcase in XRefsTests.
Summary:
The test didn't test anything actually -- it used "[]" as annotation which
should be
"[[]]".
This patch also fix
Author: hokein
Date: Fri Jun 21 00:58:19 2019
New Revision: 364010
URL: http://llvm.org/viewvc/llvm-project?rev=364010&view=rev
Log:
[clang-tidy] Fix a typo in the doc.
Modified:
clang-tools-extra/trunk/docs/clang-tidy/checks/abseil-duration-addition.rst
Modified:
clang-tools-extra/trunk/do
Author: hokein
Date: Fri Jun 21 06:32:18 2019
New Revision: 364044
URL: http://llvm.org/viewvc/llvm-project?rev=364044&view=rev
Log:
[clangd] Add include-mapping for C symbols.
Summary:
This resolves the issue of introducing c++-style includes for C files.
- refactor the gen_std.py, make it reus
Author: hokein
Date: Tue Jun 25 01:01:46 2019
New Revision: 364280
URL: http://llvm.org/viewvc/llvm-project?rev=364280&view=rev
Log:
[clangd] Cleanup the duplicated getTokenRange.
Summary:
Also lift it to SourceCode.h, so that it can be used in other places
(semantic code highlighting).
Reviewer
Author: hokein
Date: Tue Jun 25 01:43:17 2019
New Revision: 364283
URL: http://llvm.org/viewvc/llvm-project?rev=364283&view=rev
Log:
[clangd] Narrow rename to local symbols.
Summary:
Previously, we performed rename for all kinds of symbols (local, global).
This patch narrows the scope by only re
Author: hokein
Date: Tue Jun 25 01:43:17 2019
New Revision: 364283
URL: http://llvm.org/viewvc/llvm-project?rev=364283&view=rev
Log:
[clangd] Narrow rename to local symbols.
Summary:
Previously, we performed rename for all kinds of symbols (local, global).
This patch narrows the scope by only re
Author: hokein
Date: Wed Jun 26 01:10:26 2019
New Revision: 364392
URL: http://llvm.org/viewvc/llvm-project?rev=364392&view=rev
Log:
[clangd] Don't rename the namespace.
Summary:
Also fix a small bug -- the extra argument "-xc++" doesn't overwrite the
language if the argument is present after the
Author: hokein
Date: Thu Jun 27 05:22:18 2019
New Revision: 364528
URL: http://llvm.org/viewvc/llvm-project?rev=364528&view=rev
Log:
[clangd] No need to setTraversalScope in SemanticHighlighting.
Summary:
We have already set it when the AST is being built, and setting TraversalScope
is not free (
Author: hokein
Date: Thu Jun 27 06:24:10 2019
New Revision: 364537
URL: http://llvm.org/viewvc/llvm-project?rev=364537&view=rev
Log:
[clangd] Fix a case where we fail to detect a header-declared symbol in rename.
Summary:
Failing case:
```
#include "foo.h"
void fo^o() {}
```
getRenameDecl() r
Author: hokein
Date: Mon Jul 1 01:05:53 2019
New Revision: 364731
URL: http://llvm.org/viewvc/llvm-project?rev=364731&view=rev
Log:
[clangd] Make FixIt message be consistent with the clang-tidy diagnostic
message.
Summary:
We strip the "[clang-tidy-check]" suffix from the clang-tidy diagnostics
Author: hokein
Date: Mon Jul 1 02:26:48 2019
New Revision: 364735
URL: http://llvm.org/viewvc/llvm-project?rev=364735&view=rev
Log:
[clangd] Show better message when we rename macros.
Summary:
Previously, when we rename a macro, we get an error message of "there is
no symbol found".
This patch
Author: hokein
Date: Tue Jul 2 02:16:21 2019
New Revision: 364893
URL: http://llvm.org/viewvc/llvm-project?rev=364893&view=rev
Log:
[clangd] Collect the refs when the main file is header.
Summary:
Previously, we only collect refs of the symbols which are declared in
the preamble and referenced i
Author: hokein
Date: Thu Jul 4 03:49:32 2019
New Revision: 365130
URL: http://llvm.org/viewvc/llvm-project?rev=365130&view=rev
Log:
[clangd] Add a hidden tweak to annotate all highlighting tokens of the file.
Reviewers: sammccall, jvikstrom
Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous,
Author: hokein
Date: Thu Jul 4 05:27:21 2019
New Revision: 365135
URL: http://llvm.org/viewvc/llvm-project?rev=365135&view=rev
Log:
[clangd] Some tweaks on semantic highlighting lookuptable.
Summary:
- move toTextMateScope to SemanticHighlighting.h;
- move the buildLookupTable to LSP layer (as L
Author: hokein
Date: Fri Jul 5 05:57:56 2019
New Revision: 365204
URL: http://llvm.org/viewvc/llvm-project?rev=365204&view=rev
Log:
[clangd] Deduplicate clang-tidy diagnostic messages.
Summary:
Clang-tidy checks may emit duplicated messages (clang-tidy tool
deduplicate them in its custom diagnos
Author: hokein
Date: Wed Jul 10 06:44:22 2019
New Revision: 365631
URL: http://llvm.org/viewvc/llvm-project?rev=365631&view=rev
Log:
[clangd] Add a flag to clangdServer rename function to control whether we want
format the replacements.
Summary:
This would allow clangd embedders to use the Clang
Author: hokein
Date: Thu Jul 11 01:54:28 2019
New Revision: 365742
URL: http://llvm.org/viewvc/llvm-project?rev=365742&view=rev
Log:
Revert Recommit "[CommandLine] Remove OptionCategory and SubCommand caches from
the Option class."
This reverts r365675 (git commit 43d75f977853c3ec891a440c362b2df
Author: hokein
Date: Thu Jul 11 01:54:28 2019
New Revision: 365742
URL: http://llvm.org/viewvc/llvm-project?rev=365742&view=rev
Log:
Revert Recommit "[CommandLine] Remove OptionCategory and SubCommand caches from
the Option class."
This reverts r365675 (git commit 43d75f977853c3ec891a440c362b2df
Author: hokein
Date: Thu Jul 11 03:06:24 2019
New Revision: 365751
URL: http://llvm.org/viewvc/llvm-project?rev=365751&view=rev
Log:
[clangd] Add a missing "return nullptr;" to the SelectionTree::commonAncestor.
This would fix some mysterious crashes on codeAction in clangd.
Modified:
clang-
Author: hokein
Date: Thu Jul 11 05:29:01 2019
New Revision: 365763
URL: http://llvm.org/viewvc/llvm-project?rev=365763&view=rev
Log:
[clangd] Fix an assertion crash in "ExtractVariable" tweak
Summary:
GetTypePtr requires that the type should not be null, otherwise we hit
an assertion, we should u
Author: hokein
Date: Thu Jul 11 05:31:18 2019
New Revision: 365764
URL: http://llvm.org/viewvc/llvm-project?rev=365764&view=rev
Log:
[clangd] Remove the extra ";", NFC
Modified:
clang-tools-extra/trunk/clangd/unittests/TestFS.cpp
Modified: clang-tools-extra/trunk/clangd/unittests/TestFS.cpp
Author: hokein
Date: Thu Jul 11 06:58:56 2019
New Revision: 365778
URL: http://llvm.org/viewvc/llvm-project?rev=365778&view=rev
Log:
[clangd] Remove an extra ";", NFC
Modified:
clang-tools-extra/trunk/clangd/index/Background.h
Modified: clang-tools-extra/trunk/clangd/index/Background.h
URL:
Author: hokein
Date: Mon May 27 01:09:02 2019
New Revision: 361749
URL: http://llvm.org/viewvc/llvm-project?rev=361749&view=rev
Log:
[clang-tidy] Fix unused-variable warning after r361647.
Summary:
A range-for was added in r361647 where the range variable was only used in an
assertion. As a resu
Author: hokein
Date: Tue May 28 04:54:01 2019
New Revision: 361809
URL: http://llvm.org/viewvc/llvm-project?rev=361809&view=rev
Log:
[clang-tidy] Fix null pointer dereference in readability-identifier-naming
Summary:
readability-identifier-naming causes a null pointer dereference when checking
a
Author: hokein
Date: Tue May 28 07:47:39 2019
New Revision: 361833
URL: http://llvm.org/viewvc/llvm-project?rev=361833&view=rev
Log:
[clang-tidy] Verify fix description for misc-unused-using-decl.
Reviewers: gribozavr
Subscribers: xazax.hun, cfe-commits
Tags: #clang
Differential Revision: http
Author: hokein
Date: Tue May 28 07:50:42 2019
New Revision: 361834
URL: http://llvm.org/viewvc/llvm-project?rev=361834&view=rev
Log:
[clang-tidy] Fix description for misc-definitions-in-headers.
Reviewers: gribozavr
Subscribers: xazax.hun, cfe-commits
Tags: #clang
Differential Revision: https:
Author: hokein
Date: Wed May 29 05:03:41 2019
New Revision: 361951
URL: http://llvm.org/viewvc/llvm-project?rev=361951&view=rev
Log:
[clangd] Another improvement for std include mapping.
Summary:
Improve the way of checking a symbol name is in the first cell. The previous way
is not very robost f
Author: hokein
Date: Wed May 29 05:08:11 2019
New Revision: 361952
URL: http://llvm.org/viewvc/llvm-project?rev=361952&view=rev
Log:
[clangd] Remove the whitelist std symbols in CanonicalIncludes.
Summary: These symbols have been included via StdSymbolMap.inc.
Reviewers: sammccall
Subscribers:
Author: hokein
Date: Wed May 29 07:11:53 2019
New Revision: 361960
URL: http://llvm.org/viewvc/llvm-project?rev=361960&view=rev
Log:
[clangd] Fix buildbot error.
Modified:
clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp
Modified: clang-tools-extra/trunk/clangd/index/CanonicalInclu
Author: hokein
Date: Wed May 29 11:36:54 2019
New Revision: 362005
URL: http://llvm.org/viewvc/llvm-project?rev=362005&view=rev
Log:
Fix an unused-variable error.
Modified:
cfe/trunk/lib/StaticAnalyzer/Core/Environment.cpp
Modified: cfe/trunk/lib/StaticAnalyzer/Core/Environment.cpp
URL:
htt
Author: hokein
Date: Thu Dec 13 05:07:29 2018
New Revision: 349031
URL: http://llvm.org/viewvc/llvm-project?rev=349031&view=rev
Log:
[clangd] Move the utility function to anonymous namespace, NFC.
Modified:
clang-tools-extra/trunk/clangd/index/Background.cpp
Modified: clang-tools-extra/trunk
Author: hokein
Date: Thu Dec 13 05:09:50 2018
New Revision: 349032
URL: http://llvm.org/viewvc/llvm-project?rev=349032&view=rev
Log:
[clangd] Avoid emitting Queued status when we are able to acquire the Barrier.
Reviewers: ilya-biryukov
Subscribers: javed.absar, ioeric, MaskRay, jkorous, arphama
Author: hokein
Date: Thu Dec 13 05:17:04 2018
New Revision: 349033
URL: http://llvm.org/viewvc/llvm-project?rev=349033&view=rev
Log:
[clangd] Refine the way of checking a declaration is referenced by the written
code.
Summary:
The previous solution (checking the AST) is not a reliable way to
det
Author: hokein
Date: Fri Dec 14 04:39:08 2018
New Revision: 349144
URL: http://llvm.org/viewvc/llvm-project?rev=349144&view=rev
Log:
[clangd] Fix an assertion failure in background index.
Summary:
When indexing a file which contains an uncompilable error, we will
trigger an assertion failure -- t
Author: hokein
Date: Fri Dec 14 05:19:38 2018
New Revision: 349145
URL: http://llvm.org/viewvc/llvm-project?rev=349145&view=rev
Log:
[clangd] Fix memory leak in ClangdTests.
Summary:
createInvocationFromCommandLine sets DisableFree to true by default,
which leads memory leak in clangd. The fix is
Author: hokein
Date: Fri Dec 14 05:49:00 2018
New Revision: 349148
URL: http://llvm.org/viewvc/llvm-project?rev=349148&view=rev
Log:
[clangd] Use buildCompilerInvocation to simplify the HeadersTests, NFC.
Modified:
clang-tools-extra/trunk/unittests/clangd/HeadersTests.cpp
Modified: clang-too
Author: hokein
Date: Tue Dec 18 07:29:12 2018
New Revision: 349494
URL: http://llvm.org/viewvc/llvm-project?rev=349494&view=rev
Log:
[AST] Unify the code paths of traversing lambda expressions.
Summary:
This supposes to be a non-functional change. We have two code paths when
traversing lambda exp
Author: hokein
Date: Wed Dec 19 05:25:08 2018
New Revision: 349623
URL: http://llvm.org/viewvc/llvm-project?rev=349623&view=rev
Log:
[clang-tidy] use "const SourceManager&" parameter, NFC.
Modified:
clang-tools-extra/trunk/clang-tidy/ClangTidyDiagnosticConsumer.cpp
Modified: clang-tools-extr
Author: hokein
Date: Wed Dec 19 05:44:41 2018
New Revision: 349626
URL: http://llvm.org/viewvc/llvm-project?rev=349626&view=rev
Log:
[Index] Index paremeters in lambda expressions.
Summary: This fixes clangd couldn't find references for lambda parameters.
Reviewers: ilya-biryukov
Subscribers: i
Author: hokein
Date: Wed Dec 19 06:51:07 2018
New Revision: 349632
URL: http://llvm.org/viewvc/llvm-project?rev=349632&view=rev
Log:
[clangd] Fix a syntax error on the test.
Modified:
clang-tools-extra/trunk/unittests/clangd/FindSymbolsTests.cpp
Modified: clang-tools-extra/trunk/unittests/cl
Author: hokein
Date: Thu Dec 20 05:05:46 2018
New Revision: 349750
URL: http://llvm.org/viewvc/llvm-project?rev=349750&view=rev
Log:
[clangd] Don't miss the expected type in merge.
Reviewers: ilya-biryukov
Subscribers: ioeric, MaskRay, jkorous, arphaman, kadircet, cfe-commits
Differential Revis
Author: hokein
Date: Thu Dec 20 07:39:12 2018
New Revision: 349768
URL: http://llvm.org/viewvc/llvm-project?rev=349768&view=rev
Log:
[clangd] Expose FileStatus to LSP.
Summary:
Add an LSP extension "textDocument/clangd.fileStatus" to emit file-status
information.
Reviewers: ilya-biryukov
Subsc
Author: hokein
Date: Fri Dec 21 01:32:49 2018
New Revision: 349893
URL: http://llvm.org/viewvc/llvm-project?rev=349893&view=rev
Log:
[clangd] Cleanup syntax errors in the test, NFC.
Modified:
clang-tools-extra/trunk/unittests/clangd/CodeCompleteTests.cpp
clang-tools-extra/trunk/unittests/
Author: hokein
Date: Wed Jan 2 03:25:37 2019
New Revision: 350210
URL: http://llvm.org/viewvc/llvm-project?rev=350210&view=rev
Log:
[clangd] Show FileStatus in vscode-clangd.
Summary:
The file status will be shown in the status bar.
Depends on D55363.
Reviewers: ilya-biryukov
Subscribers: ioer
Author: hokein
Date: Thu Jan 3 07:28:38 2019
New Revision: 350324
URL: http://llvm.org/viewvc/llvm-project?rev=350324&view=rev
Log:
[clangd] Bump vscode-clangd v0.0.9
Modified:
clang-tools-extra/trunk/clangd/clients/clangd-vscode/package.json
Modified: clang-tools-extra/trunk/clangd/clients
Author: hokein
Date: Thu Jan 3 07:36:18 2019
New Revision: 350325
URL: http://llvm.org/viewvc/llvm-project?rev=350325&view=rev
Log:
[clangd] Move helpers from global namespace into anonymous namespace, NFC.
Modified:
clang-tools-extra/trunk/clangd/CodeComplete.cpp
Modified: clang-tools-extr
Author: hokein
Date: Mon Jan 7 04:35:02 2019
New Revision: 350515
URL: http://llvm.org/viewvc/llvm-project?rev=350515&view=rev
Log:
[clangd] Fix a regression issue caused by r348365.
Summary:
With r348365, we now detect libc++ dir using the actual compiler path
(from the compilation command), ra
Author: hokein
Date: Tue Jan 8 07:24:47 2019
New Revision: 350633
URL: http://llvm.org/viewvc/llvm-project?rev=350633&view=rev
Log:
[clangd] Fix a crash when reading an empty index file.
Summary:
Unfortunately, yaml::Input::setCurrentDocument() and
yaml::Input::nextDocument() are
internal APIs,
Author: hokein
Date: Wed Jan 9 05:42:03 2019
New Revision: 350720
URL: http://llvm.org/viewvc/llvm-project?rev=350720&view=rev
Log:
[clangd] Add a test for SignatureHelp on dynamic index.
Summary: This would catch regressions caused by future changes of the index.
Reviewers: ilya-biryukov
Subs
Author: hokein
Date: Thu Jan 10 01:22:40 2019
New Revision: 350803
URL: http://llvm.org/viewvc/llvm-project?rev=350803&view=rev
Log:
[clangd] Don't store completion info if the symbol is not used for code
completion.
Summary:
This would save us some memory and disk space:
- Dex usage (261 MB v
Author: hokein
Date: Tue Sep 10 01:07:12 2019
New Revision: 371495
URL: http://llvm.org/viewvc/llvm-project?rev=371495&view=rev
Log:
[clangd] some tweaks on the vscode readme, NFC
Modified:
clang-tools-extra/trunk/clangd/clients/clangd-vscode/README.md
Modified: clang-tools-extra/trunk/clang
Author: hokein
Date: Tue Sep 10 03:10:36 2019
New Revision: 371504
URL: http://llvm.org/viewvc/llvm-project?rev=371504&view=rev
Log:
[clangd] Collect location of macro definition in the ParsedAST
allows semantic hightlighting macro definition
Subscribers: ilya-biryukov, MaskRay, jkorous, arphama
Author: hokein
Date: Mon Sep 16 01:54:10 2019
New Revision: 371963
URL: http://llvm.org/viewvc/llvm-project?rev=371963&view=rev
Log:
[clang-tidy] performance-inefficient-vector-operation: Support proto repeated
field
Summary:
Finds calls that add element to protobuf repeated field in a loop
with
Author: hokein
Date: Mon Sep 16 02:46:53 2019
New Revision: 371968
URL: http://llvm.org/viewvc/llvm-project?rev=371968&view=rev
Log:
Fix the rst doc, unbreak buildbot.
Modified:
clang-tools-extra/trunk/docs/clang-tidy/checks/performance-inefficient-vector-operation.rst
Modified:
clang-tool
Author: hokein
Date: Mon Sep 16 03:16:56 2019
New Revision: 371971
URL: http://llvm.org/viewvc/llvm-project?rev=371971&view=rev
Log:
[clangd] Fix a crash when renaming operator.
Summary:
The renamelib uses a tricky way to calculate the end location by relying
on decl name, this is incorrect for t
Author: hokein
Date: Mon Sep 16 03:16:56 2019
New Revision: 371971
URL: http://llvm.org/viewvc/llvm-project?rev=371971&view=rev
Log:
[clangd] Fix a crash when renaming operator.
Summary:
The renamelib uses a tricky way to calculate the end location by relying
on decl name, this is incorrect for t
Author: hokein
Date: Mon Sep 16 05:51:07 2019
New Revision: 371980
URL: http://llvm.org/viewvc/llvm-project?rev=371980&view=rev
Log:
[clangd] Bump vscode-clangd v0.0.17
CHANGELOG:
- added semantic highlighting support (under the clangd.semanticHighlighting
flag);
- better error message when cla
Author: hokein
Date: Mon Sep 16 07:03:06 2019
New Revision: 371986
URL: http://llvm.org/viewvc/llvm-project?rev=371986&view=rev
Log:
[clangd][vscode] update the development doc.
Modified:
clang-tools-extra/trunk/clangd/clients/clangd-vscode/DEVELOPING.md
Modified: clang-tools-extra/trunk/cla
Author: hokein
Date: Wed Sep 18 02:21:35 2019
New Revision: 372206
URL: http://llvm.org/viewvc/llvm-project?rev=372206&view=rev
Log:
[clang-tidy] Fix a potential infinite loop in readability-isolate-declaration
check.
Reviewers: ilya-biryukov
Subscribers: xazax.hun, cfe-commits
Tags: #clang
D
Author: hokein
Date: Mon Sep 23 07:39:37 2019
New Revision: 372617
URL: http://llvm.org/viewvc/llvm-project?rev=372617&view=rev
Log:
[clangd] Simplify the callside of URI::resolve, NFC.
Summary:
- Add a overrloded URI::resolve, which accepts a string URI;
- also fixed some callside that don't che
Author: hokein
Date: Tue Sep 24 04:14:06 2019
New Revision: 372725
URL: http://llvm.org/viewvc/llvm-project?rev=372725&view=rev
Log:
[clangd] Collect macros in the preamble region of the main file
Summary:
- store all macro references in the ParsedAST;
- unify the two variants of CollectMainFileM
Author: hokein
Date: Tue Sep 24 06:25:38 2019
New Revision: 372752
URL: http://llvm.org/viewvc/llvm-project?rev=372752&view=rev
Log:
[clangd] Save an unnecessary copy, NFC.
Modified:
clang-tools-extra/trunk/clangd/FileDistance.cpp
Modified: clang-tools-extra/trunk/clangd/FileDistance.cpp
URL
Author: hokein
Date: Wed Sep 25 01:26:32 2019
New Revision: 372825
URL: http://llvm.org/viewvc/llvm-project?rev=372825&view=rev
Log:
[clangd] Fix the stale documentation about background indexing.
Reviewers: kadircet
Subscribers: ilya-biryukov, MaskRay, jkorous, arphaman, cfe-commits
Tags: #cla
Author: hokein
Date: Wed Sep 25 03:30:22 2019
New Revision: 372841
URL: http://llvm.org/viewvc/llvm-project?rev=372841&view=rev
Log:
[clangd] Move the existing heder-source-switch implemenation out of
clangdServer.
Summary: This is a NFC change.
Reviewers: kadircet
Reviewed By: kadircet
Subsc
Author: hokein
Date: Wed Sep 25 05:54:53 2019
New Revision: 372860
URL: http://llvm.org/viewvc/llvm-project?rev=372860&view=rev
Log:
[clangd] Add missing header guard, NFC.
Modified:
clang-tools-extra/trunk/clangd/FindTarget.h
clang-tools-extra/trunk/clangd/HeaderSourceSwitch.h
Modified:
Author: hokein
Date: Thu Sep 26 02:56:37 2019
New Revision: 372953
URL: http://llvm.org/viewvc/llvm-project?rev=372953&view=rev
Log:
[clang-tidy] Make llvm-header-guard work on llvm git monorepo
Reviewers: gribozavr
Reviewed By: gribozavr
Subscribers: xazax.hun, ilya-biryukov, MaskRay, jkorous,
Author: hokein
Date: Thu Sep 26 04:34:11 2019
New Revision: 372969
URL: http://llvm.org/viewvc/llvm-project?rev=372969&view=rev
Log:
[clangd][vscode] Turn on the semantic highlighting by default.
Summary:
We have turned on the flag manually and used it for a while, and don't see any
major issues,
Author: hokein
Date: Thu Sep 26 04:35:34 2019
New Revision: 372970
URL: http://llvm.org/viewvc/llvm-project?rev=372970&view=rev
Log:
[clangd][vscode] Update vscode lsp dependencies to pickup the new changes in
LSP v3.15.0.
Summary: This would enable the newly-added semantic selection feature in
Author: hokein
Date: Thu Sep 26 07:04:52 2019
New Revision: 372980
URL: http://llvm.org/viewvc/llvm-project?rev=372980&view=rev
Log:
[clangd][vscode] Add npm helper commands to package/release the extension.
Summary: Help to fix https://github.com/clangd/clangd/issues/159.
Reviewers: ilya-biryuk
Author: hokein
Date: Thu Sep 26 07:11:23 2019
New Revision: 372981
URL: http://llvm.org/viewvc/llvm-project?rev=372981&view=rev
Log:
[clangd] Bump vscode-clangd v0.0.18
CHANGELOG:
- enable semantic highlighting by default
- upgrade the LSP dependencies to pickup the incoming LSP v3.15.0
Modified
Author: hokein
Date: Fri Sep 27 05:32:19 2019
New Revision: 373079
URL: http://llvm.org/viewvc/llvm-project?rev=373079&view=rev
Log:
[clangd] Remove an unrelated comment, NFC.
Modified:
clang-tools-extra/trunk/clangd/SemanticHighlighting.cpp
Modified: clang-tools-extra/trunk/clangd/SemanticH
Author: hokein
Date: Mon Sep 30 03:48:02 2019
New Revision: 373197
URL: http://llvm.org/viewvc/llvm-project?rev=373197&view=rev
Log:
[clangd] Implement a smart version of HeaderSource switch.
Summary:
This patch implements another version header-source switch by incorporating the
AST and index, i
Author: hokein
Date: Tue Oct 1 03:21:15 2019
New Revision: 373320
URL: http://llvm.org/viewvc/llvm-project?rev=373320&view=rev
Log:
[clangd] Use the index-based API to do the header-source switch.
Summary:
If the file heuristic fails, we try to use the index&AST to do the
header/source inference
Author: hokein
Date: Tue Oct 1 04:03:56 2019
New Revision: 373323
URL: http://llvm.org/viewvc/llvm-project?rev=373323&view=rev
Log:
[clangd] Implement getBeginning for overloaded operators.
Summary:
This will fix some bugs where navigation doesn't work on cases like
`std::cout <^< "hello"`.
Rev
Author: hokein
Date: Wed Oct 2 02:50:46 2019
New Revision: 373440
URL: http://llvm.org/viewvc/llvm-project?rev=373440&view=rev
Log:
[clang-rename] Better renaming the typedef decl.
Summary:
when renaming a typedef decl, we used to rename the underlying decl of the
typedef, we should rename the t
Author: hokein
Date: Wed Oct 2 03:46:37 2019
New Revision: 373444
URL: http://llvm.org/viewvc/llvm-project?rev=373444&view=rev
Log:
[clangd] Bail out early if we are sure that the symbol is used outside of the
file.
Summary:
This would reduce the false positive when the static index is in an
un
Author: hokein
Date: Fri Apr 13 01:30:39 2018
New Revision: 329997
URL: http://llvm.org/viewvc/llvm-project?rev=329997&view=rev
Log:
[clangd] Add line and column number to the index symbol.
Summary:
LSP is using Line & column as symbol position, clangd needs to transfer file
offset to Line & colu
Author: hokein
Date: Tue Apr 17 01:34:50 2018
New Revision: 330182
URL: http://llvm.org/viewvc/llvm-project?rev=330182&view=rev
Log:
[clangd] Fix "fail to create file URI" warnings in FileIndexTest.
Summary:
When running the FileIndexTest, it shows "Failed to create an URI
for file XXX: not a val
Author: hokein
Date: Wed Apr 18 01:54:28 2018
New Revision: 330245
URL: http://llvm.org/viewvc/llvm-project?rev=330245&view=rev
Log:
[clang-tidy] Fix clang-tidy doesn't read .clangtidy configuration file.
Summary: Fix https://bugs.llvm.org/show_bug.cgi?id=34900.
Reviewers: alexfh
Reviewed By: a
Author: hokein
Date: Thu Apr 19 06:34:03 2018
New Revision: 330327
URL: http://llvm.org/viewvc/llvm-project?rev=330327&view=rev
Log:
[clang-tidy] Fix unused-variable warning.
Modified:
clang-tools-extra/trunk/clang-tidy/ClangTidyOptions.cpp
Modified: clang-tools-extra/trunk/clang-tidy/ClangT
Thanks! I didn't see this warning when running check-clang-tools on my
machine. Fixed in r330327.
On Thu, Apr 19, 2018 at 7:39 AM, Mikael Holmén
wrote:
> Hi,
>
>
> On 04/18/2018 10:54 AM, Haojian Wu via cfe-commits wrote:
>
>> Author: hokein
>> Date: Wed Apr
Author: hokein
Date: Wed Apr 25 08:27:09 2018
New Revision: 330835
URL: http://llvm.org/viewvc/llvm-project?rev=330835&view=rev
Log:
[clangd] Add "str()" method to SymbolID.
Summary:
This is a convenient function when we try to get std::string of
SymbolID.
Reviewers: ioeric
Subscribers: klimek,
Author: hokein
Date: Mon Apr 30 04:40:02 2018
New Revision: 331168
URL: http://llvm.org/viewvc/llvm-project?rev=331168&view=rev
Log:
[clangd] Also use UTF-16 in index position.
Reviewers: sammccall
Subscribers: klimek, ilya-biryukov, ioeric, MaskRay, jkorous, cfe-commits
Differential Revision:
Author: hokein
Date: Mon Apr 30 08:24:17 2018
New Revision: 331189
URL: http://llvm.org/viewvc/llvm-project?rev=331189&view=rev
Log:
[clangd] Using index for GoToDefinition.
Summary:
This patch adds index support for GoToDefinition -- when we don't get the
definition from local AST, we query our
Author: hokein
Date: Fri Oct 4 05:35:16 2019
New Revision: 373739
URL: http://llvm.org/viewvc/llvm-project?rev=373739&view=rev
Log:
[clangd] update the package-lock.json.
Modified:
clang-tools-extra/trunk/clangd/clients/clangd-vscode/package-lock.json
Modified: clang-tools-extra/trunk/clang
Author: hokein
Date: Fri Oct 4 07:09:31 2019
New Revision: 373748
URL: http://llvm.org/viewvc/llvm-project?rev=373748&view=rev
Log:
[clang-rename] Fix a crash when renaming a class without definition.
Reviewers: sammccall
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://re
Author: hokein
Date: Mon Oct 7 03:10:31 2019
New Revision: 373889
URL: http://llvm.org/viewvc/llvm-project?rev=373889&view=rev
Log:
[clangd] Collect missing macro references.
Summary: Semantic highlghting is missing a few macro references.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous
Author: hokein
Date: Mon Oct 7 04:37:25 2019
New Revision: 373897
URL: http://llvm.org/viewvc/llvm-project?rev=373897&view=rev
Log:
[clangd] Catch an unchecked "Expected" in HeaderSourceSwitch.
Summary: Also fixes a potential user-after-scope issue of "Path".
Reviewers: kadircet
Subscribers: i
Author: hokein
Date: Thu Oct 17 07:08:28 2019
New Revision: 375117
URL: http://llvm.org/viewvc/llvm-project?rev=375117&view=rev
Log:
[clangd] Use our own relation kind.
Summary:
Move the RelationKind from Serialization.h to Relation.h. This patch doesn't
introduce any breaking changes.
Reviewers
Author: hokein
Date: Fri Oct 18 05:07:19 2019
New Revision: 375226
URL: http://llvm.org/viewvc/llvm-project?rev=375226&view=rev
Log:
[clangd] Report declaration references in findExplicitReferences.
Reviewers: ilya-biryukov
Subscribers: MaskRay, jkorous, arphaman, kadircet, usaxena95, cfe-commit
Author: Haojian Wu
Date: 2019-10-24T10:25:16+02:00
New Revision: bf71e4fe0a68085d29e9e883da1f17ae73945643
URL:
https://github.com/llvm/llvm-project/commit/bf71e4fe0a68085d29e9e883da1f17ae73945643
DIFF:
https://github.com/llvm/llvm-project/commit/bf71e4fe0a68085d29e9e883da1f17ae73945643.diff
LO
Author: Haojian Wu
Date: 2019-10-24T10:38:37+02:00
New Revision: 13fc899cdecc85c944fc5b516a2bdfdd2f5f5903
URL:
https://github.com/llvm/llvm-project/commit/13fc899cdecc85c944fc5b516a2bdfdd2f5f5903
DIFF:
https://github.com/llvm/llvm-project/commit/13fc899cdecc85c944fc5b516a2bdfdd2f5f5903.diff
LO
Author: Haojian Wu
Date: 2019-10-25T14:33:04+02:00
New Revision: 3d9632a997fb3d59f0740bb00817b5c6115674cb
URL:
https://github.com/llvm/llvm-project/commit/3d9632a997fb3d59f0740bb00817b5c6115674cb
DIFF:
https://github.com/llvm/llvm-project/commit/3d9632a997fb3d59f0740bb00817b5c6115674cb.diff
LO
Author: Haojian Wu
Date: 2019-10-29T09:49:42+01:00
New Revision: 94cd2f03032475e26767cf11eb81fefb00fc4dc0
URL:
https://github.com/llvm/llvm-project/commit/94cd2f03032475e26767cf11eb81fefb00fc4dc0
DIFF:
https://github.com/llvm/llvm-project/commit/94cd2f03032475e26767cf11eb81fefb00fc4dc0.diff
LO
Author: Haojian Wu
Date: 2019-10-29T10:53:16+01:00
New Revision: f821ab807debdc973066ea43ac23173ef08dc2f5
URL:
https://github.com/llvm/llvm-project/commit/f821ab807debdc973066ea43ac23173ef08dc2f5
DIFF:
https://github.com/llvm/llvm-project/commit/f821ab807debdc973066ea43ac23173ef08dc2f5.diff
LO
Author: Haojian Wu
Date: 2019-10-29T13:06:34+01:00
New Revision: 80b0cdde0ffc4ca59e99fed3dcb18412ff97568c
URL:
https://github.com/llvm/llvm-project/commit/80b0cdde0ffc4ca59e99fed3dcb18412ff97568c
DIFF:
https://github.com/llvm/llvm-project/commit/80b0cdde0ffc4ca59e99fed3dcb18412ff97568c.diff
LO
Author: Haojian Wu
Date: 2020-05-21T09:47:36+02:00
New Revision: c2c36c4f4b69ade6d8610b1dc98ff9f02c94320d
URL:
https://github.com/llvm/llvm-project/commit/c2c36c4f4b69ade6d8610b1dc98ff9f02c94320d
DIFF:
https://github.com/llvm/llvm-project/commit/c2c36c4f4b69ade6d8610b1dc98ff9f02c94320d.diff
LO
201 - 300 of 3085 matches
Mail list logo