Skip to content

Commit 309e4da

Browse files
committed
SourceKit: correct header include order
Internal.h must be included before sourcekitd.h to ensure that we get the correct definition for Windows targets. The inclusion of `sourcekitd.h` is not needed after the inclusion of `Internal.h` so simply remove the inclusion.
1 parent 20bb815 commit 309e4da

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tools/SourceKit/tools/sourcekitd/lib/API/sourcekitdAPI-InProc.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//===----------------------------------------------------------------------===//
1212

1313
#include "DictionaryKeys.h"
14-
#include "sourcekitd/sourcekitd.h"
1514
#include "sourcekitd/Internal.h"
1615
#include "sourcekitd/CodeCompletionResultsArray.h"
1716
#include "sourcekitd/DocStructureArray.h"

0 commit comments

Comments
 (0)