[clang] [Clang] Improve infrastructure for libstdc++ workarounds (PR #141977)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Thu May 29 09:48:45 PDT 2025


================
@@ -129,6 +129,12 @@ enum class EmbedResult {
   Empty = 2,    // Corresponds to __STDC_EMBED_EMPTY__
 };
 
+struct CXXStandardLibraryVersionInfo {
+  enum Library { Unknow, LibStdCXX };
+  Library Lib;
+  unsigned Version;
----------------
erichkeane wrote:

IIRC there is an llvm::Version type, I find myself wondering if we should use that?

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


More information about the cfe-commits mailing list