(self, flags)
| 1214 | r"^(/arch|/Qx:)" |
| 1215 | ) |
| 1216 | def _cc_normalize_win(self, flags): |
| 1217 | for i, f in enumerate(reversed(flags)): |
| 1218 | if not re.match(self._cc_normalize_win_mrgx, f): |
| 1219 | continue |
| 1220 | i += 1 |
| 1221 | return list(filter( |
| 1222 | self._cc_normalize_win_frgx.search, flags[:-i] |
| 1223 | )) + flags[-i:] |
| 1224 | return flags |
| 1225 | |
| 1226 | class _Feature: |
| 1227 | """A helper class for `CCompilerOpt` that managing CPU features. |