Skip to content

Commit 5b57da3

Browse files
committed
[libc++] Fix nolint comment that became useless after running clang-format
1 parent a528cee commit 5b57da3

File tree

1 file changed

+2
-1
lines changed
  • libcxx/include

1 file changed

+2
-1
lines changed

libcxx/include/map

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1521,12 +1521,13 @@ _Tp& map<_Key, _Tp, _Compare, _Allocator>::operator[](const key_type& __k) {
15211521
template <class _Key, class _Tp, class _Compare, class _Allocator>
15221522
_Tp& map<_Key, _Tp, _Compare, _Allocator>::operator[](key_type&& __k) {
15231523
// TODO investigate this clang-tidy warning.
1524-
// NOLINTNEXTLINE(bugprone-use-after-move)
1524+
// NOLINTBEGIN(bugprone-use-after-move)
15251525
return __tree_
15261526
.__emplace_unique_key_args(
15271527
__k, std::piecewise_construct, std::forward_as_tuple(std::move(__k)), std::forward_as_tuple())
15281528
.first->__get_value()
15291529
.second;
1530+
// NOLINTEND(bugprone-use-after-move)
15301531
}
15311532

15321533
#else // _LIBCPP_CXX03_LANG

0 commit comments

Comments
 (0)