Fix remaining unittest errors caused by
__attribute__((no_caller_saved_registers))
Related commit which caused the buildbots to fail:
rL352050
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@352060
91177308-0d34-0410-b5e6-
96231b3b80d8
EXPECT_TRUE(testStructuralMatch(t));
}
-// These calling conventions may not be available on certain platforms.
+// These attributes may not be available on certain platforms.
#if defined(__x86_64__) && defined(__linux__)
TEST_F(StructuralEquivalenceFunctionTest,
FunctionsWithDifferentCallingConventions) {
Lang_C);
EXPECT_FALSE(testStructuralMatch(t));
}
-#endif
TEST_F(StructuralEquivalenceFunctionTest, FunctionsWithDifferentSavedRegsAttr) {
auto t = makeNamedDecls(
Lang_C);
EXPECT_FALSE(testStructuralMatch(t));
}
+#endif
struct StructuralEquivalenceCXXMethodTest : StructuralEquivalenceTest {
};