[libcxx-commits] [libcxx] e90e7e7 - [libc++] Rename variables to use the snake case instead of camel case

Mark de Wever via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jul 11 12:57:01 PDT 2022


Author: Hui Xie
Date: 2022-07-11T21:56:57+02:00
New Revision: e90e7e70ef1391071fa646ddd6ca82646e786534

URL: https://github.com/llvm/llvm-project/commit/e90e7e70ef1391071fa646ddd6ca82646e786534
DIFF: https://github.com/llvm/llvm-project/commit/e90e7e70ef1391071fa646ddd6ca82646e786534.diff

LOG: [libc++] Rename variables to use the snake case instead of camel case

For some reason the pre-commit CI of https://reviews.llvm.org/D129233 was all green so I didn't spot this
https://reviews.llvm.org/B174525

Reviewed By: #libc, philnik, Mordante

Differential Revision: https://reviews.llvm.org/D129503

Added: 
    

Modified: 
    libcxx/include/__algorithm/set_intersection.h

Removed: 
    


################################################################################
diff  --git a/libcxx/include/__algorithm/set_intersection.h b/libcxx/include/__algorithm/set_intersection.h
index 5017d3d9ff64..837f9af01d53 100644
--- a/libcxx/include/__algorithm/set_intersection.h
+++ b/libcxx/include/__algorithm/set_intersection.h
@@ -30,8 +30,8 @@ struct __set_intersection_result {
 
   // need a constructor as C++03 aggregate init is hard
   _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_AFTER_CXX17
-  __set_intersection_result(_InIter1&& __inIter1, _InIter2&& __inIter2, _OutIter&& __outIter)
-      : in1(std::move(__inIter1)), in2(std::move(__inIter2)), out(std::move(__outIter)) {}
+  __set_intersection_result(_InIter1&& __in_iter1, _InIter2&& __in_iter2, _OutIter&& __out_iter)
+      : in1(std::move(__in_iter1)), in2(std::move(__in_iter2)), out(std::move(__out_iter)) {}
 };
 
 template < class _IterOper, class _Compare, class _InIter1, class _Sent1, class _InIter2, class _Sent2, class _OutIter>


        


More information about the libcxx-commits mailing list