[clang] [C23] Implement N3018: The constexpr specifier for object definitions (PR #73099)
Mariya Podchishchaeva via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 26 09:16:25 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 {
----------------
Fznamznon wrote:
FYI https://github.com/llvm/llvm-project/pull/73099#pullrequestreview-1765410034 .
https://github.com/llvm/llvm-project/pull/73099
More information about the cfe-commits
mailing list