forked from OSchip/llvm-project
[clangd] suppress -Wparentheses warning: suggest parentheses around ‘&&’ within ‘||’
llvm-svn: 369105
This commit is contained in:
parent
403e85cbc5
commit
427762f03d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue