[clang-tidy] Skipping macros. Refactoring. Fixed treating variable declarations inside conditions.