summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
diff options
context:
space:
mode:
authorMikhail Maltsev <mikhail.maltsev@arm.com>2018-01-24 12:45:18 +0000
committerMikhail Maltsev <mikhail.maltsev@arm.com>2018-01-24 12:45:18 +0000
commit48c63d879b4a3a84f4dd21256b4a3d29037055c8 (patch)
treed3925b971f0c083c6abac4a4cd2fcf8a678a62b9 /llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
parente4453233d78788989c4bf2ff927a9e67433fb63d (diff)
downloadbcm5719-llvm-48c63d879b4a3a84f4dd21256b4a3d29037055c8.tar.gz
bcm5719-llvm-48c63d879b4a3a84f4dd21256b4a3d29037055c8.zip
[libcxx] Correctly handle invalid regex character class names
Summary: Currently when a regular expression contains an invalid character class name std::regex constructors throw an std::regex_error with std::regex_constants::error_brack code. This patch changes the code to std::regex_constants::error_ctype and adds a test. Reviewers: EricWF, mclow.lists Reviewed By: mclow.lists Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D42291 llvm-svn: 323322
Diffstat (limited to 'llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud