Bug 120785

Summary: GCAssertions.h should use STL type traits and static_assert
Product: WebKit Reporter: Anders Carlsson <andersca>
Component: New BugsAssignee: Anders Carlsson <andersca>
Status: RESOLVED FIXED    
Severity: Normal CC: darin, philn, webkit-ews, xan.lopez
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 146829    
Bug Blocks:    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch kling: review+

Anders Carlsson
Reported 2013-09-05 12:03:28 PDT
GCAssertions.h should use STL type traits and static_assert
Attachments
Patch (31.88 KB, patch)
2013-09-05 12:17 PDT, Anders Carlsson
no flags
Patch (32.06 KB, patch)
2013-09-05 12:29 PDT, Anders Carlsson
no flags
Patch (32.54 KB, patch)
2013-09-05 12:37 PDT, Anders Carlsson
no flags
Patch (32.82 KB, patch)
2013-09-05 13:04 PDT, Anders Carlsson
kling: review+
Anders Carlsson
Comment 1 2013-09-05 12:17:59 PDT
Anders Carlsson
Comment 2 2013-09-05 12:25:03 PDT
…and GCC gets in the way again.
Early Warning System Bot
Comment 3 2013-09-05 12:26:26 PDT
Early Warning System Bot
Comment 4 2013-09-05 12:27:41 PDT
Anders Carlsson
Comment 5 2013-09-05 12:29:13 PDT
Anders Carlsson
Comment 6 2013-09-05 12:37:18 PDT
Anders Carlsson
Comment 7 2013-09-05 13:04:18 PDT
Anders Carlsson
Comment 8 2013-09-05 13:12:07 PDT
Darin Adler
Comment 9 2013-09-05 18:02:09 PDT
Comment on attachment 210650 [details] Patch So should we use static_assert instead of our COMPILE_ASSERT macro?
Anders Carlsson
Comment 10 2013-09-06 09:09:24 PDT
(In reply to comment #9) > (From update of attachment 210650 [details]) > So should we use static_assert instead of our COMPILE_ASSERT macro? Yes.
Note You need to log in before you can comment on or make changes to this bug.