Add -Werror for Clang and LLVM on Clang (headers) syntax tests.

llvm-svn: 89936
This commit is contained in:
Daniel Dunbar 2009-11-26 05:08:53 +00:00
parent 6d771bcd09
commit 9acb35a5e8
2 changed files with 2 additions and 0 deletions

View File

@ -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,

View File

@ -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])