Title: [160769] trunk/Tools
- Revision
- 160769
- Author
- [email protected]
- Date
- 2013-12-18 09:26:21 -0800 (Wed, 18 Dec 2013)
Log Message
prepare-ChangeLog doesn't handle templates properly
https://bugs.webkit.org/show_bug.cgi?id=125853
Patch by Dániel Bátyai <[email protected]> on 2013-12-18
Reviewed by Daniel Bates.
* Scripts/prepare-ChangeLog:
(get_function_line_ranges_for_cpp):
* Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests-expected.txt:
* Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests.cpp:
(Class110<TemplateClass>::func36):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (160768 => 160769)
--- trunk/Tools/ChangeLog 2013-12-18 16:54:04 UTC (rev 160768)
+++ trunk/Tools/ChangeLog 2013-12-18 17:26:21 UTC (rev 160769)
@@ -1,3 +1,16 @@
+2013-12-18 Dániel Bátyai <[email protected]>
+
+ prepare-ChangeLog doesn't handle templates properly
+ https://bugs.webkit.org/show_bug.cgi?id=125853
+
+ Reviewed by Daniel Bates.
+
+ * Scripts/prepare-ChangeLog:
+ (get_function_line_ranges_for_cpp):
+ * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests-expected.txt:
+ * Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests.cpp:
+ (Class110<TemplateClass>::func36):
+
2013-12-18 Dániel Bátyai <[email protected]>
Move expectation parsing out of the constructor of TestExpectations
Modified: trunk/Tools/Scripts/prepare-ChangeLog (160768 => 160769)
--- trunk/Tools/Scripts/prepare-ChangeLog 2013-12-18 16:54:04 UTC (rev 160768)
+++ trunk/Tools/Scripts/prepare-ChangeLog 2013-12-18 17:26:21 UTC (rev 160769)
@@ -762,7 +762,7 @@
# Find function, interface and method names.
- while (m&((?:[[:word:]]+::)*operator(?:[ \t]*\(\)|[^()]*)|[[:word:]:~]+|[(){}:;=])|\@(?:implementation|interface|protocol)\s+(\w+)[^{]*&g) {
+ while (m&((?:[[:word:]]+::)*operator(?:[ \t]*\(\)|[^()]*)|[[:word:]<>:~]+|[(){}:;=])|\@(?:implementation|interface|protocol)\s+(\w+)[^{]*&g) {
# Skip an array definition at the top level.
# e.g. static int arr[] = { 1, 2, 3 };
if ($1) {
Modified: trunk/Tools/Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests-expected.txt (160768 => 160769)
--- trunk/Tools/Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests-expected.txt 2013-12-18 16:54:04 UTC (rev 160768)
+++ trunk/Tools/Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests-expected.txt 2013-12-18 17:26:21 UTC (rev 160769)
@@ -217,5 +217,10 @@
'320',
'Class108::func35'
],
+ [
+ '391',
+ '393',
+ 'Class110<TemplateClass>::func36'
+ ]
]
}
Modified: trunk/Tools/Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests.cpp (160768 => 160769)
--- trunk/Tools/Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests.cpp 2013-12-18 16:54:04 UTC (rev 160768)
+++ trunk/Tools/Scripts/webkitperl/prepare-ChangeLog_unittest/resources/cpp_unittests.cpp 2013-12-18 17:26:21 UTC (rev 160769)
@@ -387,3 +387,7 @@
};
};
+
+void Class110<TemplateClass>::func36()
+{
+}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes