llvm-project/clang-tools-extra/docs
Angel Garcia Gomez 8dedeb0230 Add modernize-use-default check to clang-tidy.
Summary:
Add a check that replaces empty bodies of special member functions with '= default;'.
For now, it is only implemented for the default constructor and the destructor, which are the easier cases.
The copy-constructor and the copy-assignment operator cases will be implemented later.

I applied this check to the llvm code base and found 627 warnings (385 in llvm, 9 in compiler-rt, 220 in clang and 13 in clang-tools-extra).
Applying the fixes didn't break any build or test, it only caused a -Wpedantic warning in lib/Target/Mips/MipsOptionRecord.h:33 becaused it replaced
virtual ~MipsOptionRecord(){}; to virtual ~MipsOptionRecord()= default;;

Reviewers: klimek

Subscribers: george.burgess.iv, Eugene.Zelenko, alexfh, cfe-commits

Differential Revision: http://reviews.llvm.org/D13871

llvm-svn: 250897
2015-10-21 12:58:15 +00:00
..
clang-tidy Add modernize-use-default check to clang-tidy. 2015-10-21 12:58:15 +00:00
AddOverrideTransform.rst Revert a LLVM_OVERRIDE to 'override' change in documentation. My search and replace was a little overzealous. 2014-03-02 10:24:34 +00:00
Doxyfile [clang-tidy] Move clang-tidy docs to a separate directory. Create doc files for checks 2015-08-27 18:10:07 +00:00
LoopConvertTransform.rst Rename cpp11-migrate to clang-modernize. 2013-09-04 17:35:07 +00:00
Makefile Add doxygen support for the tools in clang-tools-extra 2013-02-28 16:46:40 +00:00
MigratorUsage.rst clang-modernize: Tweak docs after rename 2013-09-06 19:27:19 +00:00
ModernizerUsage.rst docs: Spell a couple of cmake options with =ON in the docs 2015-05-18 05:05:49 +00:00
ModularizeUsage.rst Added mechanism to modularize for doing a compilation precheck 2015-07-10 00:37:25 +00:00
PassByValueTransform.rst Rename cpp11-migrate to clang-modernize. 2013-09-04 17:35:07 +00:00
README.txt cpp11-migrate: Add Replace-AutoPtr Transform 2013-07-03 13:21:24 +00:00
ReplaceAutoPtrTransform.rst Rename cpp11-migrate to clang-modernize. 2013-09-04 17:35:07 +00:00
UseAutoTransform.rst Rename cpp11-migrate to clang-modernize. 2013-09-04 17:35:07 +00:00
UseNullptrTransform.rst Rename cpp11-migrate to clang-modernize. 2013-09-04 17:35:07 +00:00
clang-modernize.rst Add a deprecation notice to the clang-modernize documentation. 2015-09-10 09:42:01 +00:00
clang-tidy.rst [clang-tidy] Automatically redirect to the new page. 2015-09-09 15:23:39 +00:00
conf.py docs/conf.py: bump version to 3.8 2015-07-14 23:37:08 +00:00
cpp11-migrate.rst clang-modernize: Tweak docs after rename 2013-09-06 19:27:19 +00:00
index.rst [clang-tidy] Move clang-tidy docs to a separate directory. Create doc files for checks 2015-08-27 18:10:07 +00:00
make.bat
modularize.rst Fixing a sphinx warning. 2015-09-28 19:27:37 +00:00
pp-trace.rst Prospective build fix following clang r210518 2014-06-10 09:58:45 +00:00

README.txt

-------------------------------------------------------------
Documentation for the tools of clang-tools-extra repo project
-------------------------------------------------------------

Sphinx and doxygen documentation is generated by executing make.

Sphinx html files can be generated separately using make html.

Doxygen html files can also be generated using make doxygen.

The generated documentation will be placed in _build/html.