We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a400a7f commit 5140f8fCopy full SHA for 5140f8f
SingleSource/Regression/DgOptions.txt
@@ -222,7 +222,9 @@ function(gcc_torture_dg_options_cflags Variable DG_DO DG_SRC File)
222
223
# Remove any flags that will make clang error
224
if (DG_CFLAGS)
225
- list(REMOVE_ITEM DG_CFLAGS ${CLANG_ERRORING_CFLAGS})
+ foreach(ERROR_CFLAG ${CLANG_ERRORING_CFLAGS})
226
+ list(FILTER DG_CFLAGS EXCLUDE REGEX "^${ERROR_CFLAG}.*")
227
+ endforeach()
228
endif()
229
230
# Set the parent scope variable
0 commit comments