[PATCH] D52784: [ARM][AArch64] Pass through endianness flags to the GNU assembler and linker

Dávid Bolvanský via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 19 00:17:51 PDT 2018


xbolva00 added inline comments.


================
Comment at: lib/Driver/ToolChains/Gnu.cpp:241
+  case llvm::Triple::thumbeb:
+    IsBigEndian = true;
+  case llvm::Triple::arm:
----------------
peter.smith wrote:
> xbolva00 wrote:
> > Gnu.cpp:241:17: warning: this statement may fall through [-Wimplicit-fallthrough=]
> >      IsBigEndian = true;
> The fall through is intentional in this case.
Please mark it with LLVM_FALLTHROUGH then.


Repository:
  rC Clang

https://reviews.llvm.org/D52784





More information about the cfe-commits mailing list