diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2021-11-07 16:43:49 +0800 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2021-11-07 21:38:17 +0800 |
| commit | bf3c52f3552ff4b1b5bd7f73e50dd71523296f3f (patch) | |
| tree | b7ce59101801ba497a8a37a1eb2e509f1eea05cc /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 051e2b40c9417a761ca3f35b07a709580178ec61 (diff) | |
| download | rust-bf3c52f3552ff4b1b5bd7f73e50dd71523296f3f.tar.gz rust-bf3c52f3552ff4b1b5bd7f73e50dd71523296f3f.zip | |
ast: Fix naming conventions in AST structures
TraitKind -> Trait TyAliasKind -> TyAlias ImplKind -> Impl FnKind -> Fn All `*Kind`s in AST are supposed to be enums. Tuple structs are converted to braced structs for the types above, and fields are reordered in syntactic order. Also, mutable AST visitor now correctly visit spans in defaultness, unsafety, impl polarity and constness.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
