I noticed that in my local Mozilla build, the GR_FALLTHROUGH macro is not recognized (by compiler "Apple LLVM version 8.0.0 (clang-800.0.42.1)"), with the result that a bunch of unwanted warnings about fallthrough get generated.
Comparing how MOZ_FALLTHROUGH (used elsewhere in Gecko) is defined, I suggest a change such as this, which allows the annotation to be recognized by more compiler versions, and reduces noise in the build log.
I noticed that in my local Mozilla build, the GR_FALLTHROUGH macro is not recognized (by compiler "Apple LLVM version 8.0.0 (clang-800.0.42.1)"), with the result that a bunch of unwanted warnings about fallthrough get generated.
Comparing how MOZ_FALLTHROUGH (used elsewhere in Gecko) is defined, I suggest a change such as this, which allows the annotation to be recognized by more compiler versions, and reduces noise in the build log.