Skip to content

Commit

Permalink
Make implicit func declarations an error in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
manorom committed Feb 8, 2019
1 parent 42f03b5 commit 887b013
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clang/tools/sotoc/test/lit.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ config.test_format = lit.formats.ShTest()

config.test_flags = '-I ' + config.test_source_root + ' ' + \
'-I ' + config.omp_header_directory + ' ' + \
'-fopenmp ' #+ \
#'-Xopenmp-target \"-Xlinker -fopenmp-static\" ' #+ \
#'-Werror=implicit-function-declaration'
'-fopenmp ' + \
'-Werror=implicit-function-declaration '
#'-Xopenmp-target \"-Xlinker -fopenmp-static\" '

# Setup environment to find dynamic library at runtime
append_dynamic_library_path(config.library_dir)
Expand Down

0 comments on commit 887b013

Please sign in to comment.