Avoid cppcheck operator precedence warnings. NFCI.
Prefer ((X & Y) ? A : B) to (X & Y ? A : B) llvm-svn: 359884
This commit is contained in:
@@ -103,7 +103,7 @@ static cl::opt<bool> DisableLazyLoading(
|
||||
|
||||
namespace {
|
||||
|
||||
static int64_t unrotateSign(uint64_t U) { return U & 1 ? ~(U >> 1) : U >> 1; }
|
||||
static int64_t unrotateSign(uint64_t U) { return (U & 1) ? ~(U >> 1) : U >> 1; }
|
||||
|
||||
class BitcodeReaderMetadataList {
|
||||
/// Array of metadata references.
|
||||
|
||||
Reference in New Issue
Block a user