From: Daniel Dunbar Date: Thu, 26 Nov 2009 05:08:53 +0000 (+0000) Subject: Add -Werror for Clang and LLVM on Clang (headers) syntax tests. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6cfe8890558bbc2e99d2630f117d6207a1b8cec3;p=clang Add -Werror for Clang and LLVM on Clang (headers) syntax tests. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@89936 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/C++Tests/Clang-Syntax/lit.local.cfg b/utils/C++Tests/Clang-Syntax/lit.local.cfg index 280d1c18a2..89fdd8e159 100644 --- a/utils/C++Tests/Clang-Syntax/lit.local.cfg +++ b/utils/C++Tests/Clang-Syntax/lit.local.cfg @@ -17,6 +17,7 @@ config.test_format = lit.formats.SyntaxCheckTest(compiler=root.clang, extra_cxx_args=['-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Wno-sign-compare', + '-Werror', '-I%s/include' % root.llvm_src_root, '-I%s/include' % root.llvm_obj_root, '-I%s/tools/clang/include' % root.llvm_src_root, diff --git a/utils/C++Tests/LLVM-Syntax/lit.local.cfg b/utils/C++Tests/LLVM-Syntax/lit.local.cfg index 907f6f9d6b..b67bb907e2 100644 --- a/utils/C++Tests/LLVM-Syntax/lit.local.cfg +++ b/utils/C++Tests/LLVM-Syntax/lit.local.cfg @@ -17,6 +17,7 @@ config.test_format = lit.formats.SyntaxCheckTest(compiler=root.clang, extra_cxx_args=['-D__STDC_LIMIT_MACROS', '-D__STDC_CONSTANT_MACROS', '-Wno-sign-compare', + '-Werror', '-I%s/include' % root.llvm_src_root, '-I%s/include' % root.llvm_obj_root])