llvm-project/lldb/unittests
Pavel Labath 957d9a0335 [lldb] remove unsigned Stream::operator<< overloads
Summary:
I recently re-discovered that the unsinged stream operators of the
lldb_private::Stream class have a surprising behavior in that they print
the number in hex. This is all the more confusing because the "signed"
versions of those operators behave normally.

Now that, thanks to Raphael, each Stream class has a llvm::raw_ostream
wrapper, I think we should delete most of our formatting capabilities
and just delegate to that. This patch tests the water by just deleting
the operators with the most surprising behavior.

Most of the code using these operators was printing user_id_t values. It
wasn't fully consistent about prefixing them with "0x", but I've tried
to consistenly print it without that prefix, to make it more obviously
different from pointer values.

Reviewers: teemperor, JDevlieghere, jdoerfert

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D70241
2019-11-26 14:24:28 +01:00
..
Breakpoint Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Core [LLDB] Fix handling for the clang name mangling extension for block invocations 2019-11-06 14:20:00 -08:00
Disassembler When disassembling Aarch64 target and vendor Apple, set the cpu to 2019-03-07 03:16:45 +00:00
Editline [lldb][NFC] Allow for-ranges on StringList 2019-08-16 14:27:35 +00:00
Expression whitespace cleanup 2019-10-21 22:48:27 +00:00
Host [lldb] [unittest] Reenable MainLoopTest.DetectsEOF on NetBSD 2019-11-18 22:36:01 +01:00
Interpreter [lldb][NFC] Remove WordComplete mode, make result array indexed from 0 and remove any undocumented/redundant return values 2019-08-22 07:41:23 +00:00
Language [lldb] Fix that trailing backslashes in source lines break the Clang highlighter 2019-11-14 11:11:20 +01:00
ObjectFile [Windows] Use information from the PE32 exceptions directory to construct unwind plans 2019-10-11 09:03:29 +00:00
Platform Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Process [LLDB] Implement pure virtual method in MockConnection 2019-11-13 15:37:57 -08:00
ScriptInterpreter [LLDB][Python] remove ArgInfo::count 2019-11-04 12:48:49 -08:00
Signals Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Symbol [lldb][NFC] Simplify ClangASTContext::GetBasicTypes 2019-11-20 12:47:14 +01:00
SymbolFile Adapt Windows test to API change. 2019-10-17 20:51:55 +00:00
Target Modernize the rest of the Find.* API (NFC) 2019-10-17 19:56:40 +00:00
TestingSupport [lldb] - Update unit tests after lib/ObjectYAML change. 2019-09-13 16:00:28 +00:00
UnwindAssembly Fix the unwinding plan augmentation from x86 assembly 2019-10-10 13:23:09 +00:00
Utility [lldb] remove unsigned Stream::operator<< overloads 2019-11-26 14:24:28 +01:00
debugserver [lldb] Fix JSON parser to allow empty arrays 2019-11-18 15:12:55 +01:00
tools [lldb] [unittest] Skip TestStopReplyContainsThreadPcs on NetBSD 2019-11-18 22:36:02 +01:00
CMakeLists.txt [CMake] Track test dependencies with add_lldb_test_dependency 2019-10-08 00:21:34 +00:00
gtest_common.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00