boostorg / foreach

Boost.org foreach module
http://boost.org/libs/foreach
9 stars 36 forks source link

Index variable naming violates cpp identifier rules when used in global namespace #19

Open thebaron06 opened 3 years ago

thebaron06 commented 3 years ago

The naming of the index variables (eg. here) violates the identifier naming rules as can be found here when used in the global namespace, ie. free global functions. All of them are starting with a leading underscore (_). This is problematic when implementing custom checks using clang's libtooling (macros are already replaced).