alexfh added inline comments. ================ Comment at: clang-tidy/modernize/RedundantVoidArgCheck.cpp:131 @@ -130,1 +130,3 @@ StringRef GrammarLocation) { + if (Range.getBegin().isMacroID() || Range.getEnd().isMacroID()) + return; ---------------- What happens if instead you pass the range through `Lexer::makeFileCharRange`? This might be a way to enable fixes at least in some trivial cases involving macros.
http://reviews.llvm.org/D14204 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits