HomePhabricator

Silence gcc warning by adding parentheses to condition [NFC]

Authored by uabelho on Jul 9 2019, 11:18 PM.

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");
                      ~

llvm-svn: 365597

Details

Committed
uabelhoJul 9 2019, 11:18 PM
Parents
rG3837f4273fcc: [Coding style change] Rename variables so that they start with a lowercase…
Branches
Unknown
Tags
Unknown