mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
[6.2][Frontend] -Isystem doesn't work everywhere -I does
We missed a spot where we need to pass -Isystem along with -I. rdar://152267441
This commit is contained in:
@@ -261,7 +261,7 @@ void ToolChain::addCommonFrontendArgs(const OutputInfo &OI,
|
||||
arguments.push_back("-color-diagnostics");
|
||||
}
|
||||
|
||||
inputArgs.AddAllArgs(arguments, options::OPT_I);
|
||||
inputArgs.addAllArgs(arguments, {options::OPT_I, options::OPT_Isystem});
|
||||
inputArgs.addAllArgs(arguments, {options::OPT_F, options::OPT_Fsystem});
|
||||
inputArgs.AddAllArgs(arguments, options::OPT_vfsoverlay);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user