Author: jvikstrom
Date: Fri Aug 30 08:47:27 2019
New Revision: 370482
URL: http://llvm.org/viewvc/llvm-project?rev=370482&view=rev
Log:
[clangd] Add highlighting for macro expansions.
Summary: https://github.com/clangd/clangd/issues/134
Reviewers: hokein, ilya-biryukov
Subscribers: MaskRay, jko
Author: jvikstrom
Date: Fri Aug 30 07:07:05 2019
New Revision: 370473
URL: http://llvm.org/viewvc/llvm-project?rev=370473&view=rev
Log:
[clangd] Added highlighting for structured bindings.
Summary: Structured bindings are in a BindingDecl. The decl the declRefExpr
points to are the BindingDecls.
Author: jvikstrom
Date: Fri Aug 30 02:33:27 2019
New Revision: 370452
URL: http://llvm.org/viewvc/llvm-project?rev=370452&view=rev
Log:
[clangd] Collecting main file macro expansion locations in ParsedAST.
Summary: TokenBuffer does not collect macro expansions inside macro arguments
which is nee
Author: jvikstrom
Date: Thu Aug 29 01:40:17 2019
New Revision: 370305
URL: http://llvm.org/viewvc/llvm-project?rev=370305&view=rev
Log:
[clangd] Update themeRuleMatcher when color theme changes in vscode extension.
Summary:
Add event listener that listens to configuration changes and reloads the
Author: jvikstrom
Date: Wed Aug 28 06:46:22 2019
New Revision: 370202
URL: http://llvm.org/viewvc/llvm-project?rev=370202&view=rev
Log:
[clangd] Cleans up the semantic highlighting resources if clangd stops.
Summary: Disposes of the vscode listeners when clangd crashes and reuses the
old highlig
Author: jvikstrom
Date: Mon Aug 26 06:56:45 2019
New Revision: 369911
URL: http://llvm.org/viewvc/llvm-project?rev=369911&view=rev
Log:
[clangd] Handling text editor/document lifetimes in vscode extension.
Summary:
Just reapplies highlightings for all files when visible text editors change.
Coul
Author: jvikstrom
Date: Mon Aug 26 04:36:11 2019
New Revision: 369893
URL: http://llvm.org/viewvc/llvm-project?rev=369893&view=rev
Log:
[clangd] Added a colorizer to the vscode extension.
Summary:
Adds the main colorizer component. It colorizes every time clangd sends a
publishSemanticHighlighti
Author: jvikstrom
Date: Tue Aug 20 06:34:01 2019
New Revision: 369385
URL: http://llvm.org/viewvc/llvm-project?rev=369385&view=rev
Log:
[Syntax] Added function to get macro expansion tokens to TokenBuffer.
Summary:
Returns the first token in every mapping where the token is an identifier.
This AP
Author: jvikstrom
Date: Mon Aug 19 09:27:49 2019
New Revision: 369275
URL: http://llvm.org/viewvc/llvm-project?rev=369275&view=rev
Log:
[clangd] Added highlighting for tokens that are macro arguments.
Summary:
Adds semantic highlighting for tokens that are a macro argument.
Example:
```
D_V(SomeV
Author: jvikstrom
Date: Mon Aug 19 00:51:39 2019
New Revision: 369238
URL: http://llvm.org/viewvc/llvm-project?rev=369238&view=rev
Log:
[clangd] Added special HighlightingKind for function parameters.
Summary: This means that function parameters are no longer highlighted as
variable.other.cpp bu
Author: jvikstrom
Date: Fri Aug 16 02:30:21 2019
New Revision: 369090
URL: http://llvm.org/viewvc/llvm-project?rev=369090&view=rev
Log:
[clangd] Added highlighting for non type templates.
Summary: Non type templates were not being highlighted. This highlights
them as TemplateParameters.
Reviewer
Author: jvikstrom
Date: Wed Aug 14 05:11:58 2019
New Revision: 368834
URL: http://llvm.org/viewvc/llvm-project?rev=368834&view=rev
Log:
[clangd] Loading TokenColorRules as a class mapping the rules to their
associated clangd TextMate scope index.
Summary: Loads a mapping of the clangd scope look
Author: jvikstrom
Date: Mon Aug 12 06:33:43 2019
New Revision: 368568
URL: http://llvm.org/viewvc/llvm-project?rev=368568&view=rev
Log:
[clangd] Added the vscode SemanticHighlighting feature code but did not enable
it in the client.
Summary: Added the code for the StaticFeature that must be regi
Author: jvikstrom
Date: Mon Aug 12 06:01:11 2019
New Revision: 368563
URL: http://llvm.org/viewvc/llvm-project?rev=368563&view=rev
Log:
[clangd] Remove highlightings coming from non topLevelDecls from included files.
Summary: It is possible to write include code from other files so that the
decl
Author: jvikstrom
Date: Mon Aug 12 00:45:12 2019
New Revision: 368546
URL: http://llvm.org/viewvc/llvm-project?rev=368546&view=rev
Log:
[clangd] Highlighting auto variables as the deduced type.
Summary:
Done in VisitDeclaratorDecl as the AutoTypeLoc is not deduced.
Scoped to only work for variabl
Author: jvikstrom
Date: Fri Aug 9 05:19:10 2019
New Revision: 368434
URL: http://llvm.org/viewvc/llvm-project?rev=368434&view=rev
Log:
[clangd] Added highlighting for constructor initializers.
Summary: Constructor initializers were not being highlighted. This adds
highlighting for them by using
Author: jvikstrom
Date: Fri Aug 9 00:35:16 2019
New Revision: 368403
URL: http://llvm.org/viewvc/llvm-project?rev=368403&view=rev
Log:
[clangd] Fixed printTemplateSpecializationArgs not printing partial variable
specialization arguments.
Summary:
printTemplateSpecializationArgs was not printing
Author: jvikstrom
Date: Fri Aug 9 00:30:28 2019
New Revision: 368402
URL: http://llvm.org/viewvc/llvm-project?rev=368402&view=rev
Log:
[AST] No longer visiting CXXMethodDecl bodies created by compiler when method
was default created.
Summary:
Clang generates function bodies and puts them in the
Author: jvikstrom
Date: Fri Aug 9 00:30:28 2019
New Revision: 368402
URL: http://llvm.org/viewvc/llvm-project?rev=368402&view=rev
Log:
[AST] No longer visiting CXXMethodDecl bodies created by compiler when method
was default created.
Summary:
Clang generates function bodies and puts them in the
Author: jvikstrom
Date: Thu Aug 8 06:10:30 2019
New Revision: 368291
URL: http://llvm.org/viewvc/llvm-project?rev=368291&view=rev
Log:
[clangd] Added semantic highlighting support for primitives.
Summary:
Adds a new HighlightingKind "Primitive". Adds a special case for TypeLocs that
have an und
Author: jvikstrom
Date: Thu Aug 8 05:43:55 2019
New Revision: 368287
URL: http://llvm.org/viewvc/llvm-project?rev=368287&view=rev
Log:
[clangd] Added an early return from VisitMemberExpr in SemanticHighlighting if
underlying MemberDecl is a CXXConversionDecl.
Summary:
Conversion operators conta
Author: jvikstrom
Date: Thu Aug 8 00:21:06 2019
New Revision: 368261
URL: http://llvm.org/viewvc/llvm-project?rev=368261&view=rev
Log:
[clangd] Fix implicit template instatiations appearing as topLevelDecls.
Summary: The parser gives implicit template instantiations to the action's
HandleTopLev
Author: jvikstrom
Date: Wed Aug 7 01:48:52 2019
New Revision: 368136
URL: http://llvm.org/viewvc/llvm-project?rev=368136&view=rev
Log:
[clangd] Added a TextMate theme parser to the vscode extension.
Summary:
Adds a TextMate parser module to the vscode extension. It parses a theme into
an array
Author: jvikstrom
Date: Mon Aug 5 10:14:46 2019
New Revision: 367892
URL: http://llvm.org/viewvc/llvm-project?rev=367892&view=rev
Log:
[AST] Fix buildbot failure because of raw string inside macro from 367839.
Modified:
cfe/trunk/unittests/Tooling/RecursiveASTVisitorTests/ImplicitCtorInitia
Author: jvikstrom
Date: Mon Aug 5 05:20:43 2019
New Revision: 367839
URL: http://llvm.org/viewvc/llvm-project?rev=367839&view=rev
Log:
[AST] Fix RecursiveASTVisitor visiting implicit constructor initializers.
Summary: RecursiveASTVisitor was visiting implcit constructor initializers.
This cause
Author: jvikstrom
Date: Thu Aug 1 02:08:41 2019
New Revision: 367529
URL: http://llvm.org/viewvc/llvm-project?rev=367529&view=rev
Log:
[clangd] Fix buildbot failure from ambigous ArrayRef ctor
Modified:
clang-tools-extra/trunk/clangd/SemanticHighlighting.cpp
Modified: clang-tools-extra/trun
Author: jvikstrom
Date: Thu Aug 1 01:08:44 2019
New Revision: 367521
URL: http://llvm.org/viewvc/llvm-project?rev=367521&view=rev
Log:
[clangd] Duplicate lines of semantic highlightings sent removed.
Summary: Added a class for diffing highlightings and removing duplicate lines.
Integrated into
Author: jvikstrom
Date: Thu Jul 18 02:56:38 2019
New Revision: 366420
URL: http://llvm.org/viewvc/llvm-project?rev=366420&view=rev
Log:
[clangd] Added highlightings for template parameters and specializations.
Summary: Template parameters and specializations were not being highlighted
before. Th
Author: jvikstrom
Date: Tue Jul 16 06:23:12 2019
New Revision: 366207
URL: http://llvm.org/viewvc/llvm-project?rev=366207&view=rev
Log:
[clangd] Added highlighting for the targets in typedefs and using.
Summary:
In `typedef int A` the `A` was not highlighted previously.
This patch gives `A` the
Author: jvikstrom
Date: Mon Jul 15 08:08:27 2019
New Revision: 366070
URL: http://llvm.org/viewvc/llvm-project?rev=366070&view=rev
Log:
[clangd] Fix duplicate highlighting tokens appearing in initializer lists.
Summary: The RecursiveASTVisitor sometimes visits exprs in initializer lists
twice. A
Author: jvikstrom
Date: Mon Jul 15 01:12:21 2019
New Revision: 366047
URL: http://llvm.org/viewvc/llvm-project?rev=366047&view=rev
Log:
[clangd] Added highlighting for members and methods.
Summary: Added highlighting for members and methods.
Reviewers: hokein, sammccall, ilya-biryukov
Subscribe
Author: jvikstrom
Date: Mon Jul 15 00:41:12 2019
New Revision: 366045
URL: http://llvm.org/viewvc/llvm-project?rev=366045&view=rev
Log:
[clangd] Added highlighting to enum constants.
Summary: VSCode does not have a scope for enum constants. So they were placed
under "constant.other.enum" as that
Author: jvikstrom
Date: Thu Jul 11 02:29:16 2019
New Revision: 365745
URL: http://llvm.org/viewvc/llvm-project?rev=365745&view=rev
Log:
[clangd] Added highlightings for namespace specifiers.
Summary: Added highlightings for namespace specifiers.
Reviewers: hokein, sammccall, ilya-biryukov
Subsc
Author: jvikstrom
Date: Wed Jul 10 01:41:25 2019
New Revision: 365602
URL: http://llvm.org/viewvc/llvm-project?rev=365602&view=rev
Log:
[clangd] Added highlighting for class and enum types.
Summary: Added highlighting for non-builtin types using VisitTypeLoc. Ignoring
namespace qualifiers as for
Author: jvikstrom
Date: Fri Jul 5 06:06:03 2019
New Revision: 365205
URL: http://llvm.org/viewvc/llvm-project?rev=365205&view=rev
Log:
[clangd] Added highlighting for variable references (declrefs)
Summary: Added highlighting for variable references using VisitDeclRefExpr.
Reviewers: hokein, sa
Author: jvikstrom
Date: Thu Jul 4 01:06:48 2019
New Revision: 365112
URL: http://llvm.org/viewvc/llvm-project?rev=365112&view=rev
Log:
[clangd] Add missing changes for 365111
Modified:
clang-tools-extra/trunk/clangd/ClangdLSPServer.h
clang-tools-extra/trunk/clangd/test/semantic-highlight
Author: jvikstrom
Date: Thu Jul 4 00:53:12 2019
New Revision: 365111
URL: http://llvm.org/viewvc/llvm-project?rev=365111&view=rev
Log:
[clangd] Emit publishSemanticHighlighting in LSP if enabled
Summary: Emit publishSemanticHighlighting in LSP if enabled
Reviewers: hokein, kadircet
Subscribers
Author: jvikstrom
Date: Mon Jul 1 04:49:01 2019
New Revision: 364747
URL: http://llvm.org/viewvc/llvm-project?rev=364747&view=rev
Log:
[clangd] No longer getting template instantiations from header files in Main
AST.
Previous implementation to filter decls not in the main file did not
work in t
Author: jvikstrom
Date: Thu Jun 27 08:13:03 2019
New Revision: 364551
URL: http://llvm.org/viewvc/llvm-project?rev=364551&view=rev
Log:
[clangd] Emit semantic highlighting tokens when the main AST is built.
Differential Revision: https://reviews.llvm.org/D63821
Modified:
clang-tools-extra/tr
Author: jvikstrom
Date: Wed Jun 26 06:08:36 2019
New Revision: 364421
URL: http://llvm.org/viewvc/llvm-project?rev=364421&view=rev
Log:
[clangd] Added functionality for getting semantic highlights for variable and
function declarations
Added:
clang-tools-extra/trunk/clangd/SemanticHighlighti
40 matches
Mail list logo