about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorJulian Wollersberger <24991778+Julian-Wollersberger@users.noreply.github.com>2020-05-13 09:52:01 +0200
committerJulian Wollersberger <24991778+Julian-Wollersberger@users.noreply.github.com>2020-05-13 09:52:01 +0200
commit18cc63d693a3a1d130ba533994c895b56fed3769 (patch)
treef98e9b155f0c9469db3cd14c629a348aaa3be813 /src/rustllvm/PassWrapper.cpp
parent1be5d1eabb957c8b0bd0f4564a5f7c8bef1826bb (diff)
downloadrust-18cc63d693a3a1d130ba533994c895b56fed3769.tar.gz
rust-18cc63d693a3a1d130ba533994c895b56fed3769.zip
Unified `validate_{byte,str,raw_str,raw_byte_str}_escape` methods into one method `validate_literal_escape` with a mode argument.
This enables simplifying the `match` in `cook_lexer_literal()`
and it eliminates 90 lines of repetition :)
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions