diff options
author | Brad King <brad.king@kitware.com> | 2016-05-12 13:28:28 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-05-12 13:28:28 (GMT) |
commit | 11eba2ecd57ad08f700f3902c60ff82cd2f9d6a6 (patch) | |
tree | 7cf7fbb26148200925a65a8e442670e3e5ee3bb9 | |
parent | 27cda1390ac0b927f4c573d8ab57e268d065b1b2 (diff) | |
parent | 062593273f4765e2948993992eaeac9acdab0e27 (diff) | |
download | CMake-11eba2ecd57ad08f700f3902c60ff82cd2f9d6a6.zip CMake-11eba2ecd57ad08f700f3902c60ff82cd2f9d6a6.tar.gz CMake-11eba2ecd57ad08f700f3902c60ff82cd2f9d6a6.tar.bz2 |
Merge topic 'clang-format-prep'
06259327 Tests: Wrap long comment lines in VSXaml test
18df6a9a Tests: Protect unicode literals from clang-format Cpp03 formatting
-rw-r--r-- | Tests/CompileFeatures/cxx_unicode_literals.cpp | 2 | ||||
-rw-r--r-- | Tests/VSXaml/App.xaml.cpp | 16 |
2 files changed, 11 insertions, 7 deletions
diff --git a/Tests/CompileFeatures/cxx_unicode_literals.cpp b/Tests/CompileFeatures/cxx_unicode_literals.cpp index a7b7df0..7794c11 100644 --- a/Tests/CompileFeatures/cxx_unicode_literals.cpp +++ b/Tests/CompileFeatures/cxx_unicode_literals.cpp @@ -1,3 +1,5 @@ +/* clang-format off */ const char16_t lit_16[] = u"\u00DA"; const char32_t lit_32[] = U"\u00DA"; +/* clang-format on */ diff --git a/Tests/VSXaml/App.xaml.cpp b/Tests/VSXaml/App.xaml.cpp index 2cb2b32..a187ed5 100644 --- a/Tests/VSXaml/App.xaml.cpp +++ b/Tests/VSXaml/App.xaml.cpp @@ -26,8 +26,9 @@ using namespace Windows::UI::Xaml::Navigation; // The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=234227 /// <summary> -/// Initializes the singleton application object. This is the first line of authored code -/// executed, and as such is the logical equivalent of main() or WinMain(). +/// Initializes the singleton application object. This is the first line of +/// authored code executed, and as such is the logical equivalent of main() +/// or WinMain(). /// </summary> App::App() { @@ -36,8 +37,9 @@ App::App() } /// <summary> -/// Invoked when the application is launched normally by the end user. Other entry points -/// will be used such as when the application is launched to open a specific file. +/// Invoked when the application is launched normally by the end user. +/// Other entry points will be used such as when the application is +/// launched to open a specific file. /// </summary> /// <param name="e">Details about the launch request and process.</param> void App::OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEventArgs^ e) @@ -101,9 +103,9 @@ void App::OnLaunched(Windows::ApplicationModel::Activation::LaunchActivatedEvent } /// <summary> -/// Invoked when application execution is being suspended. Application state is saved -/// without knowing whether the application will be terminated or resumed with the contents -/// of memory still intact. +/// Invoked when application execution is being suspended. Application state +/// is saved without knowing whether the application will be terminated or +/// resumed with the contents of memory still intact. /// </summary> /// <param name="sender">The source of the suspend request.</param> /// <param name="e">Details about the suspend request.</param> |