tschuett added a comment. You could just a a file to clang docs with: Clang assumes that memcpy(p, p, n) is safe. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D86815/new/ https://reviews.llvm.org/D86815