We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3c37a6 commit 0e8384aCopy full SHA for 0e8384a
clang-tools-extra/clangd/InlayHints.cpp
@@ -218,7 +218,7 @@ bool isSugaredTemplateParameter(QualType QT) {
218
// A simple wrapper for `clang::desugarForDiagnostic` that provides optional
219
// semantic.
220
std::optional<QualType> desugar(ASTContext &AST, QualType QT) {
221
- bool ShouldAKA;
+ bool ShouldAKA = false;
222
auto Desugared = clang::desugarForDiagnostic(AST, QT, ShouldAKA);
223
if (!ShouldAKA)
224
return std::nullopt;
0 commit comments