about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2022-06-10 11:18:06 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2022-06-14 13:06:44 +1000
commitce2b3a9b4c6084eddc4d1c61436b9d41bb1483e5 (patch)
treeb9ad4a508ec51aa4d9e28048566359570d8cd342 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentb867d41ed42c8ef5cd13a78d299577c3d4ab589b (diff)
downloadrust-ce2b3a9b4c6084eddc4d1c61436b9d41bb1483e5.tar.gz
rust-ce2b3a9b4c6084eddc4d1c61436b9d41bb1483e5.zip
Rename the `ConstS::val` field as `kind`.
And likewise for the `Const::val` method.

Because its type is called `ConstKind`. Also `val` is a confusing name
because `ConstKind` is an enum with seven variants, one of which is
called `Value`. Also, this gives consistency with `TyS` and `PredicateS`
which have `kind` fields.

The commit also renames a few `Const` variables from `val` to `c`, to
avoid confusion with the `ConstKind::Value` variant.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions