1
0
Эх сурвалжийг харах

Tests: Stabilize include order in MFC, VSXaml, and VSWinStorePhone

These tests use a precompiled header that must be included first.
Include the header in an isolated block so that tools that sort
includes do not move it.
Brad King 9 жил өмнө
parent
commit
eb817be034

+ 2 - 0
Tests/MFC/mfc1/ChildFrm.cpp

@@ -1,6 +1,8 @@
 // ChildFrm.cpp : implementation of the CChildFrame class
 //
+
 #include "stdafx.h"
+
 #include "mfc1.h"
 
 #include "ChildFrm.h"

+ 1 - 0
Tests/MFC/mfc1/MainFrm.cpp

@@ -2,6 +2,7 @@
 //
 
 #include "stdafx.h"
+
 #include "mfc1.h"
 
 #include "MainFrm.h"

+ 1 - 0
Tests/MFC/mfc1/mfc1.cpp

@@ -2,6 +2,7 @@
 //
 
 #include "stdafx.h"
+
 #include "mfc1.h"
 #include "MainFrm.h"
 

+ 1 - 0
Tests/MFC/mfc1/mfc1Doc.cpp

@@ -2,6 +2,7 @@
 //
 
 #include "stdafx.h"
+
 #include "mfc1.h"
 
 #include "mfc1Doc.h"

+ 1 - 0
Tests/MFC/mfc1/mfc1View.cpp

@@ -2,6 +2,7 @@
 //
 
 #include "stdafx.h"
+
 #include "mfc1.h"
 
 #include "mfc1Doc.h"

+ 1 - 0
Tests/VSWinStorePhone/Direct3DApp1/CubeRenderer.cpp

@@ -1,4 +1,5 @@
 #include "pch.h"
+
 #include "CubeRenderer.h"
 
 using namespace DirectX;

+ 1 - 0
Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.cpp

@@ -1,4 +1,5 @@
 #include "pch.h"
+
 #include "Direct3DApp1.h"
 #include "BasicTimer.h"
 

+ 1 - 0
Tests/VSWinStorePhone/Direct3DApp1/Direct3DApp1.h

@@ -1,6 +1,7 @@
 #pragma once
 
 #include "pch.h"
+
 #include "CubeRenderer.h"
 
 ref class Direct3DApp1 sealed : public Windows::ApplicationModel::Core::IFrameworkView

+ 1 - 0
Tests/VSWinStorePhone/Direct3DApp1/Direct3DBase.cpp

@@ -1,4 +1,5 @@
 #include "pch.h"
+
 #include "Direct3DBase.h"
 
 using namespace DirectX;

+ 2 - 1
Tests/VSXaml/App.xaml.cpp

@@ -4,6 +4,7 @@
 //
 
 #include "pch.h"
+
 #include "MainPage.xaml.h"
 
 using namespace VSXaml;
@@ -122,4 +123,4 @@ void App::OnSuspending(Object^ sender, SuspendingEventArgs^ e)
 void App::OnNavigationFailed(Platform::Object ^sender, Windows::UI::Xaml::Navigation::NavigationFailedEventArgs ^e)
 {
 	throw ref new FailureException("Failed to load Page " + e->SourcePageType.Name);
-}
+}

+ 1 - 0
Tests/VSXaml/MainPage.xaml.cpp

@@ -4,6 +4,7 @@
 //
 
 #include "pch.h"
+
 #include "MainPage.xaml.h"
 
 using namespace VSXaml;