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: unassignedclangb...@nondot.org
          Reporter: miyuki-l...@miyuki.ru
                CC: llvm-bugs@lists.llvm.org, mclow.li...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to