Skip to content

Commit 02a2af6

Browse files
authored
[Frontend] Move the argument converter header files into lib/ (#15417)
...since they don't need to be accessed from other libraries. No intended functionality change.
1 parent 9632af4 commit 02a2af6

7 files changed

+9
-9
lines changed

lib/Frontend/ArgsToFrontendInputsConverter.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#include "swift/Frontend/ArgsToFrontendInputsConverter.h"
13+
#include "ArgsToFrontendInputsConverter.h"
1414

15+
#include "ArgsToFrontendOutputsConverter.h"
1516
#include "swift/AST/DiagnosticsFrontend.h"
1617
#include "swift/Basic/Defer.h"
17-
#include "swift/Frontend/ArgsToFrontendOutputsConverter.h"
1818
#include "swift/Frontend/FrontendOptions.h"
1919
#include "swift/Option/Options.h"
2020
#include "swift/Parse/Lexer.h"

lib/Frontend/ArgsToFrontendOptionsConverter.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13-
#include "swift/Frontend/ArgsToFrontendOptionsConverter.h"
13+
#include "ArgsToFrontendOptionsConverter.h"
1414

15+
#include "ArgsToFrontendInputsConverter.h"
16+
#include "ArgsToFrontendOutputsConverter.h"
1517
#include "swift/AST/DiagnosticsFrontend.h"
1618
#include "swift/Basic/Platform.h"
17-
#include "swift/Frontend/ArgsToFrontendInputsConverter.h"
18-
#include "swift/Frontend/ArgsToFrontendOutputsConverter.h"
1919
#include "swift/Frontend/Frontend.h"
2020
#include "swift/Option/Options.h"
2121
#include "swift/Option/SanitizerOptions.h"

lib/Frontend/ArgsToFrontendOutputsConverter.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
//
1010
//===----------------------------------------------------------------------===//
1111

12-
#include "swift/Frontend/ArgsToFrontendOutputsConverter.h"
12+
#include "ArgsToFrontendOutputsConverter.h"
1313

14+
#include "ArgsToFrontendInputsConverter.h"
15+
#include "ArgsToFrontendOptionsConverter.h"
1416
#include "swift/AST/DiagnosticsFrontend.h"
1517
#include "swift/Basic/Platform.h"
16-
#include "swift/Frontend/ArgsToFrontendInputsConverter.h"
17-
#include "swift/Frontend/ArgsToFrontendOptionsConverter.h"
1818
#include "swift/Frontend/Frontend.h"
1919
#include "swift/Frontend/OutputFileMap.h"
2020
#include "swift/Option/Options.h"

lib/Frontend/CompilerInvocation.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212

1313
#include "swift/Frontend/Frontend.h"
1414

15+
#include "ArgsToFrontendOptionsConverter.h"
1516
#include "swift/AST/DiagnosticsFrontend.h"
1617
#include "swift/Basic/Platform.h"
17-
#include "swift/Frontend/ArgsToFrontendOptionsConverter.h"
1818
#include "swift/Option/Options.h"
1919
#include "swift/Option/SanitizerOptions.h"
2020
#include "swift/Strings.h"

0 commit comments

Comments
 (0)