[clang] [RISCV] Merging RISCVToolChain and BareMetal toolchains (PR #118809)
Craig Topper via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 5 17:05:54 PST 2024
================
@@ -325,6 +429,19 @@ void BareMetal::addClangTargetOptions(const ArgList &DriverArgs,
CC1Args.push_back("-nostdsysteminc");
}
+void BareMetal::addLibStdCxxIncludePaths(
+ const llvm::opt::ArgList &DriverArgs,
+ llvm::opt::ArgStringList &CC1Args) const {
+ if (GCCInstallation.isValid()) {
----------------
topperc wrote:
Invert condition and return early to reduce indentation
https://github.com/llvm/llvm-project/pull/118809
More information about the cfe-commits
mailing list