[PATCH] D54349: [clang-tidy] new check 'readability-redundant-preprocessor'

Jonas Toth via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 11 10:01:06 PST 2018


JonasToth added inline comments.


================
Comment at: docs/clang-tidy/checks/readability-redundant-preprocessor.rst:34
+
+ #ifdef FOO
+ #ifndef FOO // inner ifndef is considered redundant
----------------
The indendation for these examples (following as well) is not enough. Please use 2 spaces.


https://reviews.llvm.org/D54349





More information about the cfe-commits mailing list