Skip to content

Commit ba75fea

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

File tree

1 file changed

+1
-0
lines changed
  • tools/SourceKit/include/SourceKit/Support

1 file changed

+1
-0
lines changed

tools/SourceKit/include/SourceKit/Support/UIdent.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
#include "llvm/ADT/StringRef.h"
1717
#include "llvm/Support/Compiler.h"
18+
#include <atomic>
1819

1920
namespace llvm {
2021
class raw_ostream;

0 commit comments

Comments
 (0)