From 9acb35a5e8c4a6ff770555cc00f30c99b8e218d9 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Thu, 26 Nov 2009 05:08:53 +0000 Subject: [PATCH] Add -Werror for Clang and LLVM on Clang (headers) syntax tests. llvm-svn: 89936 --- clang/utils/C++Tests/Clang-Syntax/lit.local.cfg | 1 + clang/utils/C++Tests/LLVM-Syntax/lit.local.cfg | 1 + 2 files changed, 2 insertions(+) diff --git a/clang/utils/C++Tests/Clang-Syntax/lit.local.cfg b/clang/utils/C++Tests/Clang-Syntax/lit.local.cfg index 280d1c18a263..89fdd8e15997 100644 --- a/clang/utils/C++Tests/Clang-Syntax/lit.local.cfg +++ b/clang/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/clang/utils/C++Tests/LLVM-Syntax/lit.local.cfg b/clang/utils/C++Tests/LLVM-Syntax/lit.local.cfg index 907f6f9d6b9a..b67bb907e26b 100644 --- a/clang/utils/C++Tests/LLVM-Syntax/lit.local.cfg +++ b/clang/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])