DavidSpickett added a comment. Thanks for the pointer, I found more mistakes this way, e.g.: https://godbolt.org/z/f6n95z (I don't think I can use <type_traits> in a test but there is clang/test/Headers/x86-64-apple-macosx-types.cpp which uses is_same with it's own implementation so I can use/copy that)
There are ~5 more with incorrect return types so I'll add those to this patch as well as the return type check. The arguments check is complicated by some intrinsics being macros but we can check the majority, I'll do that in a separate patch. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D85118/new/ https://reviews.llvm.org/D85118 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits