Author: martong Date: Thu Jan 24 08:27:21 2019 New Revision: 352060 URL: http://llvm.org/viewvc/llvm-project?rev=352060&view=rev Log: Fix failing buildbots
Fix remaining unittest errors caused by __attribute__((no_caller_saved_registers)) Related commit which caused the buildbots to fail: rL352050 Modified: cfe/trunk/unittests/AST/StructuralEquivalenceTest.cpp Modified: cfe/trunk/unittests/AST/StructuralEquivalenceTest.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/AST/StructuralEquivalenceTest.cpp?rev=352060&r1=352059&r2=352060&view=diff ============================================================================== --- cfe/trunk/unittests/AST/StructuralEquivalenceTest.cpp (original) +++ cfe/trunk/unittests/AST/StructuralEquivalenceTest.cpp Thu Jan 24 08:27:21 2019 @@ -378,7 +378,7 @@ TEST_F(StructuralEquivalenceFunctionTest 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 Lang_C); EXPECT_FALSE(testStructuralMatch(t)); } +#endif struct StructuralEquivalenceCXXMethodTest : StructuralEquivalenceTest { }; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits