Skip to content

Commit 1a84ba0

Browse files
Update llvm-project (#4910)
1 parent 62205ab commit 1a84ba0

File tree

3 files changed

+21
-26
lines changed

3 files changed

+21
-26
lines changed

llvm-project

Submodule llvm-project updated 9979 files

stl/inc/ostream

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ public:
100100
}
101101

102102
const auto _Tied = _Ostr.tie();
103-
if (!_Tied || _Tied == &_Ostr) {
103+
if (!_Tied || _Tied == _STD addressof(_Ostr)) {
104104
_Ok = true;
105105
return;
106106
}

tests/libcxx/expected_results.txt

Lines changed: 19 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,16 @@ std/utilities/format/format.range/format.range.formatter/format.functions.vforma
3434
std/utilities/format/format.range/format.range.fmtset/format.functions.format.pass.cpp FAIL
3535
std/utilities/format/format.range/format.range.fmtset/format.functions.vformat.pass.cpp FAIL
3636

37-
# LLVM-100498: [libc++][test] alg.find.last tests assume that std::array iterators are pointers
38-
std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last.pass.cpp FAIL
39-
std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last_if.pass.cpp FAIL
40-
std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last_if_not.pass.cpp FAIL
41-
42-
# LLVM-100502: [libc++][test] Bogus loops in time.cal.ymdlast.nonmembers/comparisons.pass.cpp
43-
# Note: The :1 (ASAN) configuration doesn't run static analysis.
44-
std/time/time.cal/time.cal.ymdlast/time.cal.ymdlast.nonmembers/comparisons.pass.cpp:0 FAIL
45-
46-
# LLVM-100504: [libc++][test] Fix Clang -Wunused-variable warnings in time.zone.members/to_sys.pass.cpp
47-
std/time/time.zone/time.zone.timezone/time.zone.members/to_sys.pass.cpp:2 FAIL
48-
4937
# LLVM-100506: [libc++][test] Precondition violation in rand.dist.uni.real/param_ctor.pass.cpp
5038
std/numerics/rand/rand.dist/rand.dist.uni/rand.dist.uni.real/param_ctor.pass.cpp FAIL
5139

40+
# LLVM-105878: [libc++][test] fp_compare.h includes non-portable <__config>
41+
std/numerics/c.math/cmath.pass.cpp FAIL
42+
std/numerics/numeric.ops/numeric.ops.midpoint/midpoint.float.pass.cpp FAIL
43+
44+
# LLVM-105966: [libc++][test] Fix is_always_lock_free test
45+
std/atomics/atomics.lockfree/is_always_lock_free.cpp FAIL
46+
5247
# Non-Standard regex behavior.
5348
# "It seems likely that the test is still non-conforming due to how libc++ handles the 'w' character class."
5449
std/re/re.traits/lookup_classname.pass.cpp FAIL
@@ -85,9 +80,6 @@ std/numerics/rand/rand.util/rand.util.canonical/generate_canonical.pass.cpp FAIL
8580
# Test expects __cpp_lib_chrono to have the old value 201611L for P0505R0; we define the C++20 value 201907L for P1466R3.
8681
std/language.support/support.limits/support.limits.general/chrono.version.compile.pass.cpp FAIL
8782

88-
# Test expects __cpp_lib_three_way_comparison to have the old value 201711L for P0768R1; we define the C++20 value 201907L for P1614R2.
89-
std/language.support/support.limits/support.limits.general/compare.version.compile.pass.cpp FAIL
90-
9183
# Tests expect __cpp_lib_ranges to have the old value 201811L for P0896R4; we define the C++20 value 201911L for P1716R3.
9284
std/language.support/support.limits/support.limits.general/algorithm.version.compile.pass.cpp FAIL
9385
std/language.support/support.limits/support.limits.general/functional.version.compile.pass.cpp FAIL
@@ -244,6 +236,9 @@ std/language.support/support.limits/support.limits.general/cstdlib.version.compi
244236
# P2255R2 "Type Traits To Detect References Binding To Temporaries"
245237
std/language.support/support.limits/support.limits.general/type_traits.version.compile.pass.cpp FAIL
246238

239+
# P3107R5 "Permit An Efficient Implementation Of <print>"
240+
std/utilities/format/format.formatter/format.formatter.locking/enable_nonlocking_formatter_optimization.compile.pass.cpp FAIL
241+
247242

248243
# *** MISSING COMPILER FEATURES ***
249244
# P1169R4 static operator()
@@ -845,6 +840,8 @@ std/algorithms/robust_against_proxy_iterators_lifetime_bugs.pass.cpp FAIL
845840

846841
# Not analyzed. Possible MSVC constexpr bug.
847842
# note: failure was caused by a read of a variable outside its lifetime
843+
std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last.pass.cpp:0 FAIL
844+
std/algorithms/alg.nonmodifying/alg.find.last/ranges.find_last.pass.cpp:1 FAIL
848845
std/containers/sequences/vector.bool/construct_iter_iter.pass.cpp:0 FAIL
849846
std/containers/sequences/vector.bool/construct_iter_iter.pass.cpp:1 FAIL
850847
std/containers/sequences/vector.bool/construct_iter_iter_alloc.pass.cpp:0 FAIL
@@ -938,6 +935,7 @@ std/thread/thread.mutex/thread.mutex.requirements/thread.sharedtimedmutex.requir
938935
std/utilities/utility/mem.res/mem.poly.allocator.class/mem.poly.allocator.mem/construct_piecewise_pair_evil.pass.cpp FAIL
939936

940937
# Not analyzed, failing due to constexpr step limits.
938+
std/algorithms/alg.nonmodifying/alg.contains/ranges.contains_subrange.pass.cpp:2 FAIL
941939
std/algorithms/alg.nonmodifying/alg.count/count.pass.cpp FAIL
942940
std/algorithms/alg.nonmodifying/alg.count/ranges.count.pass.cpp FAIL
943941
std/containers/sequences/vector.bool/append_range.pass.cpp FAIL
@@ -1045,11 +1043,6 @@ std/algorithms/alg.modifying.operations/alg.move/ranges.move_backward.segmented.
10451043
std/algorithms/alg.modifying.operations/alg.move/ranges.move.segmented.pass.cpp:0 FAIL
10461044
std/algorithms/alg.modifying.operations/alg.move/ranges.move.segmented.pass.cpp:1 FAIL
10471045

1048-
# Not analyzed. constexpr evaluation fails with note: subobject '_Val' is not initialized
1049-
std/ranges/range.adaptors/range.join/end.pass.cpp:2 FAIL
1050-
std/ranges/range.adaptors/range.join/range.join.sentinel/ctor.parent.pass.cpp:2 FAIL
1051-
std/ranges/range.adaptors/range.join/range.join.sentinel/eq.pass.cpp:2 FAIL
1052-
10531046
# Not analyzed. constexpr evaluation fails with note: failure was caused by out of range index MEOW; allowed range is 0 <= index < 2
10541047
std/ranges/range.adaptors/range.join/adaptor.pass.cpp:0 FAIL
10551048
std/ranges/range.adaptors/range.join/adaptor.pass.cpp:1 FAIL
@@ -1241,10 +1234,6 @@ std/atomics/atomics.ref/operator_plus_equals.pass.cpp SKIPPED
12411234
std/atomics/atomics.ref/store.pass.cpp SKIPPED
12421235
std/atomics/atomics.ref/wait.pass.cpp SKIPPED
12431236

1244-
# Not analyzed. Attempting to dereference `void *`.
1245-
std/utilities/memory/unique.ptr/noexcept_operator_star.compile.pass.cpp FAIL
1246-
std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/dereference.single.pass.cpp FAIL
1247-
12481237
# Not analyzed. Attempting to delete `nullptr_t`.
12491238
std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/pointer_deleter.pass.cpp FAIL
12501239

@@ -1268,6 +1257,12 @@ std/containers/sequences/vector/vector.capacity/shrink_to_fit.pass.cpp FAIL
12681257
# Clang assertion: std::hermite(n, +inf) == inf
12691258
std/numerics/c.math/hermite.pass.cpp FAIL
12701259

1260+
# Not analyzed. Test coverage for LLVM-104496 uses span<Incomplete>.
1261+
std/containers/views/views.span/span.cons/copy.pass.cpp FAIL
1262+
1263+
# Not analyzed. LLVM-103409 added a test to verify that std::optional's internal constructors aren't visible to users.
1264+
std/utilities/optional/optional.object/optional.object.ctor/gh_101960_internal_ctor.compile.pass.cpp FAIL
1265+
12711266

12721267
# *** XFAILs WHICH PASS ***
12731268
# These tests contain `// XFAIL: msvc` comments, which accurately describe runtime failures for x86 and x64.

0 commit comments

Comments
 (0)