//===- raw_pwrite_stream_test.cpp - raw_pwrite_stream tests ---------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "llvm/ADT/SmallString.h" #include "llvm/Config/llvm-config.h" #include "llvm/Support/FileSystem.h" #include "llvm/Support/FileUtilities.h" #include "llvm/Support/raw_ostream.h" #include "gtest/gtest.h" usingnamespacellvm; #define ASSERT_NO_ERROR(x) … namespace { TEST(raw_pwrite_ostreamTest, TestSVector) { … } #ifdef _WIN32 #define setenv … #endif TEST(raw_pwrite_ostreamTest, TestFD) { … } #ifdef LLVM_ON_UNIX TEST(raw_pwrite_ostreamTest, TestDevNull) { … } #endif }