aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Frontend/CompilerInvocationTest.cpp
diff options
context:
space:
mode:
authorAnton Bikineev <bikineev@chromium.org>2021-04-02 20:14:44 +0200
committerAnton Bikineev <bikineev@chromium.org>2021-04-14 01:01:40 +0200
commit69545154cc28a0a7f813174253c6cb428666eb3a (patch)
tree5bec2fb39f8a6d5f62086df655aab2546b3b4898 /clang/unittests/Frontend/CompilerInvocationTest.cpp
parentf4ecd5a128dc74d7048711d07a658d1b91c8251f (diff)
downloadllvm-69545154cc28a0a7f813174253c6cb428666eb3a.zip
llvm-69545154cc28a0a7f813174253c6cb428666eb3a.tar.gz
llvm-69545154cc28a0a7f813174253c6cb428666eb3a.tar.bz2
[Sema] Move 'char-expression-as-unsigned < 0' into a separate diagnostic
This change splits '-Wtautological-unsigned-zero-compare' by reporting char-expressions-interpreted-as-unsigned under a separate diagnostic '-Wtautological-unsigned-char-zero-compare'. This is beneficial for projects that want to enable '-Wtautological-unsigned-zero-compare' but at the same time want to keep code portable for platforms with char being signed or unsigned, such as Chromium. Differential Revision: https://reviews.llvm.org/D99808
Diffstat (limited to 'clang/unittests/Frontend/CompilerInvocationTest.cpp')
0 files changed, 0 insertions, 0 deletions