[libcxx-commits] [libcxx] [NFC] Renames a template parameter to avoid clashes with userspace names. (PR #76829)
via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jan 3 07:56:33 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-libcxx
Author: None (bgra8)
<details>
<summary>Changes</summary>
---
Full diff: https://github.com/llvm/llvm-project/pull/76829.diff
1 Files Affected:
- (modified) libcxx/include/__format/format_arg_store.h (+4-4)
``````````diff
diff --git a/libcxx/include/__format/format_arg_store.h b/libcxx/include/__format/format_arg_store.h
index c481992d2d719a..8180e2de8c0f4c 100644
--- a/libcxx/include/__format/format_arg_store.h
+++ b/libcxx/include/__format/format_arg_store.h
@@ -228,15 +228,15 @@ _LIBCPP_HIDE_FROM_ABI void __store_basic_format_arg(basic_format_arg<_Context>*
([&] { *__data++ = __format::__create_format_arg<_Context>(__args); }(), ...);
}
-template <class _Context, size_t N>
+template <class _Context, size_t _Nargs>
struct __packed_format_arg_store {
- __basic_format_arg_value<_Context> __values_[N];
+ __basic_format_arg_value<_Context> __values_[_Nargs];
uint64_t __types_ = 0;
};
-template <class _Context, size_t N>
+template <class _Context, size_t _Nargs>
struct __unpacked_format_arg_store {
- basic_format_arg<_Context> __args_[N];
+ basic_format_arg<_Context> __args_[_Nargs];
};
} // namespace __format
``````````
</details>
https://github.com/llvm/llvm-project/pull/76829
More information about the libcxx-commits
mailing list