Skip to content

Commit

Permalink
Merge branch 'master' into consistent-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
x-mass authored Dec 27, 2023
2 parents 951c9d3 + e44dcfd commit 01547b6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions clang/lib/Driver/ToolChains/Assigner.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
#include "Gnu.h"
#include "clang/Driver/Tool.h"
#include "clang/Driver/ToolChain.h"
#include "llvm/Support/Path.h"

namespace clang {
namespace driver {
Expand Down Expand Up @@ -55,6 +56,9 @@ class LLVM_LIBRARY_VISIBILITY Assigner final : public ToolChain {
const llvm::opt::ArgList &DriverArgs,
llvm::opt::ArgStringList &CC1Args) const override {
addSystemInclude(DriverArgs, CC1Args, "/usr/include/zkllvm/c++");
SmallString<128> ResourceDirInclude(getDriver().ResourceDir);
llvm::sys::path::append(ResourceDirInclude, "include");
addSystemInclude(DriverArgs, CC1Args, ResourceDirInclude);
}

};
Expand Down

0 comments on commit 01547b6

Please sign in to comment.