summaryrefslogtreecommitdiff
path: root/libartbase/base/bit_struct.h
AgeCommit message (Collapse)Author
2022-04-14Modernize libartbase/ usage of <type_traits>... Vladimir Marko
... and other standard library templates. Use `std::*_t<...>` and `std::*_v<...>` instead of `std::*<...>::type` and `std::*<...>::value`. Remove some unnecessary "typename" qualifiers and second arguments to `static_assert()`. Test: Rely on TreeHugger. Change-Id: I4dc8e6fd905c60f652d3ac74bdf3d275b98daee8
2020-07-24Update language to comply with Android’s inclusive language guidance Ian Pedowitz
See https://source.android.com/setup/contribute/respectful-code for reference Bug: 161896447 Bug: 161850439 Bug: 161336379 Test: m -j checkbuild cts docs tests Change-Id: I32d869c274a5d9a3dac63221e25874fe685d38c4
2020-01-31Use consistent storage type in bit structs. Vladimir Marko
Propagate the storage type from the enclosing union to each individual field when it is defined by provided macros. Test: m test-art-host-gtest Bug: 148125232 Change-Id: I6976c4e7668d62f500ee1a413a30e02bc8b68cea
2020-01-31Fix undefined behavior in BitStruct. Vladimir Marko
Fixes broken bit_struct_test and subtype_check_test. Test: m test-art-host-gtest (tested on top of tree sync'd when they were broken). Bug: 148125232 Change-Id: Iceee3ffc762ab28ea403d835b062766e5cbb088f
2018-10-19ART: Fix tidy bugprone-macro-parentheses Andreas Gampe
Add parens where necessary, add NOLINT for the cases where it's wrong. Bug: 32619234 Test: WITH_TIDY=1 mmma art Change-Id: If56ce51c078e9adf26b9469a01c95a857aac66a4
2018-04-26Clean up include paths David Sehr
Remove runtime/globals.h and make clients point to the right globals.h (libartbase/base/globals.h). Also make within-libartbase includes relative rather than using base/, etc. Bug: 22322814 Test: make -j 40 checkbuild Change-Id: I99de63fc851d48946ab401e2369de944419041c7
2018-03-05Move most of runtime/base to libartbase/base David Sehr
Enforce the layering that code in runtime/base should not depend on runtime by separating it into libartbase. Some of the code in runtime/base depends on the Runtime class, so it cannot be moved yet. Also, some of the tests depend on CommonRuntimeTest, which itself needs to be factored (in a subsequent CL). Bug: 22322814 Test: make -j 50 checkbuild make -j 50 test-art-host Change-Id: I8b096c1e2542f829eb456b4b057c71421b77d7e2