| commit | 5a409d0e301849e67beeee5e7d50dc4e931a0f77 | [log] [tgz] |
|---|---|---|
| author | Michal Gorny <mgorny@gentoo.org> | Thu Dec 20 13:09:30 2018 +0000 |
| committer | Michal Gorny <mgorny@gentoo.org> | Thu Dec 20 13:09:30 2018 +0000 |
| tree | 492417f8ca391d43c9b226d1863dc36bc43beb61 | |
| parent | 22ca9c628a2f2c1421105a48284329d70a4d572d [diff] |
Replace getOS() == llvm::Triple::*BSD with isOS*BSD() [NFCI] Replace multiple comparisons of getOS() value with FreeBSD, NetBSD, OpenBSD and DragonFly with matching isOS*BSD() methods. This should improve the consistency of coding style without changing the behavior. Direct getOS() comparisons were left whenever used in switch or switch- like context. Differential Revision: https://reviews.llvm.org/D55916 llvm-svn: 349752