HomePhabricator

[clang-tidy] Tweak misc-static-assert fix in c++17

Authored by njames93 on Mar 1 2021, 10:51 AM.

Description

[clang-tidy] Tweak misc-static-assert fix in c++17

If C++17 mode is enabled and the assert doesn't have a string literal, we can emit a static assert with no message in favour of one with an empty message.

Reviewed By: aaron.ballman

Differential Revision: https://reviews.llvm.org/D97313