[PATCH] D32907: [ELF] - Fix warnings when LLD compiled using gcc 7.1.0

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 11:26:45 PDT 2017


ruiu added a comment.

LLVM_FALLTHROUGH is expanded to nothing if a compiler doesn't support [[fallthrough]] or [[clang::fallthrough]]. So it should compile. But I'm not sure if that fixes the issue with a gcc version that doesn't support [[fallthrough]].


https://reviews.llvm.org/D32907





More information about the llvm-commits mailing list