[llvm-bugs] [Bug 35967] New: <regex> syntax_option_type is not a proper bitmask
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Jan 16 06:45:58 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=35967
Bug ID: 35967
Summary: <regex> syntax_option_type is not a proper bitmask
Product: libc++
Version: 6.0
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedclangbugs at nondot.org
Reporter: miyuki-llvm at miyuki.ru
CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
According to [re.synopt]:
"The type syntax_option_type is an implementation-defined bitmask type"
[bitmask.types] defines some requirements for such types, specifically:
"Here, the names C0, C1, etc. represent bitmask elements for this particular
bitmask type. All such elements have distinct, nonzero values"
Contrarily to this requirement, in libc++ std::regex_constants::ECMAScript is
0.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180116/0423458f/attachment.html>
More information about the llvm-bugs
mailing list