diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-03-04 16:31:49 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2024-03-05 08:11:45 +1100 |
| commit | b74b4b09d118aed77d41387642d4f7b7b6b4c487 (patch) | |
| tree | 31444727d4a587749f75e75f013810d645b0a2c2 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 550b2761097219da90c6e165549afc590c294f3f (diff) | |
| download | rust-b74b4b09d118aed77d41387642d4f7b7b6b4c487.tar.gz rust-b74b4b09d118aed77d41387642d4f7b7b6b4c487.zip | |
Rename all `ParseSess` variables/fields/lifetimes as `psess`.
Existing names for values of this type are `sess`, `parse_sess`, `parse_session`, and `ps`. `sess` is particularly annoying because that's also used for `Session` values, which are often co-located, and it can be difficult to know which type a value named `sess` refers to. (That annoyance is the main motivation for this change.) `psess` is nice and short, which is good for a name used this much. The commit also renames some `parse_sess_created` values as `psess_created`.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
