[clang] [llvm] [Clang] Only define `wchar_size` module flag if non-standard (PR #184668)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 4 11:53:11 PST 2026


================
@@ -1239,6 +1239,17 @@ class Triple {
     return isOSBinFormatXCOFF() || isWasm();
   }
 
+  /// Returns the default wchar_t size (in bytes) for this target triple.
+  unsigned getDefaultWCharSize() const {
----------------
jhuber6 wrote:

Done

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


More information about the cfe-commits mailing list