[cfe-commits] [libcxx] r109512 - in /libcxx/trunk: include/regex src/regex.cpp test/re/re.alg/re.alg.search/basic.pass.cpp test/re/re.alg/re.alg.search/ecma.pass.cpp test/re/re.alg/re.alg.search/extended.pass.cpp test/re/re.const/re.synopt/syntax_option_type.pass.cpp
Steven Watanabe
watanabesj at gmail.com
Fri Jul 30 09:32:21 PDT 2010
AMDG
Howard Hinnant wrote:
> Modified: libcxx/trunk/include/regex
> URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/regex?rev=109512&r1=109511&r2=109512&view=diff
> ==============================================================================
> --- libcxx/trunk/include/regex (original)
> +++ libcxx/trunk/include/regex Tue Jul 27 12:24:17 2010
> @@ -747,12 +747,12 @@
> nosubs = 1 << 1,
> optimize = 1 << 2,
> collate = 1 << 3,
> - ECMAScript = 1 << 4,
> - basic = 1 << 5,
> - extended = 1 << 6,
> - awk = 1 << 7,
> - grep = 1 << 8,
> - egrep = 1 << 9
> + ECMAScript = 0,
> + basic = 1 << 4,
> + extended = 1 << 5,
> + awk = 1 << 6,
> + grep = 1 << 7,
> + egrep = 1 << 8
> };
>
I don't think this conforms to the requirements for bitmasks:
"The value Y is set in the object X if the expression X & Y is nonzero."
In Christ,
Steven Watanabe
More information about the cfe-commits
mailing list