forked from OSchip/llvm-project
Add -Werror for Clang and LLVM on Clang (headers) syntax tests.
llvm-svn: 89936
This commit is contained in:
parent
6d771bcd09
commit
9acb35a5e8
|
@ -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,
|
||||
|
|
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in New Issue