about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2018-02-18 16:59:33 -0800
committerEsteban Küber <esteban@kuber.com.ar>2018-02-27 10:46:23 -0800
commitba7039cfd6331fb532c8a68aa79e6af4ef9b62df (patch)
treea126782bd61af10433bf050ca0b35052ea05a18f /src/rustllvm/RustWrapper.cpp
parent0c9afa87ba8145d09a2c4af7b15a9a23ad470fc8 (diff)
downloadrust-ba7039cfd6331fb532c8a68aa79e6af4ef9b62df.tar.gz
rust-ba7039cfd6331fb532c8a68aa79e6af4ef9b62df.zip
Detect missing `if` blocks
When unnecessarily using a fat arrow after an if condition, suggest the
removal of it.

When finding an if statement with no block, point at the `if` keyword to
provide more context.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions