r360447 - Replace 'REQUIRES: not_?san' with 'UNSUPPORTED: ?san' as that better

Paul Robinson via cfe-commits cfe-commits at lists.llvm.org
Fri May 10 10:57:22 PDT 2019


Author: probinson
Date: Fri May 10 10:57:22 2019
New Revision: 360447

URL: http://llvm.org/viewvc/llvm-project?rev=360447&view=rev
Log:
Replace 'REQUIRES: not_?san' with 'UNSUPPORTED: ?san' as that better
expresses the intent of the exclusion.

Modified:
    cfe/trunk/test/Index/annotate-deep-statements.cpp
    cfe/trunk/test/Index/index-many-call-ops.cpp
    cfe/trunk/test/Index/index-many-logical-ops.c
    cfe/trunk/test/SemaTemplate/instantiation-depth-default.cpp

Modified: cfe/trunk/test/Index/annotate-deep-statements.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/annotate-deep-statements.cpp?rev=360447&r1=360446&r2=360447&view=diff
==============================================================================
--- cfe/trunk/test/Index/annotate-deep-statements.cpp (original)
+++ cfe/trunk/test/Index/annotate-deep-statements.cpp Fri May 10 10:57:22 2019
@@ -4,7 +4,7 @@
 // Check that we don't get stack overflow trying to annotate an extremely deep AST.
 
 // AddressSanitizer and UndefinedBehaviorSanitizer increases stack usage.
-// REQUIRES: not_asan, not_ubsan
+// UNSUPPORTED: asan, ubsan
 
 struct S {
   S &operator()();

Modified: cfe/trunk/test/Index/index-many-call-ops.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/index-many-call-ops.cpp?rev=360447&r1=360446&r2=360447&view=diff
==============================================================================
--- cfe/trunk/test/Index/index-many-call-ops.cpp (original)
+++ cfe/trunk/test/Index/index-many-call-ops.cpp Fri May 10 10:57:22 2019
@@ -5,7 +5,7 @@
 // call operators.
 
 // UBSan increses stack usage.
-// REQUIRES: not_ubsan
+// UNSUPPORTED: ubsan
 
 struct S {
   S &operator()();

Modified: cfe/trunk/test/Index/index-many-logical-ops.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/index-many-logical-ops.c?rev=360447&r1=360446&r2=360447&view=diff
==============================================================================
--- cfe/trunk/test/Index/index-many-logical-ops.c (original)
+++ cfe/trunk/test/Index/index-many-logical-ops.c Fri May 10 10:57:22 2019
@@ -5,7 +5,7 @@
 // logical operators.
 
 // UBSan increases stack usage.
-// REQUIRES: not_ubsan
+// UNSUPPORTED: ubsan
 
 // CHECK: [indexDeclaration]: kind: function | name: foo
 int foo(int x) {

Modified: cfe/trunk/test/SemaTemplate/instantiation-depth-default.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaTemplate/instantiation-depth-default.cpp?rev=360447&r1=360446&r2=360447&view=diff
==============================================================================
--- cfe/trunk/test/SemaTemplate/instantiation-depth-default.cpp (original)
+++ cfe/trunk/test/SemaTemplate/instantiation-depth-default.cpp Fri May 10 10:57:22 2019
@@ -3,7 +3,7 @@
 // FIXME: Disable this test when Clang was built with ASan, because ASan
 // increases our per-frame stack usage enough that this test no longer fits
 // within our normal stack space allocation.
-// REQUIRES: not_asan
+// UNSUPPORTED: asan
 
 template<int N, typename T> struct X : X<N+1, T*> {};
 // expected-error-re at 8 {{recursive template instantiation exceeded maximum depth of 1024{{$}}}}




More information about the cfe-commits mailing list