diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-06-10 11:18:06 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2022-06-14 13:06:44 +1000 |
| commit | 7969056f6fec0e1ead7f90461e1971ca353dc145 (patch) | |
| tree | 10e92fd8b35d780e6f6af63e9e19933ca732f779 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | d02499794373b25af281e69a52a7a0608f7b3bfd (diff) | |
| download | rust-7969056f6fec0e1ead7f90461e1971ca353dc145.tar.gz rust-7969056f6fec0e1ead7f90461e1971ca353dc145.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/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
