HomePhabricator

Make sure !empty() before calling String::front().

Authored by chaoren on May 26 2015, 4:14 PM.

Description

Make sure !empty() before calling String::front().

Reviewers: howard.hinnant

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D9954

llvm-svn: 238263

Details

Committed
chaorenMay 26 2015, 4:14 PM
Differential Revision
D9954: Make sure !empty() before calling front().
Parents
rG294c92651c6e: Add 'qXfer:features:read' to known stub list
Branches
Unknown
Tags
Unknown