mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 16:50:51 +08:00
Fix assertion error.
llvm-svn: 196863
This commit is contained in:
@@ -715,7 +715,7 @@ int main(int Argc, const char **Argv) {
|
||||
}
|
||||
|
||||
// If we are in assistant mode, output the module map and quit.
|
||||
if (ModuleMapPath[0]) {
|
||||
if (ModuleMapPath.length() != 0) {
|
||||
if (!createModuleMap(ModuleMapPath, Headers, Dependencies, HeaderPrefix,
|
||||
RootModule))
|
||||
return 1; // Failed.
|
||||
|
||||
Reference in New Issue
Block a user