David Blaikie
e04a3da093
Revert "Apply modernize-use-default to clang-tools-extra."
...
Breaks the build in GCC 4.7.2 (see
http://lab.llvm.org:8011/builders/perf-x86_64-penryn-O3 for example)
This reverts commit r250824.
llvm-svn: 250862
2015-10-20 21:45:52 +00:00
Angel Garcia Gomez
3ca34bc870
Apply modernize-use-default to clang-tools-extra.
...
Summary: Replace empty bodies of default constructors and destructors with '= default'.
Reviewers: klimek
Subscribers: alexfh, cfe-commits
Differential Revision: http://reviews.llvm.org/D13889
llvm-svn: 250824
2015-10-20 12:56:27 +00:00
Daniel Jasper
d30dc3fc75
Fix IncludeInserter to allow for more than one added header per file.
...
Also adapt tests a bit to make it possible to test this. Removed
checking the number of errors reported per test. It was never actually
checked and doesn't seem particularly relevant to the test itself.
llvm-svn: 245500
2015-08-19 21:02:27 +00:00
Alexander Kornienko
5f252cac51
[clang-tidy] Move IncludeSorter.* and IncludeInserter.* to clang-tidy/utils/
...
This is better structurally and it also fixes a linker error in the configure
build.
llvm-svn: 245052
2015-08-14 14:31:31 +00:00