summaryrefslogtreecommitdiff
path: root/Userland/Services/Clipboard
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2023-01-20 07:20:01 -0500
committerTim Flynn <trflynn89@pm.me>2023-01-20 14:24:12 -0500
commitd48266a42039b801f5833e9a28634eb94eff7953 (patch)
tree71b06e42428c1e57ba5773d2efe51a2d615dcb5e /Userland/Services/Clipboard
parente63477867988d2488d7493f7e716d587fde488d0 (diff)
downloadserenity-d48266a42039b801f5833e9a28634eb94eff7953.zip
AK: Support creating known short string literals at compile time
In cases where we know a string literal will fit in the short string storage, we can do so at compile time without needing to handle error propagation. If the provided string literal is too long, a compilation error will be emitted due to the failed VERIFY statement being a non- constant expression.
Diffstat (limited to 'Userland/Services/Clipboard')
0 files changed, 0 insertions, 0 deletions