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
clang-tools-extra/clangd
|
@ -617,7 +617,7 @@ void ClangdLSPServer::onCommand(const ExecuteCommandParams &Params,
|
||||||
if (!R)
|
if (!R)
|
||||||
return Reply(R.takeError());
|
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) {
|
if (R->ShowMessage) {
|
||||||
ShowMessageParams Msg;
|
ShowMessageParams Msg;
|
||||||
|
|
Loading…
Reference in New Issue