[clang] [C23] Implement N3018: The constexpr specifier for object definitions (PR #73099)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 15 09:37:41 PST 2024
================
@@ -1862,6 +1862,17 @@ class StringLiteral final
llvm_unreachable("Unsupported character width!");
}
+ // Get code unit but preserve sign info.
+ int64_t getCodeUnitS(size_t I, uint64_t BitWidth) const {
----------------
AaronBallman wrote:
CC @cor3ntin @tahonermann for opinions on everything related to the word combination "code unit" ;-)
https://github.com/llvm/llvm-project/pull/73099
More information about the cfe-commits
mailing list