mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[unittests] Include header for llvm::outs()
`unittests/Basic/BlotMapVectorTest.cpp` references `llvm::outs()`, which is defined in `llvm/Support/raw_ostream.h`. I believe this currently works without the import because it is transitively included via some CMake incantations and conditionals in the googletest headers invovling `GTEST_NO_LLVM_RAW_OSTREAM`. I'm not sure. In any case, including the header is more explicit. The file uses `llvm::outs()`, so it should include the header that defines it.
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include "llvm/ADT/Optional.h"
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
#include "llvm/ADT/StringExtras.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
||||
Reference in New Issue
Block a user