CCopybara-ServicePrepare to migrate ABSL_PRINTF_ATTRIBUTE to [[gnu::format(...)]]
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
Prepare to migrate ABSL_PRINTF_ATTRIBUTE to [[gnu::format(...)]] PiperOrigin-RevId: 998036008 Change-Id: I316e9a6cfb6635b14e95df3ce375ec3f164027a7 | 3 天前 | |
Make cpu_detect visible from the upcoming Elias-Fano Gloop package PiperOrigin-RevId: 991772623 Change-Id: I9205b2f523ff7c4e69c33f62cb25738b0982fcdf | 14 天前 | |
Depend on string_view library when using string_view.h header PiperOrigin-RevId: 974391099 Change-Id: I1b1233d3f121e4e931325a26db3f63b454937abd | 1 个月前 | |
Migrate ABSL_SCANF_ATTRIBUTE to [[gnu::format(...)]] PiperOrigin-RevId: 995318125 Change-Id: Ib3df048553dc962387c15c5875ef6a05018b3609 | 8 天前 | |
Internal cleanup PiperOrigin-RevId: 980021672 Change-Id: I86f938f50e91e4500a2af695092430a63fbabf1f | 1 个月前 | |
Fix and reorder some #includes Some of these direct dependencies were previously indirect/transitive dependencies. They previously worked -- and continue to work -- as they only required header inclusions. They should be mentioned in CMakeLists.txt, which we can handle in a separate commit. PiperOrigin-RevId: 977974961 Change-Id: Iac66449258d7c8c74e6813c72943550e83bff099 | 1 个月前 | |
Add a compile test for headers that require C compatibility windows_clangcl_bazel.bat includes a change from --copt to --cxxopt to only pass /std:c++XX to C++ compiles PiperOrigin-RevId: 646157298 Change-Id: Ib6d9861a2b2d45eb0d664f23b6f3a7426f8e0ab3 | 2 年前 | |
Avoid unsigned-to-signed conversion warning in absl/base/call_once.h PiperOrigin-RevId: 972668819 Change-Id: I747f4c112bd96e09af25062c740dd4604a21e7d2 | 1 个月前 | |
Fix and reorder some #includes Some of these direct dependencies were previously indirect/transitive dependencies. They previously worked -- and continue to work -- as they only required header inclusions. They should be mentioned in CMakeLists.txt, which we can handle in a separate commit. PiperOrigin-RevId: 977974961 Change-Id: Iac66449258d7c8c74e6813c72943550e83bff099 | 1 个月前 | |
Add `absl::down_cast` PiperOrigin-RevId: 850445526 Change-Id: I15e34dc543dc5aa72ae58ff471410d219fef2444 | 9 个月前 | |
Use __has_include unconditionally as it is supported by C++17 PiperOrigin-RevId: 966182577 Change-Id: Id78e1aa9c92ba45d156a2e6a1f05d0f7c6a5affd | 1 个月前 | |
Perform ValidateDownCast only in Abseil Hardened Extensive mode Enabling downcast validation checks has incurred about 0.5% overhead on some Google workloads. Consequently it does not seem like a good inclusion in Abseil Hardened Fast mode, though it remains enabled in Abseil Hardened Extensive mode. PiperOrigin-RevId: 866108195 Change-Id: Ic796e8bce90bb0d80ad60269a0b3857f19f2c95c | 8 个月前 | |
Simplify ABSL_HAVE_MMAP by using __has_include instead of an ever-expanding list PiperOrigin-RevId: 981895378 Change-Id: I6d6291298b1a943c01643bd14f7d5dbc9a42d949 | 30 天前 | |
Changed HTTP URLs to HTTPS where possible (#270) | 7 年前 | |
Update/remove comments referring to pre-C++17 functionality PiperOrigin-RevId: 966222045 Change-Id: I63397f21bec51484831c997f257cf238e90787d4 | 1 个月前 | |
Remove SWIG workarounds PiperOrigin-RevId: 982637265 Change-Id: I76b7722330e4a5ad36cd02d83c5efcdab4f6ad2d | 29 天前 | |
PR #2150: Fix some missing includes for std::-symbols Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/2150 Found with `clang-tidy`'s `misc-include-cleaner` checker. Post-processed with clang-format, which then also picked up some other smaller things. Breakdown: ``` absl/base/internal/exception_safety_testing.h: #include <cstdlib> for std::abort absl/base/internal/exception_safety_testing.h: #include <new> for std::bad_alloc absl/base/internal/exception_safety_testing.h: #include <type_traits> for std::bool_constant absl/types/span_test.cc: #include <algorithm> for std::equal absl/base/internal/exception_safety_testing.h: #include <utility> for std::index_sequence absl/flags/internal/flag.h: #include <utility> for std::index_sequence absl/base/exception_safety_testing_test.cc: #include <sstream> for std::istringstream absl/types/compare_test.cc: #include <algorithm> for std::less absl/base/internal/exception_safety_testing.h: #include <memory> for std::make_shared absl/base/exception_safety_testing_test.cc: #include <memory> for std::make_unique absl/strings/string_view.h: #include <algorithm> for std::min absl/base/exception_safety_testing_test.cc: #include <utility> for std::move absl/functional/bind_front_test.cc: #include <utility> for std::move absl/base/internal/exception_safety_testing.h: #include <limits> for std::numeric_limits absl/container/linked_hash_map_test.cc: #include <stdexcept> for std::out_of_range absl/types/any_span_test.cc: #include <stdexcept> for std::out_of_range absl/status/statusor_test.cc: #include <stdexcept> for std::runtime_error absl/base/internal/exception_safety_testing.cc: #include <string> for std::string absl/base/internal/exception_safety_testing.h: #include <vector> for std::vector ``` Merge 2af990d23fd5e9cd050c697304df7fdb90791091 into 2ac7c30c3ae3b978dee4a83ce109b3cd66438ca8 Merging this change closes #2150 PiperOrigin-RevId: 975118716 Change-Id: I208dbbe46424f53d82bfaf27d3ecd21dce98323c | 1 个月前 | |
Mark absl::FastTypeId final to prevent subclassing PiperOrigin-RevId: 879085283 Change-Id: I8a094c45cebb83839f423ef80b0e25decc3b1ef5 | 7 个月前 | |
Internal cleanup PiperOrigin-RevId: 957558918 Change-Id: I151c46f70c81a514c5d299753ba24cefaf796b83 | 2 个月前 | |
Release the `DFATAL` pseudo-LogSeverity level `DFATAL` is defined as `FATAL` in debug mode, and as `ERROR` when `NDEBUG` is defined. Closes #1279 PiperOrigin-RevId: 553904244 Change-Id: Iaa207ee65b2a39b4b7f5da241208c3d39cd5da0e | 3 年前 | |
Move default case to statement outside switch block in log_severity.h. Some compilers warn if a switch block that already covers all enumeration values also has a default label. PiperOrigin-RevId: 597583941 Change-Id: Ib3eb08dca0a19105522c61e47944cfc75280c15e | 2 年前 | |
Add missing #includes PiperOrigin-RevId: 970641500 Change-Id: Iee7670ab7b06eee319aca2d434c701f9d6fc739a | 1 个月前 | |
Internal no-op change PiperOrigin-RevId: 970191517 Change-Id: I78464084afcb91acac2c6257033a8cecdf5f5f48 | 1 个月前 | |
Replace std::TRAIT<...>::value with std::TRAIT_v<...> equivalents PiperOrigin-RevId: 927479222 Change-Id: I70c38e557c8527f72bf86281d88621a5eca26df3 | 4 个月前 | |
Add absl::NoDestructor<T> absl::NoDestructor<T> wraps an existing type and is used for defining a static type that does not need to be destructed upon program exit. Instead, such an object survives during program exit, and can be safely accessed at any time after construction. PiperOrigin-RevId: 580566259 Change-Id: I2cbb4cd9f6b50b98a793acd2ef0a4befd541f17f | 2 年前 | |
Replace std::TRAIT<...>::value with std::TRAIT_v<...> equivalents PiperOrigin-RevId: 927479222 Change-Id: I70c38e557c8527f72bf86281d88621a5eca26df3 | 4 个月前 | |
Remove extraneous symbol from nullability documentation comment PiperOrigin-RevId: 906497517 Change-Id: Ifd16da0965af34376bb4d22e13a8beb0f2933fcd | 5 个月前 | |
Provide file-scoped pragma behind macro ABSL_POINTERS_DEFAULT_NONNULL to indicate the default nullability. This is a no-op for now (not understood by checkers), but does communicate intention to human readers. PiperOrigin-RevId: 668448175 Change-Id: I19802d19be9a310aa5f0dacf8b0567dd768fb830 | 2 年前 | |
Replace std::TRAIT<...>::value with std::TRAIT_v<...> equivalents PiperOrigin-RevId: 927479222 Change-Id: I70c38e557c8527f72bf86281d88621a5eca26df3 | 4 个月前 | |
Add NOLINT to ABSL_ASSUME() definition This is the same thing ABSL_ASSERT() does to prevent warnings such as misc-static-assert from firing. PiperOrigin-RevId: 943702210 Change-Id: I11f5886f42bc94e9a596d3400a66f597cec8e3ee | 3 个月前 | |
Cleanup the uses of the polyfills absl::any, absl::optional, absl::variant, and related types The corresponding headers are removed from cc files, but kept in headers to prevent breakages from transitive dependencies. PiperOrigin-RevId: 872421685 Change-Id: I867d4c3f7c9e422289c63816d44719b0530fb0a6 | 7 个月前 | |
PR #2117: Fix stale C++11 references in options.h and attributes.h Imported from GitHub PR https://github.com/abseil/abseil-cpp/pull/2117 Fixes stale/misleading C++11 references flagged in #1264. - absl/base/options.h: corrected ABSL_OPTION_USE_STD_ORDERING comment, which said "C++11" but should match the project's actual minimum, consistent with the ABSL_OPTION_USE_STD_SOURCE_LOCATION option just above it in the same file (which already says C++17). - absl/base/attributes.h: removed an outdated "C++11 mode" qualifier on XRay attribute requirements, since it's trivially satisfied given the project's current baseline. Fixes #1264 Merge e06df350a02ae673c6423ce3a23e03a82295a54b into de367ce0cdd56ef1004bd878c0c24d36067061f3 Merging this change closes #2117 COPYBARA_INTEGRATE_REVIEW=https://github.com/abseil/abseil-cpp/pull/2117 from DrishtiTripathi2230:fix-1264-cpp11-leftovers e06df350a02ae673c6423ce3a23e03a82295a54b PiperOrigin-RevId: 949773349 Change-Id: Ifb71ca2842fa14e0b9a241e67bb6dafed9abc143 | 2 个月前 | |
Update/remove comments referring to pre-C++17 functionality PiperOrigin-RevId: 966222045 Change-Id: I63397f21bec51484831c997f257cf238e90787d4 | 1 个月前 | |
Do not define HASH_NAMESPACE for WASI targets. PiperOrigin-RevId: 967347326 Change-Id: I6c4043189cfc5b5dcb6612c00716c442513ca321 | 1 个月前 | |
Fix typo in example code snippet. PiperOrigin-RevId: 610672905 Change-Id: I8e4ae98bb6e6421540a3073e3e6cb7de60fd32a9 | 2 年前 | |
Add missing #includes PiperOrigin-RevId: 970641500 Change-Id: Iee7670ab7b06eee319aca2d434c701f9d6fc739a | 1 个月前 | |
Add missing #includes PiperOrigin-RevId: 970641500 Change-Id: Iee7670ab7b06eee319aca2d434c701f9d6fc739a | 1 个月前 | |
Add missing #includes PiperOrigin-RevId: 970641500 Change-Id: Iee7670ab7b06eee319aca2d434c701f9d6fc739a | 1 个月前 | |
Migrate ABSL_SCOPED_LOCKABLE to [[clang::scoped_lockable]] PiperOrigin-RevId: 995543358 Change-Id: I567fdbd655228f602767dcd14e603ff5049f06fe | 8 天前 | |
Add missing #includes PiperOrigin-RevId: 970641500 Change-Id: Iee7670ab7b06eee319aca2d434c701f9d6fc739a | 1 个月前 | |
Open up the throw_delegate library to public usage This library contains helper functions that allow throwing exceptions consistently from anywhere, without risk of ODR violations. When execptions are disabled, these functions abort the program. The old internal spellings will be removed in a follow up change. PiperOrigin-RevId: 867594519 Change-Id: Ibd7a447f5577247bced718617f5da662d983d185 | 8 个月前 | |
Add missing #includes PiperOrigin-RevId: 970641500 Change-Id: Iee7670ab7b06eee319aca2d434c701f9d6fc739a | 1 个月前 |