commit | f4038e75d20257742063826fd0adc2971b3e2367 | [log] [tgz] |
---|---|---|
author | Sunil Srivastava <sunil_srivastava@playstation.sony.com> | Fri Jul 19 21:38:34 2019 +0000 |
committer | Sunil Srivastava <sunil_srivastava@playstation.sony.com> | Fri Jul 19 21:38:34 2019 +0000 |
tree | 26a9ed304ebcde3dfb9fe1212d43101d33bdfd13 | |
parent | 7b5a54e369035a5754be2e836b7b583b3db8c884 [diff] [blame] |
Disallow most calling convention attributes on PS4 PS4 now only allows "cdecl", and its equivalent on PS4, "sysv_abi". Differential Revision: https://reviews.llvm.org/D64780 llvm-svn: 366617
diff --git a/clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp b/clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp index 560cdf9..f2006fc 100644 --- a/clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp +++ b/clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp
@@ -86,6 +86,8 @@ } TEST(RecursiveASTVisitor, VisitsAttributedLambdaExpr) { + if (llvm::Triple(llvm::sys::getDefaultTargetTriple()).isPS4()) + return; // PS4 does not support fastcall. LambdaExprVisitor Visitor; Visitor.ExpectMatch("", 1, 12); EXPECT_TRUE(Visitor.runOver(