Emilio Cobos Álvarez
6311bc2129
Bug 1614512 - Give mozilla::Side and mozilla::Corner a fixed underlying type. r=froydnj
...
So as to avoid UB. It is somewhat unfortunate/dumb the fact that we need to do
this and we can't detect when we forget to do it :(
Give it uint8_t as it's type as that's enough and consistent with LogicalSide.
Differential Revision: https://phabricator.services.mozilla.com/D62390
--HG--
extra : moz-landing-system : lando
2020-02-11 14:11:06 +00:00
Ting-Yu Lin
8c351e2376
Bug 1610980 Part 2 - Add MakeInclusiveEnumeratedRange(). r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60753
--HG--
extra : moz-landing-system : lando
2020-01-27 08:01:55 +00:00
Ting-Yu Lin
f5deea0c94
Bug 1610980 Part 1 - Use constexpr for classes and functions in EnumeratedRange.h. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60752
--HG--
extra : moz-landing-system : lando
2020-01-27 08:01:47 +00:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Cameron McCormack
fdb4542277
Bug 1290035
- Remove the explicit Type parameter to MakeEnumeratedRange. r=Waldo
...
MozReview-Commit-ID: BtFVn9pTQpU
--HG--
extra : rebase_source : be83c74953e2fbc7ace2ce49ceebb060da394c50
2016-07-28 17:48:50 +08:00
Cameron McCormack
0cabb3c016
Bug 1216041 - Add ranged iterator support to mozilla::{Array,RangedArray,EnumerationArray}. r=froydnj
2015-10-20 10:16:20 +11:00
Cameron McCormack
4fa140ec32
Bug 1216038 - Deduce underlying integer type for MakeEnumeratedRange starting at 0. r=froydnj
2015-10-20 10:16:19 +11:00
Ehsan Akhgari
91324a3c5a
Bug 1188204 - Fix more constructors in MFBT; r=froydnj
2015-07-28 12:24:39 -04:00
Xidorn Quan
5ce6110994
Bug 1175485 part 3 - Remove unused operators, typedefs and IteratorTraits. r=waldo
...
--HG--
extra : source : c1d3256e987c25935cc8bd321c413a1e0c7586b3
2015-07-02 13:31:07 +10:00
Xidorn Quan
f15e97fc12
Bug 1175485 part 1 - Allow inner iterator of ReverseIterator deref to any type, and change IntegerIterator, EnumeratedRange, and nsFrameList::Iterator to return value type instead of a reference. r=roc,waldo
...
--HG--
extra : source : 1e932a13595a1d3862f171e7e7435422d890fbf0
2015-07-02 13:31:07 +10:00
Nicolas B. Pierron
89e09b129b
Bug 1142999 - Remove gcc warning about unused typedef. r=ehoogeveen
2015-03-25 09:47:00 -04:00
Emanuel Hoogeveen
8683a32c36
Bug 1142999 - Add an EnumeratedRange class to iterate EnumeratedArrays. r=nfroyd
2015-03-23 15:06:00 -04:00