mirror of
https://github.com/reactos/CMake.git
synced 2024-12-16 08:07:29 +00:00
18df6a9a78
Since CMake is written in C++98 any clang-format configuration must set `Standard` to `Cpp03` so that `A<A<int> >` is not rewritten as `A<A<int>>`. However, this will cause `U"foo"` to be rewritten as `U "foo"`. Add markup to turn clang-format off in the one place that the latter case occurs so that we do not need a separate `.clang-format` config file for it. Inspired-by: Daniel Pfeifer <daniel@pfeifer-mail.de>
6 lines
120 B
C++
6 lines
120 B
C++
|
|
/* clang-format off */
|
|
const char16_t lit_16[] = u"\u00DA";
|
|
const char32_t lit_32[] = U"\u00DA";
|
|
/* clang-format on */
|