//===- unittests/Rewrite/RewriteBufferTest.cpp - RewriteBuffer 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/RewriteBuffer.h" #include "gtest/gtest.h" usingnamespacellvm; namespace { #define EXPECT_OUTPUT(Buf, Output) … static std::string writeOutput(const RewriteBuffer &Buf) { … } static void tagRange(unsigned Offset, unsigned Len, StringRef tagName, RewriteBuffer &Buf) { … } TEST(RewriteBuffer, TagRanges) { … } TEST(RewriteBuffer, DISABLED_RemoveLineIfEmpty_XFAIL) { … } } // anonymous namespace