[PATCH] D148822: [clang][BFloat] Avoid redefining bfloat16_t in arm_neon.h

Simon Butcher via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 28 06:26:46 PDT 2023


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



More information about the cfe-commits mailing list