Author: Aaron Ballman Date: 2021-12-06T14:13:29-05:00 New Revision: ead449aee4c1bd3ad309185528c430fdbd06cf2f
URL: https://github.com/llvm/llvm-project/commit/ead449aee4c1bd3ad309185528c430fdbd06cf2f DIFF: https://github.com/llvm/llvm-project/commit/ead449aee4c1bd3ad309185528c430fdbd06cf2f.diff LOG: Fixing this test which failed due to different warnings Added: Modified: clang/test/Sema/builtins-elementwise-math.c Removed: ################################################################################ diff --git a/clang/test/Sema/builtins-elementwise-math.c b/clang/test/Sema/builtins-elementwise-math.c index 19e9c008b335..4008f7766e54 100644 --- a/clang/test/Sema/builtins-elementwise-math.c +++ b/clang/test/Sema/builtins-elementwise-math.c @@ -60,7 +60,7 @@ void test_builtin_elementwise_max(int i, short s, double d, float4 v, int3 iv, i enum f { three }; enum f x = __builtin_elementwise_max(one, three); - _BitInt(32) ext; + _BitInt(32) ext; // expected-warning {{'_BitInt' in C17 and earlier is a Clang extension}} ext = __builtin_elementwise_max(ext, ext); const int ci; @@ -112,7 +112,7 @@ void test_builtin_elementwise_min(int i, short s, double d, float4 v, int3 iv, i enum f { three }; enum f x = __builtin_elementwise_min(one, three); - _BitInt(32) ext; + _BitInt(32) ext; // expected-warning {{'_BitInt' in C17 and earlier is a Clang extension}} ext = __builtin_elementwise_min(ext, ext); const int ci; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits