Commit graph

13 commits

Author SHA1 Message Date
trav90
48b18a815d Fix Span.h constexprs for VS2017 2019-02-16 00:15:22 +08:00
trav90
037afae5e6 Add mozilla::Span 2019-02-16 00:15:21 +08:00
trav90
c8cdcbc5a7 Fix a warning with GCC 8: unnecessary parentheses in declaration of 'type name' 2019-02-16 00:11:02 +08:00
trav90
d8a8aafc2c Initialize mVersion to silence a warning with GCC 8 2019-02-16 00:10:57 +08:00
Alex Gaynor
57b3983e17 Bug 1462912 - Fixed BufferList::Extract to handle the case where the call consumes the entirety of the BufferList. r=froydnj, a=RyanVM 2019-02-16 00:06:52 +08:00
Alex Gaynor
921ff8f640 Bug 1456189 - Simplify BufferList::Extract to make the lifetimes clearer. r=froydnj, a=RyanVM 2019-02-16 00:06:50 +08:00
Jeff Walden
48ffdb584c Bug 1452619 - Implement mozilla::IsAsciiAlpha. r=froydnj, a=lizzard 2019-02-15 23:53:19 +08:00
Ryan VanderMeulen
23c2b750e3 Bug 1398021 - Update lz4 to version 1.8.0. r=froydnj, a=RyanVM
--HG--
extra : source : 9a4077eda5d80e2f7c7fe271035bee2e2d034cec
extra : histedit_source : 64eb1f6e9b2b08981644d7edccd22997d6463b4b%2C5619daf512a89b3a6bf84eca781190b56e8dea31
2019-02-15 23:37:09 +08:00
trav90
4a350f434e Add MOZ_FALLTHROUGH macro definition for gcc 7 to suppress -Wimplicit-fallthrough warnings
The generic fallback MOZ_FALLTHROUGH definition is insufficient for GCC 7 and above, resulting in build warning spam and --enable-warnings-as-errors builds failing. The check for clang support is changed to use the __has_cpp_attribute macro, which is more robust than checking the __cplusplus version. Also, MOZ_FALLTHROUGH is now only defined in C++ code, since GCC errors out if it encounters a scoped attribute being used with __has_cpp_attribute in C code. No C code uses MOZ_FALLTHROUGH or derivatives at the moment.
2019-02-15 23:35:47 +08:00
wolfbeast
2a9f2dadee Fix off-by-one in Vector::insert. 2019-02-15 23:29:37 +08:00
trav90
7d96c33414 Remove checks for GCC < 4.9 2019-02-15 23:28:59 +08:00
trav90
1eecf39f2b Require at least GCC 4.9 to build 2019-02-15 23:28:57 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00