[Webkit-unassigned] [Bug 124731] check-webkit-style is wrong about expected format parameter pack rvalue reference arguments

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 28 08:15:21 PST 2013


https://bugs.webkit.org/show_bug.cgi?id=124731





--- Comment #9 from Peter Gal <galpeter at inf.u-szeged.hu>  2013-11-28 08:13:47 PST ---
(From update of attachment 217663)
View in context: https://bugs.webkit.org/attachment.cgi?id=217663&action=review

> Tools/Scripts/webkitpy/style/checkers/cpp.py:1848
>      if matched:
> -        error(line_number, 'whitespace/operators', 3,
> -              'Missing spaces around %s' % matched.group(1))
> +        # It is necessary to check this because rvaule references
> +        # parameter packs (c++11 feature)
> +        if not search(r'&&\.\.\.', line):

These two ifs could be merged together.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list