aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2012-11-10 01:47:40 +0000
committerTed Kremenek <kremenek@apple.com>2012-11-10 01:47:40 +0000
commit6e3ceb54a05eb2442625d25fda0b57a2b805ceba (patch)
tree29d271682cede299229b1b3f3cb8f63c395ee440 /lib/Frontend/CompilerInvocation.cpp
parent4e674f77150b52d8e6ae82faf64fbdac79d675d3 (diff)
Disable -Wimplicit-fallthrough when not using C++.
The rationale is that there is no good workflow to silence the warning for specific cases, other than using pragmas. This is because the attribute to decorate an explicit fall through is only available in C++11. By that argument, this should probably also be disabled unless one is using C++11, but apparently there is an explicit test case for this warning when using C++98. This will require further discussion on cfe-commits. Fixes: <rdar://problem/12584746> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167655 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions