ADT/Triple: Switch to using .isOSDarwin() predicate.
llvm-svn: 129823
This commit is contained in:
@@ -150,7 +150,7 @@ void CodeGenModule::DecorateInstruction(llvm::Instruction *Inst,
|
||||
}
|
||||
|
||||
bool CodeGenModule::isTargetDarwin() const {
|
||||
return getContext().Target.getTriple().getOS() == llvm::Triple::Darwin;
|
||||
return getContext().Target.getTriple().isOSDarwin();
|
||||
}
|
||||
|
||||
void CodeGenModule::Error(SourceLocation loc, llvm::StringRef error) {
|
||||
|
||||
Reference in New Issue
Block a user