simonbutcher added a comment. I can't see anything wrong with this patch and it looks pretty straightforward to me, but is it necessary?
'-Wtypedef-redefinition' is documented as not applying to system headers <https://github.com/llvm/llvm-project/blob/0fc19e222b5b0a86987ab058e0b34bc7014b56b3/clang/lib/Sema/SemaDecl.cpp#L2725>, and I couldn't reproduce the issue unless I changed the headers to not be system headers. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D148822/new/ https://reviews.llvm.org/D148822 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits