We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75c004e commit 6bc54ccCopy full SHA for 6bc54cc
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