summaryrefslogtreecommitdiff
path: root/tools/yaml2obj/yaml2elf.cpp
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2014-03-31 07:59:14 +0000
committerYaron Keren <yaron.keren@gmail.com>2014-03-31 07:59:14 +0000
commit358d68d3833fe7c12e4f475fd14867f6a37ba1c8 (patch)
treeb8ccedb81d9a5bb9bd7f1a74e030f709b7aeb10a /tools/yaml2obj/yaml2elf.cpp
parent379e2cf307dd2e5e63abe0819db15889c13a4911 (diff)
downloadllvm-358d68d3833fe7c12e4f475fd14867f6a37ba1c8.tar.gz
llvm-358d68d3833fe7c12e4f475fd14867f6a37ba1c8.tar.bz2
llvm-358d68d3833fe7c12e4f475fd14867f6a37ba1c8.tar.xz
Correct OS conditionals following r204977 and r204978.
Previously, MinGW OS was Triple::MinGW and Cygwin was Triple::Cygwin and now it is Triple::Win32 with Environment being GNU or Cygwin. So, TheTriple.getOS() == Triple::Win32 is replaced by TheTriple.isWindowsMSVCEnvironment() and (TheTriple.getOS() == Triple::MinGW32 || TheTriple.getOS() == Triple::Cygwin) is replaced by TheTriple.isOSCygMing() git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205170 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/yaml2obj/yaml2elf.cpp')
0 files changed, 0 insertions, 0 deletions