This revision was automatically updated to reflect the committed changes.
Closed by commit rL370482: [clangd] Add highlighting for macro expansions.
(authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://re
This revision was automatically updated to reflect the committed changes.
Closed by commit rL370473: [clangd] Added highlighting for structured bindings.
(authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https
jvikstrom updated this revision to Diff 218089.
jvikstrom added a comment.
Renamed MacroExpansion to Macro.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66995/new/
https://reviews.llvm.org/D66995
Files:
clang-tools-extra/clangd/SemanticHighligh
jvikstrom added inline comments.
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:469
+ case HighlightingKind::MacroExpansion:
+return "entity.name.function.preprocessor.expansion.cpp";
case HighlightingKind::NumKinds:
ilya-biryukov wrote:
>
jvikstrom updated this revision to Diff 218087.
jvikstrom marked 3 inline comments as done.
jvikstrom added a comment.
Address comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66995/new/
https://reviews.llvm.org/D66995
Files:
clang-tools-
jvikstrom updated this revision to Diff 218061.
jvikstrom added a comment.
Removed SourceManager field from HighlightingTokenCollector.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66995/new/
https://reviews.llvm.org/D66995
Files:
clang-tools-e
jvikstrom marked an inline comment as done.
jvikstrom added inline comments.
Comment at: clang-tools-extra/clangd/unittests/SemanticHighlightingTests.cpp:443
+$Primitive[[int]] $Variable[[A]][2] = {1,2};
+auto [$Variable[[B1]], $Variable[[B2]]] = $Variable[[A]];
+
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
https://github.com/clangd/clangd/issues/134
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.o
This revision was automatically updated to reflect the committed changes.
Closed by commit rL370452: [clangd] Collecting main file macro expansion
locations in ParsedAST. (authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior t
jvikstrom added a comment.
Pinging about this @ilya-biryukov
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66516/new/
https://reviews.llvm.org/D66516
___
cfe-commits mailing list
cfe-commits@lists.llvm
jvikstrom added a comment.
Should we have different highlightings for declarations vs usages? (Although I
guess in the end it will be up to the editor if they highlight them differently
as the scope is just more specific for declarations)
I guess I personally don't really see the reason as it sh
jvikstrom marked an inline comment as done.
jvikstrom added inline comments.
Comment at: clang-tools-extra/clangd/unittests/ClangdUnitTests.cpp:260
+// Macros from token concatenations included.
+#define CONCAT(X) X##1()
+#define MACRO1() 123
ilya-bir
jvikstrom updated this revision to Diff 217920.
jvikstrom marked 4 inline comments as done.
jvikstrom added a comment.
Added test for prepending concatenations. Also added made tests pass.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66928/new/
ht
jvikstrom marked an inline comment as done.
jvikstrom added inline comments.
Comment at: clang-tools-extra/clangd/ClangdUnit.cpp:107
+class CollectMainFileMacroExpansions : public PPCallbacks {
+ const SourceManager &SM;
ilya-biryukov wrote:
> Maybe make this
jvikstrom added inline comments.
Comment at: clang-tools-extra/clangd/unittests/ClangdUnitTests.cpp:248
+TEST(ClangdUnitTest, CollectsMainFileMacroExpansions) {
+ Annotations TestCase(R"cpp(
+#define MACRO_ARGS(X, Y) X Y
ilya-biryukov wrote:
> Could you add
jvikstrom updated this revision to Diff 217811.
jvikstrom marked 5 inline comments as done.
jvikstrom added a comment.
Clarified comments. Added tests. Not getting expansions inside other macro
expansions.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.o
This revision was automatically updated to reflect the committed changes.
Closed by commit rL370305: [clangd] Update themeRuleMatcher when color theme
changes in vscode extension. (authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Change
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
TokenBuffer does not collect macro expansions inside macro arguments which is
needed for semantic higlight
jvikstrom updated this revision to Diff 217785.
jvikstrom marked an inline comment as done.
jvikstrom added a comment.
Use `conf.affectsConfiguration('workbench.colorTheme')` instead of keeping
track of the old color theme manually.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTI
jvikstrom updated this revision to Diff 217652.
jvikstrom marked 6 inline comments as done.
jvikstrom added a comment.
Abandoned trying to highlight the same as the bound decl.
Reasoning: If you have a reference to a parameter we are not trying to
highlight the reference as a parameter, the refe
jvikstrom added a comment.
Oh, was not aware we needed to dispose the extension as well.
I think you should probably add the SemanticHighlightingFeature to the
context.subscriptions as well, right? (because I didn't when I did the cleanup
patch for it, sorry)
Repository:
rG LLVM Github Mono
jvikstrom updated this revision to Diff 217638.
jvikstrom added a comment.
Updated to new master.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66406/new/
https://reviews.llvm.org/D66406
Files:
clang-tools-extra/clangd/clients/clangd-vscode/src/
This revision was automatically updated to reflect the committed changes.
Closed by commit rL370202: [clangd] Cleans up the semantic highlighting
resources if clangd stops. (authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior
jvikstrom marked an inline comment as done.
jvikstrom added inline comments.
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:177
return;
+if (TP->isPointerType() || TP->isLValueReferenceType())
+ // When highlighting dependant template types the type
jvikstrom updated this revision to Diff 217618.
jvikstrom added a comment.
Added a RecursiveASTVisitor for finding 'underlying' types.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66516/new/
https://reviews.llvm.org/D66516
Files:
clang-tools-ex
jvikstrom updated this revision to Diff 217396.
jvikstrom added a comment.
Dispose of all resources when disposing.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66743/new/
https://reviews.llvm.org/D66743
Files:
clang-tools-extra/clangd/clients/
jvikstrom marked 2 inline comments as done.
jvikstrom added inline comments.
Comment at:
clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts:114
+ // restarts.
+ public crashDispose() {
+this.disposables.forEach((d) => d.dispose());
jvikstrom updated this revision to Diff 217367.
jvikstrom added a comment.
Renamed disposables to subscriptions and removed clangd crashes in api.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66743/new/
https://reviews.llvm.org/D66743
Files:
cl
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
Disposes of the vscode listeners when clangd crashes and reuses the old
highlighter when it restarts. The
This revision was automatically updated to reflect the committed changes.
jvikstrom marked 4 inline comments as done.
Closed by commit rG1c9aa70b042b: [clangd] Handling text editor/document
lifetimes in vscode extension. (authored by jvikstrom).
Repository:
rG LLVM Github Monorepo
CHANGES SINC
jvikstrom updated this revision to Diff 217134.
jvikstrom added a comment.
Fixed changes that weren't supposed to be made.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66735/new/
https://reviews.llvm.org/D66735
Files:
clang-tools-extra/clangd/c
jvikstrom updated this revision to Diff 217131.
jvikstrom added a comment.
Address comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66735/new/
https://reviews.llvm.org/D66735
Files:
clang-tools-extra/clangd/clients/clangd-vscode/src/seman
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
Structured bindings are in a BindingDecl. The decl the declRefExpr points to
are the BindingDecls. So this
jvikstrom marked an inline comment as done.
jvikstrom added inline comments.
Comment at:
clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts:94
+vscode.window.onDidChangeVisibleTextEditors(
+() => this.highlighter.onDidChangeVisibleTextEditors
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
Just reapplies highlightings for all files when visible text editors change.
Could find the correct text e
This revision was automatically updated to reflect the committed changes.
jvikstrom marked 10 inline comments as done.
Closed by commit rL369893: [clangd] Added a colorizer to the vscode extension.
(authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llv
jvikstrom marked an inline comment as done.
jvikstrom added inline comments.
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:177
return;
+if (TP->isPointerType() || TP->isLValueReferenceType())
+ // When highlighting dependant template types the type
jvikstrom added inline comments.
Comment at:
clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts:135
+ // Update the themeRuleMatcher that is used when highlighting. Also triggers
a
+ // recolorization for all current highlighters. Safe to call multipl
jvikstrom updated this revision to Diff 217099.
jvikstrom marked 12 inline comments as done.
jvikstrom added a comment.
Made tests more readable.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66219/new/
https://reviews.llvm.org/D66219
Files:
cla
jvikstrom marked an inline comment as done.
jvikstrom added inline comments.
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:177
return;
+if (TP->isPointerType() || TP->isLValueReferenceType())
+ // When highlighting dependant template types the type
jvikstrom updated this revision to Diff 216624.
jvikstrom added a comment.
Added missing protected and comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66219/new/
https://reviews.llvm.org/D66219
Files:
clang-tools-extra/clangd/clients/clan
jvikstrom added a comment.
I had completely forgotten we could just override the applyHighlightings method
in the tests, everything is much simpler now.
Basically this entire CL was rewritten just now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/
jvikstrom updated this revision to Diff 216621.
jvikstrom marked 6 inline comments as done.
jvikstrom added a comment.
Rewrote the Highlighter class as we can override the highlighting method for
the tests.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.
jvikstrom accepted this revision.
jvikstrom added a comment.
This revision is now accepted and ready to land.
It feels a bit strange to be sending highlighting (even if they are empty)
beyond eof. But I guess the proposal does not specify this and it would make
life for the vscode extension (mu
jvikstrom marked an inline comment as done.
jvikstrom added inline comments.
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:177
return;
+if (TP->isPointerType() || TP->isLValueReferenceType())
+ // When highlighting dependant template types the type
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay,
kristof.beyls, javed.absar.
Herald added a project: clang.
Types dependant on templates did not get highlighted properly. This is because
This revision was automatically updated to reflect the committed changes.
jvikstrom marked 2 inline comments as done.
Closed by commit rL369385: [Syntax] Added function to get macro expansion
tokens to TokenBuffer. (authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added
jvikstrom updated this revision to Diff 216103.
jvikstrom added a comment.
Readded dissapeared newline.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66470/new/
https://reviews.llvm.org/D66470
Files:
clang/include/clang/Tooling/Syntax/Tokens.h
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet.
Herald added a project: clang.
Returns the first token in every mapping where the token is an identifier.
This API is required to be able to highlight macro expansion
This revision was automatically updated to reflect the committed changes.
jvikstrom marked 2 inline comments as done.
Closed by commit rL369275: [clangd] Added highlighting for tokens that are
macro arguments. (authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added a sub
jvikstrom added inline comments.
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:54
+ if (Conflicting.size() > 1) {
+Tokens.erase(Tokens.begin() + I,
+ Tokens.begin() + I + Conflicting.size());
ilya-biryukov wrote:
>
jvikstrom updated this revision to Diff 215907.
jvikstrom marked 2 inline comments as done.
jvikstrom added a comment.
Rewrote conflicting token removal code.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64741/new/
https://reviews.llvm.org/D64741
jvikstrom updated this revision to Diff 215886.
jvikstrom marked 4 inline comments as done.
jvikstrom added a comment.
Renamed colorizer to highlighter and added FIXME about highlightings below eof.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D6621
jvikstrom added a comment.
@ilya-biryukov @hokein ping
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64741/new/
https://reviews.llvm.org/D64741
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
h
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
Add event listener that listens to configuration changes and reloads the
ThemeRuleMatcher when the theme c
This revision was automatically updated to reflect the committed changes.
Closed by commit rL369238: [clangd] Added special HighlightingKind for function
parameters. (authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to com
This revision was automatically updated to reflect the committed changes.
Closed by commit rL369090: [clangd] Added highlighting for non type templates.
(authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https:
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
This means that function parameters are no longer highlighted as
variable.other.cpp but instead as variabl
jvikstrom updated this revision to Diff 215544.
jvikstrom marked an inline comment as done.
jvikstrom added a comment.
Highlight as TemplateParameter.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66221/new/
https://reviews.llvm.org/D66221
Files:
jvikstrom added inline comments.
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:231
+ if (TP->isFunctionPointerType()) {
+addToken(Loc, HighlightingKind::Function);
+return;
ilya-biryukov wrote:
> jvikstrom wrote:
>
jvikstrom marked an inline comment as done.
jvikstrom added inline comments.
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:231
+ if (TP->isFunctionPointerType()) {
+addToken(Loc, HighlightingKind::Function);
+return;
--
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
Highlights pointers to variables as variables. Function pointers are
highlighted as functions. Member func
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
Adds the main colorizer component. It colorizes every time clangd sends a
publishSemanticHighlighting noti
This revision was automatically updated to reflect the committed changes.
Closed by commit rL368834: [clangd] Loading TokenColorRules as a class mapping
the rules to their… (authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior
jvikstrom updated this revision to Diff 215065.
jvikstrom marked 4 inline comments as done.
jvikstrom added a comment.
Simplified matching code. Use real scopes for test.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65856/new/
https://reviews.llvm
jvikstrom updated this revision to Diff 214845.
jvikstrom marked an inline comment as done.
jvikstrom added a comment.
Added fixme for ranking.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65856/new/
https://reviews.llvm.org/D65856
Files:
clang
jvikstrom added inline comments.
Comment at:
clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts:128
+ // Find the rule wich is the longest prefix of scope.
+ if (rule.scope.length <= scope.length &&
+ scope.substr(0, rule.scope.length)
jvikstrom updated this revision to Diff 214844.
jvikstrom marked 4 inline comments as done.
jvikstrom added a comment.
Changed variable name.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65856/new/
https://reviews.llvm.org/D65856
Files:
clang-t
jvikstrom added inline comments.
Comment at:
clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts:131
+this.rules.forEach((rule) => {
+ if (rule.scope.length <= scope.length &&
+ scope.substr(0, rule.scope.length) === rule.scope &&
--
jvikstrom updated this revision to Diff 214834.
jvikstrom added a comment.
Removed stray edits from loadTheme.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65856/new/
https://reviews.llvm.org/D65856
Files:
clang-tools-extra/clangd/clients/clang
jvikstrom updated this revision to Diff 214833.
jvikstrom marked 4 inline comments as done.
jvikstrom added a comment.
Address comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65856/new/
https://reviews.llvm.org/D65856
Files:
clang-tools-
jvikstrom updated this revision to Diff 214814.
jvikstrom added a comment.
Added a missing test case.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65856/new/
https://reviews.llvm.org/D65856
Files:
clang-tools-extra/clangd/clients/clangd-vscode/
jvikstrom updated this revision to Diff 214813.
jvikstrom added a comment.
Lazy load the best theme rule for a scope.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65856/new/
https://reviews.llvm.org/D65856
Files:
clang-tools-extra/clangd/client
jvikstrom updated this revision to Diff 214779.
jvikstrom added a comment.
Updated patch description.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65856/new/
https://reviews.llvm.org/D65856
Files:
clang-tools-extra/clangd/clients/clangd-vscode/
jvikstrom updated this revision to Diff 214778.
jvikstrom added a comment.
Updated to use string[][] as scopes.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65856/new/
https://reviews.llvm.org/D65856
Files:
clang-tools-extra/clangd/clients/clan
jvikstrom updated this revision to Diff 214774.
jvikstrom added a comment.
Rebased into master.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65856/new/
https://reviews.llvm.org/D65856
Files:
clang-tools-extra/clangd/clients/clangd-vscode/src/se
This revision was automatically updated to reflect the committed changes.
jvikstrom marked 5 inline comments as done.
Closed by commit rL368568: [clangd] Added the vscode SemanticHighlighting
feature code but did not enable… (authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Her
jvikstrom added a comment.
@ilya-biryukov @hokein pinging about this cl (I had completely forgotten about
it somehow. Just updated it to the new master though)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64741/new/
https://reviews.llvm.org/D6474
jvikstrom updated this revision to Diff 214620.
jvikstrom added a comment.
Moved comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64741/new/
https://reviews.llvm.org/D64741
Files:
clang-tools-extra/clangd/SemanticHighlighting.cpp
clang-t
jvikstrom updated this revision to Diff 214619.
jvikstrom added a comment.
Rebased to master.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64741/new/
https://reviews.llvm.org/D64741
Files:
clang-tools-extra/clangd/SemanticHighlighting.cpp
cla
This revision was automatically updated to reflect the committed changes.
jvikstrom marked 3 inline comments as done.
Closed by commit rL368563: [clangd] Remove highlightings coming from non
topLevelDecls from included files. (authored by jvikstrom, committed by ).
Herald added a project: LLVM.
He
jvikstrom updated this revision to Diff 214613.
jvikstrom marked 4 inline comments as done.
jvikstrom added a comment.
Mirror the LSP proposal SemanticHighlightingParams/Information types.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65998/new/
ht
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
It is possible to write include code from other files so that the decls from
there do not become topLevelD
This revision was automatically updated to reflect the committed changes.
Closed by commit rL368546: [clangd] Highlighting auto variables as the deduced
type. (authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
jvikstrom updated this revision to Diff 214373.
jvikstrom added a comment.
Removed ending whitespace on a line.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65996/new/
https://reviews.llvm.org/D65996
Files:
clang-tools-extra/clangd/SemanticHigh
jvikstrom updated this revision to Diff 214372.
jvikstrom marked 3 inline comments as done.
jvikstrom added a comment.
Address comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65996/new/
https://reviews.llvm.org/D65996
Files:
clang-tools-
jvikstrom updated this revision to Diff 214364.
jvikstrom marked 4 inline comments as done.
jvikstrom added a comment.
Address comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65998/new/
https://reviews.llvm.org/D65998
Files:
clang-tools-
jvikstrom added inline comments.
Comment at:
clang-tools-extra/clangd/clients/clangd-vscode/src/semantic-highlighting.ts:62
+
+ handleNotification(params: HighlightingInformation) {
+const tokenLines = params.lines.map((line): HighlightingLine => {
hokein w
This revision was automatically updated to reflect the committed changes.
Closed by commit rL368434: [clangd] Added highlighting for constructor
initializers. (authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed prior to commit:
jvikstrom updated this revision to Diff 214346.
jvikstrom added a comment.
Fixed case where initializer was base class initializer which would cause crash.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66001/new/
https://reviews.llvm.org/D66001
Fi
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
Constructor initializers were not being highlighted. This adds highlighting for
them by using TraverseCons
jvikstrom updated this revision to Diff 214334.
jvikstrom added a comment.
Added comment to decodeTokens function.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65998/new/
https://reviews.llvm.org/D65998
Files:
clang-tools-extra/clangd/clients/c
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
jvikstrom updated this revision to Diff 214334.
jvikstrom added a comment.
Added comment to decodeTokens fu
This revision was automatically updated to reflect the committed changes.
Closed by commit rL368403: [clangd] Fixed printTemplateSpecializationArgs not
printing partial variable… (authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Changed
This revision was automatically updated to reflect the committed changes.
jvikstrom marked 2 inline comments as done.
Closed by commit rL368402: [AST] No longer visiting CXXMethodDecl bodies
created by compiler when method… (authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Hera
jvikstrom updated this revision to Diff 214319.
jvikstrom added a comment.
Finished comment.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65996/new/
https://reviews.llvm.org/D65996
Files:
clang-tools-extra/clangd/SemanticHighlighting.cpp
clan
jvikstrom created this revision.
jvikstrom added reviewers: hokein, ilya-biryukov.
Herald added subscribers: cfe-commits, kadircet, arphaman, jkorous, MaskRay.
Herald added a project: clang.
jvikstrom updated this revision to Diff 214319.
jvikstrom added a comment.
Finished comment.
Done in Visi
jvikstrom added inline comments.
Comment at: clang-tools-extra/clangd/unittests/ASTTests.cpp:40
+TEST(PrintTemplateSpecializationArgs, PrintsTemplateArgs) {
+ TestTU TU;
hokein wrote:
> looks like the related tests are in `PrintASTTests.cpp`, could you move th
jvikstrom updated this revision to Diff 214132.
jvikstrom marked 2 inline comments as done.
jvikstrom added a comment.
Merged test with PrintASTTest.cpp.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65926/new/
https://reviews.llvm.org/D65926
File
This revision was automatically updated to reflect the committed changes.
jvikstrom marked an inline comment as done.
Closed by commit rL368291: [clangd] Added semantic highlighting support for
primitives. (authored by jvikstrom, committed by ).
Herald added a project: LLVM.
Herald added a subscri
1 - 100 of 311 matches
Mail list logo