Is it possible to solve the following issue clang tidy is throwing out. error: do not use pointer arithmetic [cppcoreguidelines-pro-bounds-pointer-arithmetic,-warnings-as-errors]
The project I am using is a mix of C/C++ and no changes can be made on the C side.
extern const Test_Ptr* test;
auto enable = (Test_Ptr->pIndex[1].base == 1)
? true
: false;
Aucun commentaire:
Enregistrer un commentaire