f01048743a
Previously, in C++20 mode, using <=> on String8 or String16 would compare the pointer values from the implicit conversion operators returning const char* and const char16_t*. Instead, compare the string content. This is especially a problem with STL containers that prefer <=> when it is available. See https://godbolt.org/z/cc1hW17h3 for a demo of the problem. Bug: 339775405 Test: treehugger Change-Id: I5ee6af96dee0c9968a1bab1ad96729e45bb1ac50 |
||
---|---|---|
.. | ||
abi-dumps | ||
binder | ||
include/utils | ||
Android.bp | ||
BitSet_fuzz.cpp | ||
BitSet_test.cpp | ||
CallStack.cpp | ||
CallStack_fuzz.cpp | ||
CallStack_test.cpp | ||
CleanSpec.mk | ||
FileMap.cpp | ||
FileMap_fuzz.cpp | ||
FileMap_test.cpp | ||
JenkinsHash.cpp | ||
LightRefBase.cpp | ||
Looper.cpp | ||
Looper_fuzz.cpp | ||
Looper_test.cpp | ||
Looper_test_pipe.h | ||
LruCache_fuzz.cpp | ||
LruCache_test.cpp | ||
misc.cpp | ||
MODULE_LICENSE_APACHE2 | ||
Mutex_test.cpp | ||
NativeHandle.cpp | ||
NOTICE | ||
OWNERS | ||
Printer.cpp | ||
Printer_fuzz.cpp | ||
ProcessCallStack.cpp | ||
ProcessCallStack_fuzz.cpp | ||
Singleton_test.cpp | ||
Singleton_test.h | ||
Singleton_test1.cpp | ||
Singleton_test2.cpp | ||
StopWatch.cpp | ||
SystemClock.cpp | ||
SystemClock_test.cpp | ||
TEST_MAPPING | ||
Threads.cpp | ||
Timers.cpp | ||
Timers_test.cpp | ||
Tokenizer.cpp | ||
Trace.cpp |