[all-commits] [llvm/llvm-project] 990ea3: [libc++] Add a few _LIBCPP_ASSERTs in __tree
Louis Dionne via All-commits
all-commits at lists.llvm.org
Thu May 5 08:30:14 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 990ea3925b7ad07fa4f7bd24398c4338769fdf05
https://github.com/llvm/llvm-project/commit/990ea3925b7ad07fa4f7bd24398c4338769fdf05
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2022-05-05 (Thu, 05 May 2022)
Changed paths:
M libcxx/include/__tree
Log Message:
-----------
[libc++] Add a few _LIBCPP_ASSERTs in __tree
Several helper functions specify preconditions as comments, but we never
check them. I ran across a bug report (without a reproducer) in this code,
and I thought that having these assertions in place would make it easier
to troubleshoot.
Differential Revision: https://reviews.llvm.org/D124477
More information about the All-commits
mailing list