[cfe-commits] [PATCH] Print warning instead of error if optional ASan features are listed w/o -fsanitize=address
Alexey Samsonov
samsonov at google.com
Sun Jan 27 23:22:11 PST 2013
r173670, thanks!
================
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)
----------------
Richard Smith wrote:
> No parens around the != and == expressions.
Done
http://llvm-reviews.chandlerc.com/D315
BRANCH
svn
ARCANIST PROJECT
clang
More information about the cfe-commits
mailing list