We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8cc2b9 commit 9ae83deCopy full SHA for 9ae83de
clang/test/Analysis/PR121201.cpp
@@ -10,7 +10,7 @@ template <typename> struct formatter;
10
template <typename Context> struct value {
11
template <typename T> value(T) {
12
using value_type = T;
13
- format_custom_arg<value_type,
+ (void)format_custom_arg<value_type,
14
typename Context::template formatter_type<value_type>>;
15
}
16
@@ -52,8 +52,8 @@ template <long N> struct formatter<bitset<N>> {
52
bitset<N> bs;
53
54
template <typename OutputIt> void operator()(OutputIt) {
55
- for (auto pos = N; pos > 0; --pos)
56
- ; // no-crash
+ for (auto pos = N; pos > 0; --pos) // no-crash
+ ;
57
58
};
59
0 commit comments