Alexander Kornienko
01c2da1e09
Fixed script name in the clang-tidy documentation.
...
llvm-svn: 230198
2015-02-23 01:12:41 +00:00
John Thompson
a5666cadbb
Deleted module-map-checker, as it's been folded into modularize.
...
llvm-svn: 230014
2015-02-20 14:28:10 +00:00
John Thompson
8eb8d93672
Added module map coverage support, extracted from module-map-checker.
...
llvm-svn: 229869
2015-02-19 16:47:27 +00:00
John Thompson
9cb7964641
Added support for extracting headers from module maps as a source for the header list.
...
llvm-svn: 229692
2015-02-18 16:14:32 +00:00
John Thompson
469bbc002a
Added support for multiple header list files, as a precursor for when we need to load multiple module maps.
...
llvm-svn: 228935
2015-02-12 16:22:09 +00:00
John Thompson
ecd3b04cd7
Added -block-check-header-list-only option. This is a work-around for private includes that purposefully get included inside blocks.
...
llvm-svn: 228846
2015-02-11 16:58:36 +00:00
John Thompson
e0aa5fea15
Renamed module.map to module.modulemap.
...
llvm-svn: 228692
2015-02-10 14:29:16 +00:00
John Thompson
ae7f5518c3
The -I option needs a space, apparently, from the actual implementation.
...
llvm-svn: 228689
2015-02-10 13:51:17 +00:00
Hans Wennborg
859ea8056d
docs/conf.py: bump version to 3.7
...
llvm-svn: 226015
2015-01-14 18:32:20 +00:00
Alexander Kornienko
5c423318c9
[clang-tidy] Update help messages and docs.
...
Fixed incorrect examples of configuration, clarified the usage of -dump-config.
llvm-svn: 223235
2014-12-03 14:03:03 +00:00
Alexander Kornienko
e15b004922
[clang-tidy] Updated docs for r220826.
...
llvm-svn: 220830
2014-10-28 22:43:33 +00:00
Alexander Kornienko
44fe05beeb
[clang-tidy] Documented check testing.
...
llvm-svn: 218962
2014-10-03 07:08:22 +00:00
Alexander Kornienko
04e9d9ce64
[clang-tidy] Updated documentation
...
Added an example of check-specific options.
llvm-svn: 218573
2014-09-27 21:47:01 +00:00
Alexander Kornienko
9d32634c61
[clang-tidy] Fix documentation.
...
Try using code-block: console for command-line usage examples.
llvm-svn: 218572
2014-09-27 21:33:33 +00:00
Alexander Kornienko
55d6274de1
[clang-tidy] Fix for the documentation.
...
llvm-svn: 218571
2014-09-27 21:27:05 +00:00
Alexander Kornienko
e088a46a83
[clang-tidy] Updated documentation.
...
llvm-svn: 218570
2014-09-27 21:25:26 +00:00
Alexander Kornienko
09d811c575
Fixed a typo.
...
llvm-svn: 217377
2014-09-08 15:04:35 +00:00
Benjamin Kramer
13460075b3
[clang-tidy] Add a couple of paragraphs on run-clang-tidy.py to the docs.
...
Happy tidying.
llvm-svn: 217373
2014-09-08 14:56:37 +00:00
Benjamin Kramer
044ade8549
Move clang-tools-extra docs 1.5 years into the future.
...
llvm-svn: 217369
2014-09-08 14:04:49 +00:00
Alexander Kornienko
c5ac729131
Added documentation on how clang diagnostics are reported by clang-tidy.
...
llvm-svn: 213147
2014-07-16 13:26:51 +00:00
Tobias Grosser
0fcf3cce2b
[doc] Fix incorrect reference to clang-format -> clang-tidy
...
llvm-svn: 212755
2014-07-10 18:59:25 +00:00
Alp Toker
9d63b5eb7f
Prospective build fix following clang r210518
...
llvm-svn: 210521
2014-06-10 09:58:45 +00:00
Alexander Kornienko
3ab3467cef
Update clang-tidy documentation.
...
Summary:
Updated the help message, updated description of -checks=, removed
mentions of -disable-checks.
Reviewers: klimek
Reviewed By: klimek
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D3793
llvm-svn: 208979
2014-05-16 13:07:18 +00:00
Alexander Kornienko
7c9b29f525
Normalized the usage of override in the doc.
...
llvm-svn: 202710
2014-03-03 13:36:30 +00:00
Craig Topper
e67972c462
Revert a LLVM_OVERRIDE to 'override' change in documentation. My search and replace was a little overzealous.
...
llvm-svn: 202633
2014-03-02 10:24:34 +00:00
Craig Topper
a3dbe84166
[C++11] Replace LLVM_OVERRIDE with 'override'
...
llvm-svn: 202632
2014-03-02 10:20:11 +00:00
Alexander Kornienko
84e30a7346
Adding documentation for clang-tidy.
...
Summary:
Contains a short user's manual and some instructions on writing
clang-tidy checks.
Reviewers: klimek, djasper
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D2880
llvm-svn: 202164
2014-02-25 16:46:13 +00:00
Alp Toker
58983f1398
Fix typo
...
llvm-svn: 198831
2014-01-09 01:39:49 +00:00
John Thompson
e0756452a3
Initial checkin of new module-map-checker tool.
...
llvm-svn: 198693
2014-01-07 15:22:08 +00:00
NAKAMURA Takumi
d40d387fb1
Update the copyright credits -- Happy new year 2014!
...
FIXME: Dragonegg may be updated at non-trivial changes.
llvm-svn: 198274
2014-01-01 08:27:31 +00:00
Alp Toker
9a5134e6be
Fix a variety of user-visible and comment typos
...
llvm-svn: 196038
2013-12-01 05:08:12 +00:00
NAKAMURA Takumi
63bf66816c
Trailing linefeed.
...
llvm-svn: 195357
2013-11-21 13:50:58 +00:00
John Thompson
5100e8e9ae
Reworked moduleImport example with real data.
...
llvm-svn: 194885
2013-11-15 23:26:14 +00:00
John Thompson
41778fd28f
pp-trace user documentation - beginnings
...
llvm-svn: 194081
2013-11-05 14:41:29 +00:00
John Thompson
1da6792242
pp-trace user documentation - beginnings
...
llvm-svn: 193842
2013-11-01 00:39:54 +00:00
John Thompson
5052eb7394
pp-trace user documentation - beginnings
...
llvm-svn: 193841
2013-11-01 00:38:04 +00:00
John Thompson
26ecaf95a2
Added module map generation docs and some clean-up.
...
llvm-svn: 192792
2013-10-16 13:44:21 +00:00
Edwin Vane
c76c0dd952
Update clang-modernizer docs
...
Summary: Docs updated to reflect new behaviour and new options.
Differential Revision: http://llvm-reviews.chandlerc.com/D1841
llvm-svn: 192105
2013-10-07 15:56:25 +00:00
John Thompson
02bad9fbc3
Fix headers, use source quoting.
...
llvm-svn: 191211
2013-09-23 17:57:00 +00:00
John Thompson
8925d4622b
Changed error messages to use source quoting.
...
llvm-svn: 191201
2013-09-23 14:17:27 +00:00
John Thompson
587f6db9e1
Added list of checks made.
...
llvm-svn: 191093
2013-09-20 16:47:33 +00:00
John Thompson
2d2d45e330
Added modularize documentation.
...
llvm-svn: 191091
2013-09-20 14:40:52 +00:00
Ariel J. Bernal
583d095fa4
Transform files in a compilation database if no sources are provided.
...
Compile all files in a compilation database or a subset determined by a
sub-directory so you don't have to specify them manually.
llvm-svn: 190630
2013-09-12 20:10:59 +00:00
Ariel J. Bernal
dfa4c7548b
Point doxygen link to somthing useful.
...
llvm-svn: 190607
2013-09-12 15:26:44 +00:00
Edwin Vane
5a816f044c
clang-modernize: Tweak docs after rename
...
* Removing sphinx warnings about docs not in a toctree.
* Adding more links to cpp11-migrate redirect docs.
llvm-svn: 190195
2013-09-06 19:27:19 +00:00
Edwin Vane
684daa90f2
clang-modernize: Update docs with -include/-exclude
...
-include/-exclude and friends have been marked as hidden options until this
point. This is no longer necessary. Update the docs to describe their effect.
Differential Revision: http://llvm-reviews.chandlerc.com/D1621
llvm-svn: 190194
2013-09-06 19:26:25 +00:00
Chandler Carruth
d9063c46f5
Rename cpp11-migrate to clang-modernize.
...
There is no reason to expect this tool to be limited to C++11, it seems
very likely to be of on-going interest. It seems likely to be useful for
modernizing even as new libraries come out in TSes and other formats
than a complete standard. Fundamentally, we need something a bit more
general. After some discussion on the list, going with
'clang-modernize'.
I've tried to do a reasonably comprehensive job of fixing up the names,
but I may still have missed some. Feel free to poke me if you spot any
fallout here. Things I've tried reasonably hard to find and fix:
- cpp11-migrate -> clang-modernize
- Migrator -> Modernizer
- Clean up the introductory documentation that was C++11 specific.
I'll also point out that this tool continues to delight me. =] Also,
a huge thanks to those who have so carefully, thoroughly documented the
tool. The docs here are simply phenomenal. Every tool should be this
well documented. I hope I have updated the documentation reasonably
well, but I'm not very good at documentation, so review much
appreciated.
llvm-svn: 189960
2013-09-04 17:35:07 +00:00
Edwin Vane
b225be2729
Rename clang-replace -> clang-apply-replacements
...
Made changes throughout clang-tools-extra for the renaming of
clang-replace to clang-apply-replacements as per feedback from
community.
llvm-svn: 189832
2013-09-03 17:58:19 +00:00
Guillaume Papin
81332632b1
cpp11-migrate: Add Pass-By-Value Transform
...
Currently only constructor parameters stored in class-local storage are modified
to make use of the pass-by-value idiom but this is a base that can be be further
improved to handle more situations.
This commit is the same as r189363 with additionnal fixes for the build issues.
llvm-svn: 189584
2013-08-29 13:42:13 +00:00
Eric Christopher
35c6b614ea
Temporarily revert r189363 as it seems to be failing to build.
...
llvm-svn: 189387
2013-08-27 17:26:07 +00:00