================
@@ -419,6 +421,12 @@ void BareMetal::AddClangSystemIncludeArgs(const ArgList 
&DriverArgs,
       llvm::sys::path::append(Dir, "include");
       addSystemInclude(DriverArgs, CC1Args, Dir.str());
     }
+    SmallString<128> Dir = SysRootDir;
----------------
petrhosek wrote:

Nit: I'd use copy constructor over assignment operator for consistency with the 
existing code.
```suggestion
    SmallString<128> Dir(SysRootDir);
```

https://github.com/llvm/llvm-project/pull/165321
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to