diff options
author | Nico Weber <nicolasweber@gmx.de> | 2014-12-16 21:16:10 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2014-12-16 21:16:10 +0000 |
commit | bb387fbfa8e49a94e94ab5348ff729ec941e8f32 (patch) | |
tree | 71309a1eaa604874160644b50f63610e858b0c93 /lib/Frontend/CompilerInvocation.cpp | |
parent | e083843a3ed6314cd84544bec2e5b2bce42d522a (diff) | |
download | clang-bb387fbfa8e49a94e94ab5348ff729ec941e8f32.tar.gz |
Move -Wkeyword-macro into -pedantic, remove -Wreserved-id-macro.
As discussed on the post-commit review thread for r224012, -Wkeyword-macro fires
mostly on headers trying to set up portable defines and doesn't find much bad
stuff in practice. But [macro.names]p2 does disallow defining or undefining
keywords, override and final, and alignas, so keep the warning but move it
into -pedantic.
-Wreserved-id-macro warns on
#define __need_size_t
which is more or less public api for glibc headers. Since this warning isn't
motivated by a standard, remove it.
(See also r223114 for a previous follow-up to r224012.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224371 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions