diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2011-08-30 23:07:51 +0000 |
---|---|---|
committer | Eli Friedman <eli.friedman@gmail.com> | 2011-08-30 23:07:51 +0000 |
commit | f84139a1331c63c998e8b7d54148c75ac0b48ccd (patch) | |
tree | f5e89a672f189361fb2ebcabfee83e3256f9a6c2 /test/Misc/warning-flags.c | |
parent | 1155c42e7b1b4e401bb0a331a6d715d637958c75 (diff) |
Change err_pp_file_not_found back to an Error; when it's a Warning, we suppress it in system headers. And it is not a good idea to suppress it in system headers. (This was originally changed in r134996 to implement -MG.)
Fixes <rdar://10041960>. And also brings down the number of warnings without a flag by one :)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@138842 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Misc/warning-flags.c')
-rw-r--r-- | test/Misc/warning-flags.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/Misc/warning-flags.c b/test/Misc/warning-flags.c index e29fbeadf9..a911cbb27e 100644 --- a/test/Misc/warning-flags.c +++ b/test/Misc/warning-flags.c @@ -17,7 +17,7 @@ This test serves two purposes: The list of warnings below should NEVER grow. It should gradually shrink to 0. -CHECK: Warnings without flags (313): +CHECK: Warnings without flags (312): CHECK-NEXT: auto_storage_class CHECK-NEXT: backslash_newline_space CHECK-NEXT: charize_microsoft_ext @@ -253,7 +253,6 @@ CHECK-NEXT: warn_pointer_attribute_wrong_type CHECK-NEXT: warn_pp_convert_lhs_to_positive CHECK-NEXT: warn_pp_convert_rhs_to_positive CHECK-NEXT: warn_pp_expr_overflow -CHECK-NEXT: warn_pp_file_not_found CHECK-NEXT: warn_pp_line_decimal CHECK-NEXT: warn_pragma_align_expected_equal CHECK-NEXT: warn_pragma_align_invalid_option |