diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-05-03 15:12:43 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-05-04 06:15:36 +1000 |
| commit | 1d2e172935a90ecc146ac4b9e82ab1485f4d7fdd (patch) | |
| tree | 983a7a50a6e7afc607e55a35a56d1b0f8ab7fda4 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | bbef9756ea5a0b30f737aa038ea8622159cff08a (diff) | |
| download | rust-1d2e172935a90ecc146ac4b9e82ab1485f4d7fdd.tar.gz rust-1d2e172935a90ecc146ac4b9e82ab1485f4d7fdd.zip | |
Remove unnecessary `NtIdent` in `Token::is_whole_expr`.
The comment on this function explains that it's a specialized version of `maybe_whole_expr`. But `maybe_whole_expr` doesn't do anything with `NtIdent`, so `is_whole_expr` also doesn't need to.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
