[PATCH] D16794: [Clang-tidy] Make readability-simplify-boolean-expr working with included files

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 2 04:21:54 PST 2016


aaron.ballman added a comment.

Missing a test case for this functionality. The isExpansionInMainFile() was used to silence the diagnostic in macros, but it was pointed out during review that this should be fixed and it seems to have fallen through the cracks. Can you also add tests for macros to ensure the behavior is acceptable there still?

See http://reviews.llvm.org/D8996 for more context.


Repository:
  rL LLVM

http://reviews.llvm.org/D16794





More information about the cfe-commits mailing list