aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/C++Tests/Clang-Syntax/lit.local.cfg1
-rw-r--r--utils/C++Tests/LLVM-Syntax/lit.local.cfg1
2 files changed, 2 insertions, 0 deletions
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])