[PATCH] D16200: Add --force-analyze-debug-code option to scan-build to force debug build and hopefully enable more precise warnings.

Yury Gribov via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 1 01:45:14 PST 2016


ygribov added a comment.

> why not just append a -UNDEBUG to the end of the argument list? would not it make the same effect?


I think for Perl version of scan-build I was just following the general practice of stripping/modifying interesting arguments. And scan-build-py then just followed the same pattern. -UNDEBUG is supported by all major compiler so it's probably ok to use it instead. Should I switch?


Repository:
  rL LLVM

http://reviews.llvm.org/D16200





More information about the llvm-commits mailing list