mirror of
https://github.com/reactos/CMake.git
synced 2024-12-12 13:56:00 +00:00
68e7250a9f
The clang-format pass in commit v3.6.0-rc1~54^2~1 (Revise C++ coding style using clang-format, 2016-05-16) changed the template right angle brackets from `>>` to `> >`, which defeats the purpose of this test. Change it back and exclude this content from formatting.
15 lines
163 B
C++
15 lines
163 B
C++
|
|
template <typename T>
|
|
struct A
|
|
{
|
|
typedef T Result;
|
|
};
|
|
|
|
void someFunc()
|
|
{
|
|
/* clang-format off */
|
|
A<A<int>> object;
|
|
/* clang-format on */
|
|
(void)object;
|
|
}
|