MaskRay wrote:

> CI seems to have noticed what I feared :) This is going to hit a good amount 
> of our internal tests, there is no way our copy-paste cargo-cult didn't come 
> up with this before.

This one-liner might be useful to auto fix some downstream tests...

```
xargs sed -Ei 's/(-fsyntax-only|-emit-obj|-emit-llvm|-emit-llvm-only) 
(([^|%]|%s|%t)*)(-analyze|-ast-dump|-emit-llvm|-fsyntax-only|-emit-pch|-E|-S)/\2\4/'
 < /tmp/0
```

https://github.com/llvm/llvm-project/pull/91140
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to