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 d2e57c5 commit 42ee286Copy full SHA for 42ee286
clang-tools-extra/clangd/unittests/DiagnosticsTests.cpp
@@ -544,7 +544,7 @@ TEST(DiagnosticTest, RespectsDiagnosticConfig) {
544
Diag(Main.range("ret"),
545
"void function 'x' should not return a value")));
546
Config Cfg;
547
- Cfg.Diagnostics.Suppress.insert("return-type");
+ Cfg.Diagnostics.Suppress.insert("return-mismatch");
548
WithContextValue WithCfg(Config::Key, std::move(Cfg));
549
EXPECT_THAT(TU.build().getDiagnostics(),
550
ElementsAre(Diag(Main.range(),
0 commit comments