[PATCH] D26646: Avoid calling std::memcmp with nullptr

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 14 15:57:59 PST 2016


ruiu added a comment.

Do you mean that if it is called with "", such as `StartsWith("", foo)`, S becomes a nullptr?


https://reviews.llvm.org/D26646





More information about the llvm-commits mailing list