Also fixed formatting in AsmMatcherEmitter because it was confusing.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
GNU binutils has a specific option to silence the warnings about deprecated IT blocks (-m{no-}warn-restrict-it), see https://sourceware.org/legacy-ml/binutils/2019-12/msg00093.html.
I haven't looked up if GNU tools have the equivalent of -no-deprecated-warn.
I also wonder how to specify the "-no-deprecated-warn" option from the clang command line. Is it possible?
Basically, yes, it looks like it's the right thing to also disable warnings related to deprecated IT constructs for -no-deprecated-warn, so this looks like a good change.
But there is probably more to be done to make the option easily accessible from the clang command line and to implement -m{no-}warn-restrict-it for GNU binutils compatibility?
So: this patch LGTM, thanks.