Export of internal Abseil changes
-- 62de74cdadc450a28eaa61a2db0912c97c8004dd by Abseil Team <absl-team@google.com>: Move "internal/flag.*" files to the "internal" build target. PiperOrigin-RevId: 268301646 -- 72cd87aebd52fa7e7ee7cff0284f3761dd490945 by CJ Johnson <johnsoncj@google.com>: Silences incorrect test failure for InlinedVector in MSVC debug mode. PiperOrigin-RevId: 268234003 GitOrigin-RevId: 62de74cdadc450a28eaa61a2db0912c97c8004dd Change-Id: I6b58e41561de6ac2e34cf5c1eedbf535dc468955
This commit is contained in:
parent
97c1664b4b
commit
5374c56e51
3 changed files with 99 additions and 26 deletions
|
|
@ -1689,7 +1689,11 @@ TEST(AllocatorSupportTest, ScopedAllocatorWorksInlined) {
|
|||
inlined_case.emplace_back();
|
||||
|
||||
int64_t absl_responsible_for_count = total_allocated_byte_count;
|
||||
|
||||
// MSVC's allocator preemptively allocates in debug mode
|
||||
#if !defined(_MSC_VER)
|
||||
EXPECT_EQ(absl_responsible_for_count, 0);
|
||||
#endif // !defined(_MSC_VER)
|
||||
|
||||
inlined_case[0].emplace_back();
|
||||
EXPECT_GT(total_allocated_byte_count, absl_responsible_for_count);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue