Don't dereference an invalid pointer if string is empty.
authorAnton Korobeynikov <asl@math.spbu.ru>
Tue, 5 Feb 2008 23:34:40 +0000 (23:34 +0000)
committerAnton Korobeynikov <asl@math.spbu.ru>
Tue, 5 Feb 2008 23:34:40 +0000 (23:34 +0000)
commit5c4fb22809f2da261e3957dc7fc42e19193f70b7
tree838f5042b9f7f966931e7205757f19eb2cbe2dc7
parenta58891ff1e6b5cc61cbb3cfe46be7f2eeddbfe98
Don't dereference an invalid pointer if string is empty.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46781 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/StringMap.h