From 185fe49f29f6632a3c26c376fcb4934e91092ff7 Mon Sep 17 00:00:00 2001 From: Marc Chevrier Date: Sat, 21 Sep 2019 16:38:38 +0200 Subject: clang-format: Normalize headers presentation By using clang-format directives 'IncludeBlocks' and 'IncludeCategories' headers are regrouped by categories: 1. "cmConfigure.h" which must be first 2. header matching current implementation file 3. standard language headers 4. CMake replacement ones 5. external headers (i.e. #include directive with '<' and '>') 6. Qt headers 7. cmsys/* headers 8. cm_* headers 9. CMake headers (i.e. starting with 'cm[A-Z]') 10. all other headers Fixes: #19674 --- Tests/VSWinStorePhone/Direct3DApp1/CubeRenderer.cpp | 2 ++ Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.h | 2 ++ Tests/VSWinStorePhone/Direct3DApp1/Direct3DBase.cpp | 2 ++ 3 files changed, 6 insertions(+) (limited to 'Tests/VSWinStorePhone') diff --git a/Tests/VSWinStorePhone/Direct3DApp1/CubeRenderer.cpp b/Tests/VSWinStorePhone/Direct3DApp1/CubeRenderer.cpp index 3ba35fa436..595f55392b 100644 --- a/Tests/VSWinStorePhone/Direct3DApp1/CubeRenderer.cpp +++ b/Tests/VSWinStorePhone/Direct3DApp1/CubeRenderer.cpp @@ -1,6 +1,8 @@ +// clang-format off #include "pch.h" #include "CubeRenderer.h" +// clang-format on using namespace DirectX; using namespace Microsoft::WRL; diff --git a/Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.h b/Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.h index c3499c708e..79b9070069 100644 --- a/Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.h +++ b/Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.h @@ -1,8 +1,10 @@ #pragma once +// clang-format off #include "pch.h" #include "CubeRenderer.h" +// clang-format on ref class Direct3DApp1 sealed : public Windows::ApplicationModel::Core::IFrameworkView diff --git a/Tests/VSWinStorePhone/Direct3DApp1/Direct3DBase.cpp b/Tests/VSWinStorePhone/Direct3DApp1/Direct3DBase.cpp index 0662fbe64a..f24ce28f11 100644 --- a/Tests/VSWinStorePhone/Direct3DApp1/Direct3DBase.cpp +++ b/Tests/VSWinStorePhone/Direct3DApp1/Direct3DBase.cpp @@ -1,6 +1,8 @@ +// clang-format off #include "pch.h" #include "Direct3DBase.h" +// clang-format on using namespace DirectX; using namespace Microsoft::WRL; -- cgit v1.2.1