forked from OSchip/llvm-project
[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:
parent
4ee37ac356
commit
e88bf15d2a
|
@ -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)'
|
||||
|
|
Loading…
Reference in New Issue