File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ premium-misra-cpp-2023-7.11.3
127
127
# too picky about operator precedence.
128
128
premium-misra-cpp-2023-8.0.1
129
129
130
- # TODO use std::uintptr_t
130
+ # TODO review lambda captures
131
131
premium-misra-cpp-2023-8.1.1
132
132
133
133
# TODO should we use this rule?
@@ -139,9 +139,6 @@ premium-misra-cpp-2023-8.2.6
139
139
# intentional pointer to int conversion in lib/utils.h to output dump files
140
140
premium-misra-cpp-2023-8.2.7:lib/utils.h
141
141
142
- # TODO: use std::uintptr_t
143
- premium-misra-cpp-2023-8.2.8
144
-
145
142
# TODO check ellipsis usage
146
143
premium-misra-cpp-2023-8.2.11
147
144
Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ static inline std::string id_string_i(std::uintptr_t l)
322
322
while (l != 0 )
323
323
{
324
324
char c;
325
- const uintptr_t temp = l % 16 ; // get the remainder
325
+ const std:: uintptr_t temp = l % 16 ; // get the remainder
326
326
if (temp < 10 ) {
327
327
// 0-9
328
328
c = ' 0' + temp;
@@ -340,7 +340,7 @@ static inline std::string id_string_i(std::uintptr_t l)
340
340
341
341
static inline std::string id_string (const void * p)
342
342
{
343
- return id_string_i (reinterpret_cast <uintptr_t >(p));
343
+ return id_string_i (reinterpret_cast <std:: uintptr_t >(p));
344
344
}
345
345
346
346
static inline const char * bool_to_string (bool b)
You can’t perform that action at this time.
0 commit comments