[Driver] Add an assert to Darwin::isTargetMacOS() for consistency.

llvm-svn: 239967
This commit is contained in:
Alexey Samsonov 2015-06-17 22:51:12 +00:00
parent 3aa039a4a8
commit 60e85f8c9e
1 changed files with 1 additions and 0 deletions

View File

@ -412,6 +412,7 @@ protected:
}
bool isTargetMacOS() const {
assert(TargetInitialized && "Target not initialized!");
return TargetPlatform == MacOS;
}