about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2014-02-08 00:26:30 -0800
committerbors <bors@rust-lang.org>2014-02-08 00:26:30 -0800
commit95483e30a2fd18ddb72c50a17a87cf8439c8f2bd (patch)
tree4510ca2aed050f97a950954d5ba0d8b14cd0d066 /src/rustllvm/PassWrapper.cpp
parentb2c1a8164905e4130200287d5c38063f242a2ab1 (diff)
parent5e2de79b3054a815a45b9f4c641d7f1356f2291b (diff)
downloadrust-95483e30a2fd18ddb72c50a17a87cf8439c8f2bd.tar.gz
rust-95483e30a2fd18ddb72c50a17a87cf8439c8f2bd.zip
auto merge of #12086 : huonw/rust/safe-json, r=kballard
The lexer and json were using `transmute(-1): char` as a sentinel value for EOF, which is invalid since `char` is strictly a unicode codepoint.

Fixing this allows for range asserts on chars since they always lie between 0 and 0x10FFFF.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions