[clangd] suppress -Wparentheses warning: suggest parentheses around ‘&&’ within ‘||’

llvm-svn: 369105
This commit is contained in:
Haojian Wu 2019-08-16 13:20:51 +00:00
parent 403e85cbc5
commit 427762f03d
1 changed files with 1 additions and 1 deletions

View File

@ -617,7 +617,7 @@ void ClangdLSPServer::onCommand(const ExecuteCommandParams &Params,
if (!R)
return Reply(R.takeError());
assert(R->ShowMessage || R->ApplyEdit && "tweak has no effect");
assert(R->ShowMessage || (R->ApplyEdit && "tweak has no effect"));
if (R->ShowMessage) {
ShowMessageParams Msg;