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

Miklos Vajna via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 11 12:37:42 PST 2018


vmiklos marked an inline comment as done.
vmiklos added inline comments.


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


https://reviews.llvm.org/D54349





More information about the cfe-commits mailing list