Closed
Bug 1277775
Opened 8 years ago
Closed 8 years ago
Remove MOZ_CONSTEXPR{,_VAR,_TMPL} and use constexpr directly
Categories
(Core :: MFBT, defect)
Core
MFBT
Tracking
()
RESOLVED
FIXED
mozilla50
People
(Reporter: xidorn, Assigned: cpeterson)
References
Details
Attachments
(1 file)
271.46 KB,
patch
|
froydnj
:
review+
|
Details | Diff | Splinter Review |
The versions of GCC and Clang we use have already supported constexpr for quite a while. As soon as VS2013 support is dropped, we can use constexpr directly, and do not need the macro anymore.
Assignee | ||
Comment 1•8 years ago
|
||
I have a WIP patch for this bug.
Assignee: nobody → cpeterson
status-firefox50:
--- → affected
Assignee | ||
Updated•8 years ago
|
Assignee | ||
Comment 2•8 years ago
|
||
Now that we have dropped support for VS2013 (bug 1186064) for VS2015, all our officially-supported compilers support constexpr. We can replace MFBT's MOZ_CONSTEXPR{_VAR,_TMPL} macros with constexpr.
Attachment #8769050 -
Flags: review?(nfroyd)
Comment 3•8 years ago
|
||
Comment on attachment 8769050 [details] [diff] [review] use-constexpr.patch Review of attachment 8769050 [details] [diff] [review]: ----------------------------------------------------------------- r=me assuming it all compiles.
Attachment #8769050 -
Flags: review?(nfroyd) → review+
Assignee | ||
Comment 4•8 years ago
|
||
(In reply to Nathan Froyd [:froydnj] [away 9 July through 20 July] from comment #3) > r=me assuming it all compiles. Thanks. Yes, it all compiles and passes Try. :)
Pushed by cpeterson@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/96875d7ae6f2 Replace MOZ_CONSTEXPR{_VAR,_TMPL} with constexpr. r=froydnj
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/96875d7ae6f2
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
You need to log in
before you can comment on or make changes to this bug.
Description
•