We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d9884a commit 0d51247Copy full SHA for 0d51247
clang/lib/Driver/ToolChains/Darwin.cpp
@@ -2582,8 +2582,7 @@ void DarwinClang::AddClangSystemIncludeArgs(
2582
llvm::opt::ArgStringList &CC1Args) const {
2583
AppleMachO::AddClangSystemIncludeArgs(DriverArgs, CC1Args);
2584
2585
- if (DriverArgs.hasArg(options::OPT_nostdinc) ||
2586
- DriverArgs.hasArg(options::OPT_nostdlibinc))
+ if (DriverArgs.hasArg(options::OPT_nostdinc, options::OPT_nostdlibinc))
2587
return;
2588
2589
llvm::SmallString<128> Sysroot = GetEffectiveSysroot(DriverArgs);
0 commit comments