[cfe-commits] [PATCH] Print warning instead of error if optional ASan features are listed w/o -fsanitize=address

Richard Smith richard at metafoo.co.uk
Fri Jan 25 16:49:38 PST 2013


  LGTM


================
Comment at: lib/Driver/Tools.cpp:1482
@@ +1481,3 @@
+  // command line).
+  if (((Kind & AddressFull) != 0) && ((AllKinds & Address) == 0))
+    D.Diag(diag::warn_drv_unused_sanitizer)
----------------
No parens around the != and == expressions.


http://llvm-reviews.chandlerc.com/D315

BRANCH
  svn

ARCANIST PROJECT
  clang



More information about the cfe-commits mailing list