[Webkit-unassigned] [Bug 146103] New: Refactor CheckedArithmeticOperations.cpp to use templates instead of macros
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Jun 18 01:43:58 PDT 2015
https://bugs.webkit.org/show_bug.cgi?id=146103
Bug ID: 146103
Summary: Refactor CheckedArithmeticOperations.cpp to use
templates instead of macros
Classification: Unclassified
Product: WebKit
Version: 528+ (Nightly build)
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mark.lam at apple.com
Presently, the tests in CheckedArithmeticOperations.cpp are all implemented as part of a large macro. This makes them harder to:
1. write: no editor help with indentations, have to add trailing '\'s, inconvenient to add line breaks and comments.
2. read: no chroma coding / syntax highlighting
3. debug: compile time errors are reported as being on the single line where the macro is used.
Refactoring the tests to use C++ templates solves all these issues.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150618/57be706c/attachment.html>
More information about the webkit-unassigned
mailing list