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

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 14 16:03:48 PST 2016


vitalybuka added a comment.

If Str is empty then Str.data() will be nullptr


https://reviews.llvm.org/D26646





More information about the llvm-commits mailing list