diff options
author | Alex Wang <aw1621107@gmail.com> | 2016-10-25 17:30:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-25 17:38:12 (GMT) |
commit | 68e7250a9facbe7b82cff17af3bf2a831e481f3c (patch) | |
tree | 4c52fc66773918807d252118e1c8ce61019fe530 /Tests/CompileFeatures | |
parent | 2a567c68ce6605071f3e21638560493b71ed2841 (diff) | |
download | CMake-68e7250a9facbe7b82cff17af3bf2a831e481f3c.zip CMake-68e7250a9facbe7b82cff17af3bf2a831e481f3c.tar.gz CMake-68e7250a9facbe7b82cff17af3bf2a831e481f3c.tar.bz2 |
Features: Fix cxx_right_angle_brackets compiler feature test
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.
Diffstat (limited to 'Tests/CompileFeatures')
-rw-r--r-- | Tests/CompileFeatures/cxx_right_angle_brackets.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/cxx_right_angle_brackets.cpp b/Tests/CompileFeatures/cxx_right_angle_brackets.cpp index 8f1b0ee..4d494b5 100644 --- a/Tests/CompileFeatures/cxx_right_angle_brackets.cpp +++ b/Tests/CompileFeatures/cxx_right_angle_brackets.cpp @@ -7,6 +7,8 @@ struct A void someFunc() { - A<A<int> > object; + /* clang-format off */ + A<A<int>> object; + /* clang-format on */ (void)object; } |