Fix failing buildbots

Fix remaining unittest errors caused by
__attribute__((no_caller_saved_registers))
Related commit which caused the buildbots to fail:
rL352050

llvm-svn: 352060
This commit is contained in:
Gabor Marton 2019-01-24 16:27:21 +00:00
parent a657510eb7
commit 68686a9f7a
1 changed files with 2 additions and 2 deletions

View File

@ -378,7 +378,7 @@ TEST_F(StructuralEquivalenceFunctionTest, FunctionsWithDifferentNoreturnAttr) {
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) {
@ -388,7 +388,6 @@ TEST_F(StructuralEquivalenceFunctionTest,
Lang_C);
EXPECT_FALSE(testStructuralMatch(t));
}
#endif
TEST_F(StructuralEquivalenceFunctionTest, FunctionsWithDifferentSavedRegsAttr) {
auto t = makeNamedDecls(
@ -397,6 +396,7 @@ TEST_F(StructuralEquivalenceFunctionTest, FunctionsWithDifferentSavedRegsAttr) {
Lang_C);
EXPECT_FALSE(testStructuralMatch(t));
}
#endif
struct StructuralEquivalenceCXXMethodTest : StructuralEquivalenceTest {
};