Skip to content

Commit 094aa8f

Browse files
committed
Fix build error due to missing include of llvm/Support/FileSystem.h
DiagnosticEngine.h uses llvm::sys::fs:exists but doesn't directly include the header that provides it, which results in a build error due to upstream llvm changes. This patch includes that header.
1 parent f78a87a commit 094aa8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/swift/AST/DiagnosticEngine.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include "swift/AST/TypeLoc.h"
2525
#include "llvm/ADT/StringSet.h"
2626
#include "llvm/Support/Allocator.h"
27+
#include "llvm/Support/FileSystem.h"
2728
#include "llvm/Support/Path.h"
2829
#include "llvm/Support/VersionTuple.h"
2930

0 commit comments

Comments
 (0)