Skip to content

Commit

Permalink
Merge pull request #35458 from davezarzycki/pr35458
Browse files Browse the repository at this point in the history
  • Loading branch information
swift-ci committed Jan 16, 2021
2 parents d7bf663 + e9309cd commit 31e460b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/swift/Basic/Compiler.h
Expand Up @@ -124,8 +124,8 @@
#define SWIFT_ASSERT_ONLY_DECL(...)
#define SWIFT_ASSERT_ONLY(...) do { } while (false)
#else
#define SWIFT_ASSERT_ONLY_DECL(X...) X
#define SWIFT_ASSERT_ONLY(X...) do { X; } while (false)
#define SWIFT_ASSERT_ONLY_DECL(...) __VA_ARGS__
#define SWIFT_ASSERT_ONLY(...) do { __VA_ARGS__; } while (false)
#endif

#endif // SWIFT_BASIC_COMPILER_H

0 comments on commit 31e460b

Please sign in to comment.