ladybird/AK/Tests
Brian Gianforcaro 0ad29bc3c9 AK: Add SourceLocation support
C++20 added std::source_location, which lets you capture the
callers __FILE__ / __LINE__ / __FUNCTION__ etc as a default
argument to functions.
See: https://en.cppreference.com/w/cpp/utility/source_location

During a bug investigation @ADKaster suggested we could use this
to make the LOCK_DEBUG feature of the kernel more user friendly
and allow it to automatically instrument all call sites.

We then implemented / tested it over discord. :^)

Co-Authored-by: Andrew Kaster <andrewdkaster@gmail.com>
2021-04-24 20:33:00 +02:00
..
4chan_catalog.json
CMakeLists.txt AK: Add SourceLocation support 2021-04-24 20:33:00 +02:00
test.frm
TestAllOf.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestAnyOf.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestArray.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestAtomic.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestBadge.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestBase64.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestBinaryHeap.cpp AK+Userland: Use idan.horowitz@serenityos.org for my copyright headers 2021-04-22 22:42:38 +02:00
TestBinarySearch.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestBitCast.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestBitmap.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestByteBuffer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestChecked.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestCircularDeque.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestCircularDuplexStream.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestCircularQueue.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestComplex.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestDistinctNumeric.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestDoublyLinkedList.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestEndian.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestEnumBits.cpp Everywhere: Use bgianf@serenityos.org for my copyright attribution 2021-04-22 21:15:54 +02:00
TestFind.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestFormat.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestGenericLexer.cpp AK/GenericLexer: constexpr where possible 2021-04-22 20:27:21 +02:00
TestHashFunctions.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestHashMap.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestHashTable.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestHex.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestIndexSequence.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestIntrusiveList.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
TestIntrusiveRedBlackTree.cpp AK+Userland: Use idan.horowitz@serenityos.org for my copyright headers 2021-04-22 22:42:38 +02:00
TestIPv4Address.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestJSON.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestLexicalPath.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestMACAddress.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestMemMem.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestMemoryStream.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestNeverDestroyed.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestNonnullRefPtr.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
TestNumberFormat.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestOptional.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestQueue.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestQuickSort.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestRedBlackTree.cpp AK+Userland: Use idan.horowitz@serenityos.org for my copyright headers 2021-04-22 22:42:38 +02:00
TestRefPtr.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
TestSinglyLinkedList.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestSourceGenerator.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestSourceLocation.cpp AK: Add SourceLocation support 2021-04-24 20:33:00 +02:00
TestSpan.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestString.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestStringUtils.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestStringView.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestTime.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestTrie.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestTypedTransfer.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestTypeTraits.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestURL.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestUtf8.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestVector.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
TestWeakPtr.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00