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

via cfe-commits cfe-commits at lists.llvm.org
Mon Mar 2 02:41:12 PST 2026


================
@@ -194,6 +194,7 @@ class ToolChain {
   mutable std::optional<CXXStdlibType> cxxStdlibType;
   mutable std::optional<RuntimeLibType> runtimeLibType;
   mutable std::optional<UnwindLibType> unwindLibType;
+  mutable std::optional<std::string> cstdlibType;
----------------
quic-k wrote:

@voltur01 
do you prefer enums over a string here, considering above points?
since you will using this flag too

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


More information about the cfe-commits mailing list