summaryrefslogtreecommitdiffstats
path: root/mfbt/Attributes.h
Commit message (Collapse)AuthorAgeLines
* Issue #1656 - Part 1: Nuke most vim config lines in the tree.Moonchild2020-09-23-1/+0
| | | | | | Since these are just interpreted comments, there's 0 impact on actual code. This removes all lines that match /* vim: set(.*)tw=80: */ with S&R -- there are a few others scattered around which will be removed manually in a second part.
* Add MOZ_FALLTHROUGH macro definition for gcc 7 to suppress ↵trav902018-03-04-4/+9
| | | | | | -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.
* Remove checks for GCC < 4.9trav902018-02-04-3/+1
|
* Add m-esr52 at 52.6.0Matt A. Tobin2018-02-02-0/+604