about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2019-11-17 13:36:12 +0900
committerGitHub <noreply@github.com>2019-11-17 13:36:12 +0900
commitb83d50d34f1d2917784bce825faa8e0c5ceaa4c9 (patch)
treee24f56e7a2716e3236f16a52cbe9f84338c18557 /src/rustllvm/RustWrapper.cpp
parentd8f252670322466af43ba9eb8c81c1151671e070 (diff)
parent28aec1beaa5e16b17143f993cab408debe1dcda5 (diff)
downloadrust-b83d50d34f1d2917784bce825faa8e0c5ceaa4c9.tar.gz
rust-b83d50d34f1d2917784bce825faa8e0c5ceaa4c9.zip
Rollup merge of #66271 - petrochenkov:abism, r=Centril
syntax: Keep string literals in ABIs and `asm!` more precisely

As a result we don't lose spans when `extern` functions or blocks are passed to proc macros, and also escape all string literals consistently.
Continuation of https://github.com/rust-lang/rust/pull/60679, which did a similar thing with all literals besides those in ABIs and `asm!`.

TODO: Add tests.

Fixes https://github.com/rust-lang/rust/issues/60493
Fixes https://github.com/rust-lang/rust/issues/64561
r? @Centril
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions