about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2022-09-29 10:15:17 -0700
committerGitHub <noreply@github.com>2022-09-29 10:15:17 -0700
commit0878bee38adbc06b0f70664a1924bf3a09922338 (patch)
tree895f23edf076ccf6b73955b85f360fcf4cddd590 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent65445a571c11f07f4ca1ed0f63bad247ae295bd0 (diff)
parente5096d4cba080f94448a4e766243f0f0e8083583 (diff)
downloadrust-0878bee38adbc06b0f70664a1924bf3a09922338.tar.gz
rust-0878bee38adbc06b0f70664a1924bf3a09922338.zip
Rollup merge of #102214 - cassaundra:fix-format-args-span, r=cjgillot
Fix span of byte-escaped left format args brace

Fix #102057 (see issue for example).

Previously, the use of escaped left braces (`\x7B`) in format args resulted in an incorrectly offset span. This patch fixes that by considering any escaped characters within the string instead of using a constant offset.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions