[compiler-rt] r298539 - Make nullability test pass on Windows, which evaluates parameters right-to-left.
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 22 12:15:24 PDT 2017
Author: nico
Date: Wed Mar 22 14:15:24 2017
New Revision: 298539
URL: http://llvm.org/viewvc/llvm-project?rev=298539&view=rev
Log:
Make nullability test pass on Windows, which evaluates parameters right-to-left.
Modified:
compiler-rt/trunk/test/ubsan/TestCases/Misc/nullability.c
Modified: compiler-rt/trunk/test/ubsan/TestCases/Misc/nullability.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/TestCases/Misc/nullability.c?rev=298539&r1=298538&r2=298539&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/Misc/nullability.c (original)
+++ compiler-rt/trunk/test/ubsan/TestCases/Misc/nullability.c Wed Mar 22 14:15:24 2017
@@ -6,8 +6,6 @@
// CHECK-NEXT: nullability.c:[[@LINE+1]]:6: note: _Nonnull return type annotation specified here
int *_Nonnull nonnull_retval1(int *p) { return p; }
-// CHECK: nullability.c:1001:19: runtime error: null pointer passed as argument 1, which is declared to never be null
-// CHECK-NEXT: nullability.c:[[@LINE+3]]:36: note: _Nonnull type annotation specified here
// CHECK: nullability.c:1001:22: runtime error: null pointer passed as argument 2, which is declared to never be null
// CHECK-NEXT: nullability.c:[[@LINE+1]]:56: note: _Nonnull type annotation specified here
int *_Nonnull nonnull_retval2(int *_Nonnull arg1, int *_Nonnull arg2,
More information about the llvm-commits
mailing list