aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2013-12-10 16:57:43 +0000
committerTim Northover <tnorthover@apple.com>2013-12-10 16:57:43 +0000
commit9653eb575990bf5c1977d7cd72380bd47506e4ff (patch)
tree375e2a347f82b684ed9c4d4249484ce5dac5a140 /clang/lib/Frontend/CompilerInvocation.cpp
parenta7830a47f13ff616e406f5f1174f5d6ff34b09c0 (diff)
downloadllvm-9653eb575990bf5c1977d7cd72380bd47506e4ff.zip
llvm-9653eb575990bf5c1977d7cd72380bd47506e4ff.tar.gz
llvm-9653eb575990bf5c1977d7cd72380bd47506e4ff.tar.bz2
Make Triple's isOSBinFormatXXX functions partition triple-space.
Most users would be surprised if "isCOFF" and "isMachO" were simultaneously true, unless they'd put the compiler in a box with a gun attached to a photon detector. This makes sure precisely one of the three formats is true for any triple and simplifies some target logic based on that. llvm-svn: 196934
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions