theraven added a comment. No, it's a bug in clang. Clang does not reject other functions that are used to implement builtins (if it did, compiler-rt would be a lot more difficult to build). Repository: rL LLVM https://reviews.llvm.org/D30025