MCPcopy Index your code
hub / github.com/nodejs/node / remove_ignored_flags

Method remove_ignored_flags

deps/v8/tools/testrunner/objects/testcase.py:269–277  ·  view source on GitHub ↗
(flags)

Source from the content-addressed store, hash-verified

267 # which ignores just the next flag. Remove these flags from the list.
268 # See Flag::ShouldCheckFlagContradictions.
269 def remove_ignored_flags(flags):
270 flags = remove_flags_after(flags, "--fuzzing")
271 flags = remove_flags_after(flags, "--no-abort-on-contradictory-flags")
272 flag_aofnf = normalize_flag("--allow-overwriting-for-next-flag")
273 while flag_aofnf in flags:
274 pos = flags.index(flag_aofnf)
275 flags.pop(pos)
276 flags.pop(pos)
277 return flags
278
279 if not self._checked_flag_contradictions:
280 self._checked_flag_contradictions = True

Callers

nothing calls this directly

Calls 2

popMethod · 0.80
indexMethod · 0.45

Tested by

no test coverage detected