================ @@ -491,6 +491,9 @@ class Triple { /// For example, "fooos1.2.3" would return "1.2.3". StringRef getEnvironmentVersionString() const; + /// getSystemCharset - Get the system charset of the triple. + StringRef getSystemCharset() const; + ---------------- zygoloid wrote:
Would it make sense to include "Narrow" in the name here too? (This applies to `'x'` and `"x"`, not to the wide character set used by `L'x'` or `L"x"`.) https://github.com/llvm/llvm-project/pull/138895 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits