diff options
author | Abseil Team <absl-team@google.com> | 2019-05-17 10:51:37 -0700 |
---|---|---|
committer | Andy Soffer <asoffer@google.com> | 2019-05-17 14:57:29 -0400 |
commit | 8a394b19c149cab50534b04c5e21d42bc2217a7d (patch) | |
tree | 3ea451639d15b28cb2d5749be5267818669247ec /absl/base | |
parent | daf381e8535a1f1f1b8a75966a74e7cca63dee89 (diff) |
Export of internal Abseil changes.
--
cae9f0c87632d690ec3f471e181be247fe4fb025 by Abseil Team <absl-team@google.com>:
Run IWYU on some headers.
PiperOrigin-RevId: 248749194
--
f57dcac97cacbe31769a8646020a99b6686987dc by Samuel Benzaquen <sbenza@google.com>:
Accept vector<bool>::reference in StrFormat and friends.
The proxy types might overload `operator&`. Use std::addressof instead.
PiperOrigin-RevId: 248619661
GitOrigin-RevId: cae9f0c87632d690ec3f471e181be247fe4fb025
Change-Id: Iacf5d46a59d1d5f1fa1fd4a1e0d0de8c6cbedb3e
Diffstat (limited to 'absl/base')
-rw-r--r-- | absl/base/call_once.h | 2 | ||||
-rw-r--r-- | absl/base/casts.h | 1 | ||||
-rw-r--r-- | absl/base/internal/low_level_alloc.h | 1 | ||||
-rw-r--r-- | absl/base/internal/spinlock.h | 1 | ||||
-rw-r--r-- | absl/base/macros.h | 1 |
5 files changed, 6 insertions, 0 deletions
diff --git a/absl/base/call_once.h b/absl/base/call_once.h index 8c4f297..e7fc230 100644 --- a/absl/base/call_once.h +++ b/absl/base/call_once.h @@ -29,6 +29,7 @@ #include <atomic> #include <cstdint> #include <type_traits> +#include <utility> #include "absl/base/internal/invoke.h" #include "absl/base/internal/low_level_scheduling.h" @@ -36,6 +37,7 @@ #include "absl/base/internal/scheduling_mode.h" #include "absl/base/internal/spinlock_wait.h" #include "absl/base/macros.h" +#include "absl/base/optimization.h" #include "absl/base/port.h" namespace absl { diff --git a/absl/base/casts.h b/absl/base/casts.h index a381c42..aba0178 100644 --- a/absl/base/casts.h +++ b/absl/base/casts.h @@ -27,6 +27,7 @@ #include <cstring> #include <memory> #include <type_traits> +#include <utility> #include "absl/base/internal/identity.h" #include "absl/base/macros.h" diff --git a/absl/base/internal/low_level_alloc.h b/absl/base/internal/low_level_alloc.h index b35673d..c98cdb3 100644 --- a/absl/base/internal/low_level_alloc.h +++ b/absl/base/internal/low_level_alloc.h @@ -25,6 +25,7 @@ // IWYU pragma: private, include "base/low_level_alloc.h" #include <sys/types.h> + #include <cstdint> #include "absl/base/attributes.h" diff --git a/absl/base/internal/spinlock.h b/absl/base/internal/spinlock.h index 940f56a..a55aa20 100644 --- a/absl/base/internal/spinlock.h +++ b/absl/base/internal/spinlock.h @@ -32,6 +32,7 @@ #include <stdint.h> #include <sys/types.h> + #include <atomic> #include "absl/base/attributes.h" diff --git a/absl/base/macros.h b/absl/base/macros.h index ca62079..606a90a 100644 --- a/absl/base/macros.h +++ b/absl/base/macros.h @@ -31,6 +31,7 @@ #include <cassert> #include <cstddef> +#include "absl/base/optimization.h" #include "absl/base/port.h" // ABSL_ARRAYSIZE() |