mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-19 06:31:18 +00:00
Add parens around && clauses in a || to appease the compiler.
Otherwise gcc 4.8.2 generates a warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203671 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
72b4cbf3ed
commit
8a9f2fd7f5
@ -283,8 +283,8 @@ TEST_F(CloneFunc, Subprogram) {
|
||||
DISubprogram Sub2(*Iter);
|
||||
EXPECT_TRUE(Sub2.Verify());
|
||||
|
||||
EXPECT_TRUE(Sub1.getFunction() == OldFunc && Sub2.getFunction() == NewFunc
|
||||
|| Sub1.getFunction() == NewFunc && Sub2.getFunction() == OldFunc);
|
||||
EXPECT_TRUE((Sub1.getFunction() == OldFunc && Sub2.getFunction() == NewFunc)
|
||||
|| (Sub1.getFunction() == NewFunc && Sub2.getFunction() == OldFunc));
|
||||
}
|
||||
|
||||
// Test that the new subprogram entry was not added to the CU which doesn't
|
||||
|
Loading…
x
Reference in New Issue
Block a user