summaryrefslogtreecommitdiffstats
path: root/lldb/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/unittests')
-rw-r--r--lldb/unittests/Language/Highlighting/HighlighterTest.cpp2
-rw-r--r--lldb/unittests/Utility/StreamTest.cpp10
-rw-r--r--lldb/unittests/debugserver/debugserver_LogCallback.cpp2
3 files changed, 0 insertions, 14 deletions
diff --git a/lldb/unittests/Language/Highlighting/HighlighterTest.cpp b/lldb/unittests/Language/Highlighting/HighlighterTest.cpp
index 842671284f1..71457ed6189 100644
--- a/lldb/unittests/Language/Highlighting/HighlighterTest.cpp
+++ b/lldb/unittests/Language/Highlighting/HighlighterTest.cpp
@@ -124,9 +124,7 @@ TEST_F(HighlighterTest, DefaultHighlighterWithCursorOutOfBounds) {
style.selected.Set("<c>", "</c>");
EXPECT_EQ("a bc", highlightDefault("a bc", style, 4));
}
-//------------------------------------------------------------------------------
// Tests highlighting with the Clang highlighter.
-//------------------------------------------------------------------------------
static std::string
highlightC(llvm::StringRef code, HighlightStyle style,
diff --git a/lldb/unittests/Utility/StreamTest.cpp b/lldb/unittests/Utility/StreamTest.cpp
index 0514625b99f..2e2bcb344fc 100644
--- a/lldb/unittests/Utility/StreamTest.cpp
+++ b/lldb/unittests/Utility/StreamTest.cpp
@@ -279,9 +279,7 @@ TEST_F(StreamTest, PutMaxHex64ByteOrderLittle) {
EXPECT_EQ("12341278563412efcdab9078563412", TakeValue());
}
-//------------------------------------------------------------------------------
// Shift operator tests.
-//------------------------------------------------------------------------------
TEST_F(StreamTest, ShiftOperatorChars) {
s << 'a' << 'b';
@@ -345,9 +343,7 @@ TEST_F(StreamTest, PutPtr) {
// that it should use the host byte order.
const static auto hostByteOrder = lldb::eByteOrderInvalid;
-//------------------------------------------------------------------------------
// PutRawBytes/PutBytesAsRawHex tests.
-//------------------------------------------------------------------------------
TEST_F(StreamTest, PutBytesAsRawHex8ToBigEndian) {
uint32_t value = 0x12345678;
@@ -405,9 +401,7 @@ TEST_F(StreamTest, PutRawBytesToMixedEndian) {
#endif
}
-//------------------------------------------------------------------------------
// ULEB128 support for binary streams.
-//------------------------------------------------------------------------------
TEST_F(BinaryStreamTest, PutULEB128OneByte) {
auto bytes = s.PutULEB128(0x74ULL);
@@ -493,9 +487,7 @@ TEST_F(BinaryStreamTest, PutULEB128One) {
EXPECT_EQ(1U, bytes);
}
-//------------------------------------------------------------------------------
// SLEB128 support for binary streams.
-//------------------------------------------------------------------------------
TEST_F(BinaryStreamTest, PutSLEB128OneByte) {
auto bytes = s.PutSLEB128(0x74LL);
@@ -581,9 +573,7 @@ TEST_F(BinaryStreamTest, PutSLEB128One) {
EXPECT_EQ(1U, bytes);
}
-//------------------------------------------------------------------------------
// SLEB128/ULEB128 support for non-binary streams.
-//------------------------------------------------------------------------------
// The logic for this is very simple, so it should be enough to test some basic
// use cases.
diff --git a/lldb/unittests/debugserver/debugserver_LogCallback.cpp b/lldb/unittests/debugserver/debugserver_LogCallback.cpp
index 2f95365b859..45a502f80df 100644
--- a/lldb/unittests/debugserver/debugserver_LogCallback.cpp
+++ b/lldb/unittests/debugserver/debugserver_LogCallback.cpp
@@ -6,11 +6,9 @@
//
//===----------------------------------------------------------------------===//
-//------------------------------------------------------------------------------
// this function is defined in debugserver.cpp, but is needed to link the
// debugserver Common library. It is for logging only, so it is left
// unimplemented here.
-//------------------------------------------------------------------------------
#include <stdint.h>
#include <stdarg.h>
OpenPOWER on IntegriCloud