[msan] Fix -Wreturn-type warnings in non-self-hosted build.

llvm-svn: 191361
This commit is contained in:
Evgeniy Stepanov 2013-09-25 08:56:00 +00:00
parent 64b1292bc2
commit 32be0340f5
1 changed files with 2 additions and 0 deletions

View File

@ -918,6 +918,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
case SequentiallyConsistent:
return SequentiallyConsistent;
}
llvm_unreachable("Unknown ordering");
}
AtomicOrdering addAcquireOrdering(AtomicOrdering a) {
@ -934,6 +935,7 @@ struct MemorySanitizerVisitor : public InstVisitor<MemorySanitizerVisitor> {
case SequentiallyConsistent:
return SequentiallyConsistent;
}
llvm_unreachable("Unknown ordering");
}
// ------------------- Visitors.