forked from OSchip/llvm-project
[Driver] Add an assert to Darwin::isTargetMacOS() for consistency.
llvm-svn: 239967
This commit is contained in:
parent
3aa039a4a8
commit
60e85f8c9e
|
@ -412,6 +412,7 @@ protected:
|
|||
}
|
||||
|
||||
bool isTargetMacOS() const {
|
||||
assert(TargetInitialized && "Target not initialized!");
|
||||
return TargetPlatform == MacOS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue