Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Also, clang-tidy has `bugprone-reserved-identifier` https://clang.llvm.org/extra/clang-tidy/checks/bugprone/rese...


It only checks for the ones starting with underscore.

> This check does not (yet) check for other reserved names, e.g. macro names identical to language keywords, and names specifically reserved by language standards, e.g. C++ ‘zombie names’ and C future library directions.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: