Skip to content

Commit fd5a984

Browse files
Formatting
1 parent bba093c commit fd5a984

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

libcxx/test/support/test_macros.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -363,19 +363,19 @@ inline Tp const& DoNotOptimize(Tp const& value) {
363363
// Disables tail-call optimization for "outbound" calls
364364
// performed in the function annotated with this attribute.
365365
#if __has_cpp_attribute(_Clang::__disable_tail_calls__)
366-
#define TEST_NO_TAIL_CALLS_OUT [[_Clang::__disable_tail_calls__]]
366+
# define TEST_NO_TAIL_CALLS_OUT [[_Clang::__disable_tail_calls__]]
367367
#elif __has_cpp_attribute(__gnu__::__optimize__)
368-
#define TEST_NO_TAIL_CALLS_OUT [[__gnu__::__optimize__("no-optimize-sibling-calls")]]
368+
# define TEST_NO_TAIL_CALLS_OUT [[__gnu__::__optimize__("no-optimize-sibling-calls")]]
369369
#else
370-
#define TEST_NO_TAIL_CALLS_OUT
370+
# define TEST_NO_TAIL_CALLS_OUT
371371
#endif
372372

373373
// Disables tail-call optimization for "inbound" calls -- that is,
374374
// calls from some other function calling the one having this attribute.
375375
#if __has_cpp_attribute(_Clang::__not_tail_called__)
376-
#define TEST_NO_TAIL_CALLS_IN [[_Clang::__not_tail_called__]]
376+
# define TEST_NO_TAIL_CALLS_IN [[_Clang::__not_tail_called__]]
377377
#else
378-
#define TEST_NO_TAIL_CALLS_IN
378+
# define TEST_NO_TAIL_CALLS_IN
379379
#endif
380380

381381
#ifdef _WIN32
@@ -395,8 +395,8 @@ inline Tp const& DoNotOptimize(Tp const& value) {
395395
//
396396
// The same goes on IBM zOS.
397397
// The same goes on AIX.
398-
#define ASSERT_WITH_LIBRARY_INTERNAL_ALLOCATIONS(...) ((void)(__VA_ARGS__))
399-
#define TEST_SUPPORTS_LIBRARY_INTERNAL_ALLOCATIONS 0
398+
# define ASSERT_WITH_LIBRARY_INTERNAL_ALLOCATIONS(...) ((void)(__VA_ARGS__))
399+
# define TEST_SUPPORTS_LIBRARY_INTERNAL_ALLOCATIONS 0
400400
#else
401401
#define ASSERT_WITH_LIBRARY_INTERNAL_ALLOCATIONS(...) assert(__VA_ARGS__)
402402
#define TEST_SUPPORTS_LIBRARY_INTERNAL_ALLOCATIONS 1
@@ -417,7 +417,7 @@ inline Tp const& DoNotOptimize(Tp const& value) {
417417
// the end user executable, and these fallbacks work even in DLL configurations.
418418
// In MinGW configurations when built as a DLL, and on zOS, these fallbacks
419419
// don't work though.
420-
#define ASSERT_WITH_OPERATOR_NEW_FALLBACKS(...) ((void)(__VA_ARGS__))
420+
# define ASSERT_WITH_OPERATOR_NEW_FALLBACKS(...) ((void)(__VA_ARGS__))
421421
#else
422422
#define ASSERT_WITH_OPERATOR_NEW_FALLBACKS(...) assert(__VA_ARGS__)
423423
#endif

0 commit comments

Comments
 (0)