[clang] [Clang] Add clang flag --cstdlib (PR #183254)

Petr Hosek via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 4 00:56:32 PST 2026


================
@@ -194,6 +201,7 @@ class ToolChain {
   mutable std::optional<CXXStdlibType> cxxStdlibType;
   mutable std::optional<RuntimeLibType> runtimeLibType;
   mutable std::optional<UnwindLibType> unwindLibType;
+  mutable std::optional<CStdLibType> cStdLibType;
----------------
petrhosek wrote:

```suggestion
  mutable std::optional<CStdLibType> cStdlibType;
```
For consistency with `cxxStdlibType`.

https://github.com/llvm/llvm-project/pull/183254


More information about the cfe-commits mailing list