Summary: | Add IsFloatingPoint and IsArithmetic type traits | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Anders Carlsson <andersca> | ||||
Component: | Web Template Framework | Assignee: | Anders Carlsson <andersca> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | webkit.review.bot | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Other | ||||||
OS: | OS X 10.5 | ||||||
Attachments: |
|
Description
Anders Carlsson
2010-09-17 17:25:55 PDT
Created attachment 67978 [details]
Patch
Attachment 67978 [details] did not pass style-queue:
Failed to run "['WebKitTools/Scripts/check-webkit-style']" exit_code: 1
JavaScriptCore/wtf/TypeTraits.h:65: More than one command on the same line [whitespace/newline] [4]
JavaScriptCore/wtf/TypeTraits.h:66: More than one command on the same line [whitespace/newline] [4]
JavaScriptCore/wtf/TypeTraits.h:67: More than one command on the same line [whitespace/newline] [4]
JavaScriptCore/wtf/TypeTraits.h:68: More than one command on the same line [whitespace/newline] [4]
JavaScriptCore/wtf/TypeTraits.h:70: More than one command on the same line [whitespace/newline] [4]
JavaScriptCore/wtf/TypeTraits.h:74: More than one command on the same line [whitespace/newline] [4]
Total errors found: 6 in 2 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 67978 [details]
Patch
You should add tests in the .cpp file (as COMPILE_ASSERTS).
Committed r67765: <http://trac.webkit.org/changeset/67765> |