Skip to content

Commit 887b013

Browse files
committed
Make implicit func declarations an error in tests
1 parent 42f03b5 commit 887b013

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/tools/sotoc/test/lit.cfg

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ config.test_format = lit.formats.ShTest()
3535

3636
config.test_flags = '-I ' + config.test_source_root + ' ' + \
3737
'-I ' + config.omp_header_directory + ' ' + \
38-
'-fopenmp ' #+ \
39-
#'-Xopenmp-target \"-Xlinker -fopenmp-static\" ' #+ \
40-
#'-Werror=implicit-function-declaration'
38+
'-fopenmp ' + \
39+
'-Werror=implicit-function-declaration '
40+
#'-Xopenmp-target \"-Xlinker -fopenmp-static\" '
4141

4242
# Setup environment to find dynamic library at runtime
4343
append_dynamic_library_path(config.library_dir)

0 commit comments

Comments
 (0)