diff options
author | Tim Northover <tnorthover@apple.com> | 2013-12-10 16:57:43 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2013-12-10 16:57:43 +0000 |
commit | 9653eb575990bf5c1977d7cd72380bd47506e4ff (patch) | |
tree | 375e2a347f82b684ed9c4d4249484ce5dac5a140 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | a7830a47f13ff616e406f5f1174f5d6ff34b09c0 (diff) | |
download | llvm-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