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.
This commit is contained in:
Alex Wang 2016-10-25 13:30:42 -04:00 committed by Brad King
parent 2a567c68ce
commit 68e7250a9f
2 changed files with 4 additions and 1 deletions

View File

@ -7,6 +7,8 @@ struct A
void someFunc()
{
A<A<int> > object;
/* clang-format off */
A<A<int>> object;
/* clang-format on */
(void)object;
}

View File

@ -130,6 +130,7 @@ $git_ls -z -- '*.c' '*.cc' '*.cpp' '*.cxx' '*.h' '*.hh' '*.hpp' '*.hxx' |
# Exclude manually-formatted sources (e.g. with long lines).
egrep -z -v '^Tests/PositionIndependentTargets/pic_test.h' |
egrep -z -v '^Tests/CompileFeatures/cxx_right_angle_brackets.cpp' |
# Exclude sources with encoding not suported by clang-format.
egrep -z -v '^Tests/RunCMake/CommandLine/cmake_depends/test_UTF-16LE.h' |