aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-02-27 00:26:25 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-02-27 00:27:53 -0700
commit3f844cba0b601186bb20efa6090e944b9267f538 (patch)
tree1fe8a2020b0bf8293bfbea43a8a6835eeac4eb8e /src/codegen/llvm.zig
parent081698156141ba16a168d9448b9883c0f5a3edd0 (diff)
downloadzig-3f844cba0b601186bb20efa6090e944b9267f538.tar.gz
zig-3f844cba0b601186bb20efa6090e944b9267f538.zip
std.zig.fmt escaped string formatting recognizes single quote style
This introduces {'} to indicate escape for a single-quoted string, and {} to indicate escape for a double quoted string. Without this, there would be unnecessary \' inside double quoted strings, and unnecessary \" inside single quoted strings. Motivated by the llvm12 branch, in the new tool I am writing for updating target CPU features.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions