[flang] Dodge weird clang-format behavior

Original-commit: flang-compiler/f18@48b81a2dd9
Reviewed-on: https://github.com/flang-compiler/f18/pull/774
Tree-same-pre-rewrite: false
This commit is contained in:
peter klausler 2019-10-02 16:14:01 -07:00
parent 4ee37ac356
commit e88bf15d2a
1 changed files with 2 additions and 3 deletions

View File

@ -80,9 +80,8 @@ template<typename... LAMBDAS> visitors(LAMBDAS... x)->visitors<LAMBDAS...>;
#if __clang__
#define SWITCH_COVERS_ALL_CASES
#else
#define SWITCH_COVERS_ALL_CASES \
default: CRASH_NO_CASE; \
#endif
#define SWITCH_COVERS_ALL_CASES default:;
#endif
// For cheap assertions that should be applied in production.
// To disable, compile with '-DCHECK=(void)'