//===- LineIterator.cpp - Unit 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/Support/LineIterator.h" #include "llvm/Support/MemoryBuffer.h" #include "gtest/gtest.h" usingnamespacellvm; usingnamespacellvm::sys; namespace { TEST(LineIteratorTest, Basic) { … } TEST(LineIteratorTest, Ref) { … } TEST(LineIteratorTest, CommentAndBlankSkipping) { … } TEST(LineIteratorTest, CommentSkippingKeepBlanks) { … } TEST(LineIteratorTest, BlankSkipping) { … } TEST(LineIteratorTest, BlankKeeping) { … } TEST(LineIteratorTest, EmptyBuffers) { … } } // anonymous namespace