llvm-project/clang/lib/Basic/Targets
Michal Gorny 5a409d0e30 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
2018-12-20 13:09:30 +00:00
..
AArch64.cpp Replace getOS() == llvm::Triple::*BSD with isOS*BSD() [NFCI] 2018-12-20 13:09:30 +00:00
AArch64.h [AArch64] Implement FP16FML intrinsics 2018-10-25 23:47:00 +00:00
AMDGPU.cpp Move CodeGenOptions from Frontend to Basic 2018-12-11 03:18:39 +00:00
AMDGPU.h AMDGPU: Move target code into TargetParser 2018-08-21 16:13:29 +00:00
ARC.cpp [clang][ARC] Add ARCTargetInfo 2018-11-27 19:52:10 +00:00
ARC.h [clang][ARC] Add ARCTargetInfo 2018-11-27 19:52:10 +00:00
ARM.cpp Replace getOS() == llvm::Triple::*BSD with isOS*BSD() [NFCI] 2018-12-20 13:09:30 +00:00
ARM.h [Targets] Implement getConstraintRegister for ARM and AArch64 2018-04-30 09:11:08 +00:00
AVR.cpp Add Rest of Targets Support to ValidCPUList (enabling march notes) 2018-02-08 23:16:55 +00:00
AVR.h [AVR] Set the program address space in the data layout 2018-02-19 10:46:16 +00:00
BPF.cpp Add Rest of Targets Support to ValidCPUList (enabling march notes) 2018-02-08 23:16:55 +00:00
BPF.h bpf: recognize target specific option -mattr=dwarfris in clang 2018-06-15 15:53:31 +00:00
Hexagon.cpp [Hexagon] Add support for Hexagon V66 2018-12-05 21:38:35 +00:00
Hexagon.h Add Rest of Targets Support to ValidCPUList (enabling march notes) 2018-02-08 23:16:55 +00:00
Lanai.cpp Add Rest of Targets Support to ValidCPUList (enabling march notes) 2018-02-08 23:16:55 +00:00
Lanai.h Add Rest of Targets Support to ValidCPUList (enabling march notes) 2018-02-08 23:16:55 +00:00
Le64.cpp
Le64.h
MSP430.cpp
MSP430.h
Mips.cpp [clang][mips] Set __mips_fpr correctly for -mfpxx 2018-08-22 09:26:25 +00:00
Mips.h Replace getOS() == llvm::Triple::*BSD with isOS*BSD() [NFCI] 2018-12-20 13:09:30 +00:00
NVPTX.cpp Add gfx909 to GPU Arch 2018-10-24 21:19:02 +00:00
NVPTX.h [NVPTX] Removed 'satom' feature which is no longer used. 2018-04-11 17:51:33 +00:00
Nios2.cpp
Nios2.h Add Rest of Targets Support to ValidCPUList (enabling march notes) 2018-02-08 23:16:55 +00:00
OSTargets.cpp NFC: Remove the ObjC1/ObjC2 distinction from clang (and related projects) 2018-10-30 20:31:30 +00:00
OSTargets.h Basic: make `int_least64_t` and `int_fast64_t` match on Darwin 2018-12-12 17:05:20 +00:00
PNaCl.cpp
PNaCl.h
PPC.cpp Replace getOS() == llvm::Triple::*BSD with isOS*BSD() [NFCI] 2018-12-20 13:09:30 +00:00
PPC.h Replace getOS() == llvm::Triple::*BSD with isOS*BSD() [NFCI] 2018-12-20 13:09:30 +00:00
RISCV.cpp [PATCH] [RISCV] Extend getTargetDefines for RISCVTargetInfo 2018-04-05 12:54:00 +00:00
RISCV.h [PATCH] [RISCV] Extend getTargetDefines for RISCVTargetInfo 2018-04-05 12:54:00 +00:00
SPIR.cpp
SPIR.h [SPIR] Prevent SPIR targets from using half conversion intrinsics 2018-06-20 09:49:40 +00:00
Sparc.cpp [Sparc] Add floating-point register names 2018-05-30 06:02:18 +00:00
Sparc.h Replace getOS() == llvm::Triple::*BSD with isOS*BSD() [NFCI] 2018-12-20 13:09:30 +00:00
SystemZ.cpp Add Rest of Targets Support to ValidCPUList (enabling march notes) 2018-02-08 23:16:55 +00:00
SystemZ.h Add Rest of Targets Support to ValidCPUList (enabling march notes) 2018-02-08 23:16:55 +00:00
TCE.cpp
TCE.h [OpenCL] Add LangAS::opencl_private to represent private address space in AST 2017-10-13 03:37:48 +00:00
WebAssembly.cpp [WebAssembly] Add exception handling option 2018-03-02 00:39:16 +00:00
WebAssembly.h [WebAssembly] Change size_t to `unsigned long`. 2018-07-24 00:29:58 +00:00
X86.cpp [X86] Add -march=cascadelake support in clang. 2018-11-27 18:05:14 +00:00
X86.h Fix clang -Wimplicit-fallthrough warnings across llvm, NFC 2018-11-01 19:54:45 +00:00
XCore.cpp
XCore.h