commit | 1e1d05121d63b0156cef8e85f51ff448bc66a7db | [log] [tgz] |
---|---|---|
author | Howard Hinnant <hhinnant@apple.com> | Mon Jul 15 18:21:11 2013 +0000 |
committer | Howard Hinnant <hhinnant@apple.com> | Mon Jul 15 18:21:11 2013 +0000 |
tree | 978e0f10593638d5de04975dd3183fdcef70e9a4 | |
parent | 1f96a4df58d4f155725501a0e212157da9df2695 [diff] |
Bill Fisher: This patch fixes an ill-formed comparison when parsing control escapes, e.g. "\cA\ca". The code will now throw an error_escape exception for invalid control sequences like "\c:" or "\c". I've added the test cases to bad_escape.pass.cpp. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@186335 91177308-0d34-0410-b5e6-96231b3b80d8