about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-03-09 15:05:38 +0000
committerbors <bors@rust-lang.org>2019-03-09 15:05:38 +0000
commit920112d723e3d4162e72ad29070ebf9cf65feb38 (patch)
tree5d54b0d5d1607fc2f37f2f8bdc927e7a574849d1 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentccfbfb80975ff1233f664a50163cb5f983aab916 (diff)
parent34685a5f6039ec406962730cf2613044a4d8f31c (diff)
downloadrust-920112d723e3d4162e72ad29070ebf9cf65feb38.tar.gz
rust-920112d723e3d4162e72ad29070ebf9cf65feb38.zip
Auto merge of #3824 - phansch:adding_lints, r=phansch
Add lint writing documentation

[Rendered](https://github.com/phansch/rust-clippy/blob/adding_lints/doc/adding_lints.md)

This adds a new documentation page that explains how to write Clippy
lints. It guides the reader through creating a `foo` function lint.

I plan to iterate a bit more on the prose of some sections, but I think the
general structure is fine now, so I'm looking forward to feedback =)

One thing I'm not sure about: I felt like this is too big for CONTRIBUTING.md
so I put it into a new `doc/` directory. I can imagine having more
documentation in the future, so we might even want to create a book using
mdbook instead? Or should everything go into CONTRIBUTING.md?

Further things left to do:

- [x] Link from CONTRIBUTING.md
- [x] Remove things covered in this guide from CONTRIBUTING.md
- [x] Section about `clippy::author` attribute
- [x] Run `remark-lint` on CI over the `doc` directory and fix things
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions