Title: [220017] trunk/Tools
- Revision
- 220017
- Author
- [email protected]
- Date
- 2017-07-28 15:04:02 -0700 (Fri, 28 Jul 2017)
Log Message
Using "auto <function()> -> returnType" breaks prepare-ChangeLog
https://bugs.webkit.org/show_bug.cgi?id=174930
Unreviewed test fix.
We need to check parentheses before printing 'const' or 'volatile' in the ChangeLog.
* Scripts/prepare-ChangeLog:
(get_function_line_ranges_for_cpp):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (220016 => 220017)
--- trunk/Tools/ChangeLog 2017-07-28 21:58:38 UTC (rev 220016)
+++ trunk/Tools/ChangeLog 2017-07-28 22:04:02 UTC (rev 220017)
@@ -1,3 +1,15 @@
+2017-07-28 Jonathan Bedard <[email protected]>
+
+ Using "auto <function()> -> returnType" breaks prepare-ChangeLog
+ https://bugs.webkit.org/show_bug.cgi?id=174930
+
+ Unreviewed test fix.
+
+ We need to check parentheses before printing 'const' or 'volatile' in the ChangeLog.
+
+ * Scripts/prepare-ChangeLog:
+ (get_function_line_ranges_for_cpp):
+
2017-07-28 JF Bastien <[email protected]>
Using "auto <function()> -> returnType" breaks prepare-ChangeLog
Modified: trunk/Tools/Scripts/prepare-ChangeLog (220016 => 220017)
--- trunk/Tools/Scripts/prepare-ChangeLog 2017-07-28 21:58:38 UTC (rev 220016)
+++ trunk/Tools/Scripts/prepare-ChangeLog 2017-07-28 22:04:02 UTC (rev 220017)
@@ -1007,12 +1007,12 @@
next;
}
- if ($1 eq "const") {
+ if ($1 eq "const" and !$in_parentheses) {
$potential_name .= " const";
next;
}
- if ($1 eq "volatile") {
+ if ($1 eq "volatile" and !$in_parentheses) {
$potential_name .= " volatile";
next;
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes