[PATCH] D116828: Initialize HighlightingsBuilder::Resolver
Vitaly Buka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 7 15:21:48 PST 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG669eb6004670: Initialize HighlightingsBuilder::Resolver (authored by vitalybuka).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D116828/new/
https://reviews.llvm.org/D116828
Files:
clang-tools-extra/clangd/SemanticHighlighting.cpp
Index: clang-tools-extra/clangd/SemanticHighlighting.cpp
===================================================================
--- clang-tools-extra/clangd/SemanticHighlighting.cpp
+++ clang-tools-extra/clangd/SemanticHighlighting.cpp
@@ -468,7 +468,7 @@
const LangOptions &LangOpts;
std::vector<HighlightingToken> Tokens;
std::map<Range, llvm::SmallVector<HighlightingModifier, 1>> ExtraModifiers;
- const HeuristicResolver *Resolver;
+ const HeuristicResolver *Resolver = nullptr;
// returned from addToken(InvalidLoc)
HighlightingToken InvalidHighlightingToken;
};
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116828.398254.patch
Type: text/x-patch
Size: 584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220107/ed5f706a/attachment.bin>
More information about the cfe-commits
mailing list