[PATCH] D76079: [Hexagon] Enable init_arrays when target is linux-musl
Brian Cain via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Mar 12 11:23:36 PDT 2020
bcain added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Hexagon.cpp:548
+
+ bool UseInitArrayDefault = (getTriple().isMusl()) ? true : false;
----------------
The ternary is unnecessary.
```
bool UseInitArrayDefault = getTriple().isMusl();
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D76079/new/
https://reviews.llvm.org/D76079
More information about the cfe-commits
mailing list