HomePhabricator

Silence gcc warning by adding parentheses to condition [NFC]

Description

Silence gcc warning by adding parentheses to condition [NFC]

Without this gcc 7.4.0 complains with

../include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h:457:54: error: suggest parentheses around '&&' within '||' [-Werror=parentheses]
                  isArtifactCast(TmpDef->getOpcode()) &&
                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
                      "Expecting copy or artifact cast here");
                      ~

Details

Committed
uabelhoJul 9 2019, 11:18 PM
Parents
rL365596: Added vcs_protocol property to specify what protocol to use for the source codeā€¦
Branches
Unknown
Tags
Unknown