Skip to content

Commit 4e72e21

Browse files
committed
[SourceKit] Add missing std::string include
`SwiftInvocation.h` references `std::string`, but does not include `<string>`. This results in an error when compiling on Linux.
1 parent 9dddc64 commit 4e72e21

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/SourceKit/lib/SwiftLang/SwiftInvocation.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#define LLVM_SOURCEKIT_LIB_SWIFTLANG_SWIFTINVOCATION_H
1515

1616
#include "swift/Basic/ThreadSafeRefCounted.h"
17+
#include <string>
1718
#include <vector>
1819

1920
namespace swift {

0 commit comments

Comments
 (0)