//===- buffer_ostream_test.cpp - buffer_ostream 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/Support/raw_ostream.h" #include "gtest/gtest.h" usingnamespacellvm; namespace { /// Naive version of raw_svector_ostream that is buffered (by default) and /// doesn't support pwrite. class NaiveSmallVectorStream : public raw_ostream { … }; TEST(buffer_ostreamTest, Reference) { … } TEST(buffer_ostreamTest, Owned) { … } } // end namespace