Enable a couple of boring warnings. (#4018)

Just spotted these while looking at warnings that seem to fire on our
code are probably are things we'd fix if we saw them. None of these seem
important FWIW.

Also removes a redundant flag that is part of `-Wall`.

I have a follow-up for the high-value warning I spotted that motivated
me to look at all of this. But it's noisy so kept it as a separate PR.
This commit is contained in:
Chandler Carruth authored and GitHub committed 2024-06-03 05:02:26 +00:00
1 parent 20acad355e
commit dd0890619a
17 files changed
+23 -21

No files matched your search

+1 -1
View File
@@ -35,7 +35,7 @@ void LanguageServer::OnInitialize(
llvm::json::Object reply{{"capabilities", std::move(capabilities)}};
cb(reply);
};
}
auto LanguageServer::onNotify(llvm::StringRef method, llvm::json::Value value)
-> bool {