[Sema] Special case -Werror-implicit-function-declaration and reject other -Werror-
authorFangrui Song <i@maskray.me>
Thu, 5 Nov 2020 18:25:30 +0000 (10:25 -0800)
committerFangrui Song <i@maskray.me>
Thu, 5 Nov 2020 18:25:30 +0000 (10:25 -0800)
commitc6a384df1f8ab85815160297543ab329e02560ef
tree4b6e3f7bd5ec5dbf8f03305dc873a6d5f7996344
parentf253823398dd2894ee5d9333c541c534b7a407fb
[Sema] Special case -Werror-implicit-function-declaration and reject other -Werror-

This is the only -Werror- form warning option GCC supports (gcc/c-family/c.opt).
Fortunately no other form is used anywhere.
clang/lib/Basic/Warnings.cpp
clang/test/CodeGen/vecshift.c
clang/test/Frontend/warning-options.cpp
clang/test/Modules/diagnose-missing-import.m
clang/test/Preprocessor/if_warning.c
clang/test/Sema/vecshift.c