aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineTraceMetrics.cpp
diff options
context:
space:
mode:
authorJonathan Roelofs <jonathan@codesourcery.com>2014-08-27 00:39:47 +0000
committerJonathan Roelofs <jonathan@codesourcery.com>2014-08-27 00:39:47 +0000
commit16bb38907c680fdc5eeb2a1db1d9720d11b7bf7d (patch)
tree167f6cbc203675ebb49fb7be4bf0254869f1c3eb /llvm/lib/CodeGen/MachineTraceMetrics.cpp
parent10dcff81be7c03ccf254f6334815c754c6ae4121 (diff)
downloadllvm-16bb38907c680fdc5eeb2a1db1d9720d11b7bf7d.zip
llvm-16bb38907c680fdc5eeb2a1db1d9720d11b7bf7d.tar.gz
llvm-16bb38907c680fdc5eeb2a1db1d9720d11b7bf7d.tar.bz2
Revert r216497: "[libcxx] Fix ctype_byname<wchar_t>::do_is() mask checking."
After discussing implementing more tests for this with @danalbert & @mclow, I realized this change is not correct. The C++ standard requires do_is() to behave as if it were a loop that checked is(). Furthermore, it requires is() to check "The first form returns the result of the expression (M & m) != 0; i.e., true if the character has the characteristics specified"... which the reverted patch definitely does not conform to. Even further, furthermore, this requires that ctype's mask be an actual bitmask, unlike what android and newlib provide for _ctype_. Fixing the original bug that instigated this patch remains TBD. llvm-svn: 216508
Diffstat (limited to 'llvm/lib/CodeGen/MachineTraceMetrics.cpp')
0 files changed, 0 insertions, 0 deletions