CMake/Tests/CompileFeatures
Brad King 18df6a9a78 Tests: Protect unicode literals from clang-format Cpp03 formatting
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>
2016-05-11 10:37:45 -04:00
..
CMakeLists.txt Features: Record standards and features for Intel C on UNIX 2016-04-28 09:16:35 -04:00
c_function_prototypes.c Features: Extend concept to C language. 2014-05-15 00:15:18 +02:00
c_restrict.c Features: Extend concept to C language. 2014-05-15 00:15:18 +02:00
c_static_assert.c Features: Extend concept to C language. 2014-05-15 00:15:18 +02:00
c_variadic_macros.c Features: Extend concept to C language. 2014-05-15 00:15:18 +02:00
cxx_aggregate_default_initializers.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_alias_templates.cpp Features: Add cxx_alias_templates. 2014-04-08 11:05:56 +02:00
cxx_alignas.cpp Features: Add cxx_alignas. 2014-04-08 11:05:56 +02:00
cxx_alignof.cpp Features: Add cxx_alignof. 2014-04-08 11:05:56 +02:00
cxx_attribute_deprecated.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_attributes.cpp Features: Add cxx_attributes. 2014-04-08 11:05:56 +02:00
cxx_auto_type.cpp Features: Ensure that the cxx_auto_type test is correct. 2015-01-17 14:48:27 +01:00
cxx_binary_literals.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_constexpr.cpp Features: Add cxx_constexpr. 2014-04-08 11:05:54 +02:00
cxx_contextual_conversions.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_decltype.cpp Features: Add cxx_decltype. 2014-04-08 11:05:54 +02:00
cxx_decltype_auto.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_decltype_incomplete_return_types.cpp Features: Add cxx_decltype_incomplete_return_types. 2014-04-08 11:05:57 +02:00
cxx_default_function_template_args.cpp Features: Add cxx_default_function_template_args. 2014-04-08 11:05:57 +02:00
cxx_defaulted_functions.cpp Features: Add cxx_defaulted_functions. 2014-04-08 11:05:54 +02:00
cxx_defaulted_move_initializers.cpp Features: Add cxx_defaulted_move_initializers. 2014-04-08 11:05:58 +02:00
cxx_delegating_constructors.cpp Features: Add cxx_delegating_constructors. 2014-04-08 11:05:54 +02:00
cxx_deleted_functions.cpp Features: Add cxx_deleted_functions. 2014-04-08 11:05:55 +02:00
cxx_digit_separators.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_enum_forward_declarations.cpp Features: Add cxx_enum_forward_declarations. 2014-04-08 11:05:57 +02:00
cxx_explicit_conversions.cpp Features: Add cxx_explicit_conversions. 2014-04-08 11:05:55 +02:00
cxx_extended_friend_declarations.cpp Features: Add cxx_extended_friend_declarations. 2014-04-08 11:05:57 +02:00
cxx_extern_templates.cpp Features: Add cxx_extern_templates. 2014-04-08 11:05:56 +02:00
cxx_final.cpp Features: Add cxx_final. 2014-04-08 11:05:54 +02:00
cxx_func_identifier.cpp Features: Add cxx_func_identifier. 2014-04-08 11:05:57 +02:00
cxx_generalized_initializers.cpp Features: VS 2013 Update 3 supports initializer lists (#15494) 2015-04-06 10:06:26 -04:00
cxx_generic_lambdas.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_inheriting_constructors.cpp Features: Use variable in cxx_inheriting_constructors test. 2015-01-17 14:48:27 +01:00
cxx_inline_namespaces.cpp Features: Add cxx_inline_namespaces. 2014-04-08 11:05:57 +02:00
cxx_lambda_init_captures.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_lambdas.cpp Features: Add cxx_lambdas. 2014-04-08 11:05:55 +02:00
cxx_local_type_template_args.cpp Features: Add cxx_local_type_template_args. 2014-04-08 11:05:57 +02:00
cxx_long_long_type.cpp Features: Add cxx_long_long_type. 2014-04-08 11:05:58 +02:00
cxx_noexcept.cpp Features: Add cxx_noexcept. 2014-04-08 11:05:55 +02:00
cxx_nonstatic_member_init.cpp Features: Add cxx_nonstatic_member_init. 2014-04-08 11:05:55 +02:00
cxx_nullptr.cpp Features: Add cxx_nullptr. 2014-04-08 11:05:55 +02:00
cxx_override.cpp Features: Add cxx_override. 2014-04-08 11:05:54 +02:00
cxx_range_for.cpp Features: Add cxx_range_for. 2014-04-08 11:05:55 +02:00
cxx_raw_string_literals.cpp Features: Add cxx_raw_string_literals. 2014-04-08 11:05:55 +02:00
cxx_reference_qualified_functions.cpp Features: Add cxx_reference_qualified_functions. 2014-04-08 11:05:55 +02:00
cxx_relaxed_constexpr.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_return_type_deduction.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_right_angle_brackets.cpp Features: Add cxx_right_angle_brackets. 2014-04-08 11:05:57 +02:00
cxx_rvalue_references.cpp Features: Add cxx_rvalue_references. 2014-04-08 11:05:55 +02:00
cxx_sizeof_member.cpp Features: Add cxx_sizeof_member. 2014-04-08 11:05:57 +02:00
cxx_static_assert.cpp Features: Add cxx_static_assert. 2014-04-08 11:05:54 +02:00
cxx_strong_enums.cpp Features: Add cxx_strong_enums. 2014-04-08 11:05:54 +02:00
cxx_template_template_parameters.cpp Features: Add cxx_template_template_parameters. 2014-04-16 15:16:23 +02:00
cxx_thread_local.cpp Features: Add cxx_thread_local. 2014-04-08 11:05:57 +02:00
cxx_trailing_return_types.cpp Features: Add cxx_auto_function. 2014-04-08 11:05:54 +02:00
cxx_unicode_literals.cpp Tests: Protect unicode literals from clang-format Cpp03 formatting 2016-05-11 10:37:45 -04:00
cxx_uniform_initialization.cpp Features: Add cxx_uniform_initialization. 2014-04-08 11:05:56 +02:00
cxx_unrestricted_unions.cpp Features: Add cxx_unrestricted_unions. 2014-04-08 11:05:56 +02:00
cxx_user_literals.cpp Features: Add cxx_user_literals. 2014-04-08 11:05:56 +02:00
cxx_variable_templates.cpp Features: Add support for C++14 features. 2014-05-22 18:01:23 +02:00
cxx_variadic_macros.cpp Features: Add cxx_variadic_macros. 2014-04-08 11:05:57 +02:00
cxx_variadic_templates.cpp Features: Adjust cxx_variadic_templates unit test for SolarisStudio. 2015-01-17 14:48:27 +01:00
default_dialect.c Features: Fix the default C dialect for Clang and GNU. 2014-11-20 18:24:59 +01:00
default_dialect.cpp Features: Update the default_dialect test for old GNU-like compilers. 2015-01-15 22:13:22 +01:00
feature_test.c Features: Fix CompileFeatures test for C non-features 2015-01-21 15:40:47 -05:00
feature_test.cpp Tests: Make CompileFeature tests use highest standard known. 2014-05-09 14:39:30 +02:00
genex_test.c Features: Fix C90 feature detection. 2015-02-04 18:38:21 -05:00
genex_test.cpp Features: Fix test to reject missing expectation definitions 2015-01-26 14:41:33 -05:00
main.cpp