Home
last modified time | relevance | path

Searched refs:ScopedPrinterKind (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DScopedPrinter.h102 enum class ScopedPrinterKind { enum
108 ScopedPrinterKind Kind = ScopedPrinterKind::Base)
111 ScopedPrinterKind getKind() const { return Kind; } in getKind()
114 return SP->getKind() == ScopedPrinterKind::Base; in classof()
502 ScopedPrinterKind Kind;
544 return SP->getKind() == ScopedPrinter::ScopedPrinterKind::JSON; in classof()
/llvm-project-15.0.7/llvm/lib/Support/
H A DScopedPrinter.cpp41 : ScopedPrinter(OS, ScopedPrinter::ScopedPrinterKind::JSON), in JSONScopedPrinter()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DScopedPrinterTest.cpp108 EXPECT_EQ(ScopedPrinter::ScopedPrinterKind::Base, Writer.getKind()); in TEST_F()
109 EXPECT_EQ(ScopedPrinter::ScopedPrinterKind::JSON, JSONWriter.getKind()); in TEST_F()