summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2012-03-14 22:28:22 +0000
committerDavid Blaikie <dblaikie@gmail.com>2012-03-14 22:28:22 +0000
commit1ce8dbb93f1b749d5498b28a16b2efacdd73bd33 (patch)
treed1a90e7978625b5365fb5a774063464373779cc3 /clang/lib/CodeGen/CodeGenFunction.cpp
parentddddca3e6d6559d8a9f1af476b82bf9bb0a90cef (diff)
downloadbcm5719-llvm-1ce8dbb93f1b749d5498b28a16b2efacdd73bd33.tar.gz
bcm5719-llvm-1ce8dbb93f1b749d5498b28a16b2efacdd73bd33.zip
Provide -Wnull-conversion separately from -Wconversion.
Like GCC, provide a NULL conversion to non-pointer conversion as a separate flag, on by default. GCC's flag is "conversion-null" which we provide for cross compatibility, but in the interests of consistency (with -Wint-conversion, -Wbool-conversion, etc) the canonical Clang flag is called -Wnull-conversion. Patch by Lubos Lunak. Review feedback by myself, Chandler Carruth, and Chad Rosier. llvm-svn: 152745
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud