| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 224581
|
| |
|
|
| |
llvm-svn: 223914
|
| |
|
|
| |
llvm-svn: 223777
|
| |
|
|
| |
llvm-svn: 223771
|
| |
|
|
|
|
|
|
| |
There are still a vast range of improvements that can be done to this,
but it seems like an ok initial version. Suggestions or patches are
highly welcome.
llvm-svn: 223766
|
| |
|
|
| |
llvm-svn: 223750
|
| |
|
|
| |
llvm-svn: 223651
|
| |
|
|
|
|
|
|
|
|
|
| |
Replace x.reset(y.release()); with x = std::move(y);
If y is rvalue, replace with x = y; instead.
http://reviews.llvm.org/D6485
Patch by Alexey Sokolov!
llvm-svn: 223460
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: klimek
Reviewed By: klimek
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D6506
llvm-svn: 223249
|
| |
|
|
|
|
| |
Fixed incorrect examples of configuration, clarified the usage of -dump-config.
llvm-svn: 223235
|
| |
|
|
| |
llvm-svn: 223232
|
| |
|
|
| |
llvm-svn: 223098
|
| |
|
|
|
|
|
| |
This helps avoiding false positives related to the recently added
std::initializer_list<> handling.
llvm-svn: 222981
|
| |
|
|
| |
llvm-svn: 222924
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
According to the Google C++ Style Guide, constructors taking a single
std::initializer_list<> should not be marked explicit.
This change also changes the messages according to conventions used in Clang
diagnostics: no capitalization of the first letter, no trailing dot.
Reviewers: djasper
Reviewed By: djasper
Subscribers: curdeius, cfe-commits
Differential Revision: http://reviews.llvm.org/D6427
llvm-svn: 222878
|
| |
|
|
| |
llvm-svn: 222755
|
| |
|
|
|
|
| |
Apparently attributes aren't sorted by source location.
llvm-svn: 222751
|
| |
|
|
|
|
| |
This value is used in cpplint, so we'd better be consistent.
llvm-svn: 222431
|
| |
|
|
|
|
|
| |
This re-applies r222363 reverted in r222390 after compilation errors in our
out-of-tree clang-tidy tests were fixed.
llvm-svn: 222427
|
| |
|
|
|
|
|
| |
This was causing clang-tidy invocations that would previously pass despite
source errors to fail.
llvm-svn: 222390
|
| |
|
|
| |
llvm-svn: 222363
|
| |
|
|
|
|
| |
pair<iterator, bool> as per the C++ standard's associative container concept.
llvm-svn: 222336
|
| |
|
|
| |
llvm-svn: 222305
|
| |
|
|
| |
llvm-svn: 222304
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The google-readability-namespace-comments/llvm-namespace-comment
warnings are quite confusing when they appear at the beginning of a long
namespace and the closing brace is not in sight.
For convenience added notes pointing to the start of the namespace.
Reviewers: klimek
Reviewed By: klimek
Subscribers: curdeius, cfe-commits
Differential Revision: http://reviews.llvm.org/D6251
llvm-svn: 222145
|
| |
|
|
| |
llvm-svn: 222027
|
| |
|
|
| |
llvm-svn: 221885
|
| |
|
|
|
|
|
| |
Parameters of type std::nullptr_t can only have one value, so it doesn't make
sense to name them.
llvm-svn: 221340
|
| |
|
|
| |
llvm-svn: 221272
|
| |
|
|
| |
llvm-svn: 221260
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Added -fix-errors option to allow applying fixes when compiler errors
are present. Without this flag -fix would bail out if there are compiler errors.
This is needed to avoid applying wrong fixes if Clang fails to recover from
compilation errors correctly.
Reviewers: djasper, klimek
Reviewed By: klimek
Subscribers: curdeius, cfe-commits
Differential Revision: http://reviews.llvm.org/D6059
llvm-svn: 221152
|
| |
|
|
|
|
|
|
| |
clangApplyReplacements.lib(ApplyReplacements.cpp.obj) : error LNK2001: unresolved external symbol "private: void __thiscall clang::APValue::DestroyDataAndMakeUninit(void)" (?DestroyDataAndMakeUninit@APValue@clang@@AAEXXZ)
They are not seen in mingw dll build. Investigating.
llvm-svn: 220895
|
| |
|
|
| |
llvm-svn: 220893
|
| |
|
|
| |
llvm-svn: 220890
|
| |
|
|
| |
llvm-svn: 220888
|
| |
|
|
| |
llvm-svn: 220868
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Enable only compiler diagnostics and safe static analyzer checks by
default. Let the defaults be conservative and safe for an average project.
Reviewers: djasper
Reviewed By: djasper
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D6027
llvm-svn: 220865
|
| |
|
|
|
|
| |
investigaitng.
llvm-svn: 220837
|
| |
|
|
| |
llvm-svn: 220830
|
| |
|
|
|
|
|
| |
Added -system-headers option to allow display of warnings from system headers.
This is needed for testing libcxx, for example.
llvm-svn: 220826
|
| |
|
|
| |
llvm-svn: 220678
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: Make the script suitable for checking just messages. Move most of the tests to use it. Clean up the tests: shorten messages, insert line numbers, remove unnecessary RUN: lines, etc.
Reviewers: klimek
Reviewed By: klimek
Subscribers: curdeius, cfe-commits
Differential Revision: http://reviews.llvm.org/D5989
llvm-svn: 220634
|
| |
|
|
|
|
| |
Simplify RUN lines and make checks stricter, check messages instead of fixes.
llvm-svn: 220633
|
| |
|
|
| |
llvm-svn: 220632
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Register readability checks in a separate module. Renamed the checks
and test file names accordingly.
Reviewers: djasper, klimek
Reviewed By: klimek
Subscribers: curdeius, cfe-commits
Differential Revision: http://reviews.llvm.org/D5936
llvm-svn: 220631
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Add flag --enable-check-profile to clang-tidy.
It turns on per-matcher profiles in MatchFinder and prints a report to
stderr at the end.
Reviewers: alexfh
Subscribers: curdeius, cfe-commits
Differential Revision: http://reviews.llvm.org/D5937
llvm-svn: 220491
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: We're using different clang-tidy frontends (command-line, batch analysis jobs, code review integration), some of which are limited in the choice of configuration format. In order to avoid duplication of configuration information, we need to support the same configuration format in the command-line tool. This patch adds an extension point to make this possible without rewriting FileOptionsProvider.
Reviewers: djasper
Reviewed By: djasper
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D5821
llvm-svn: 220199
|
| |
|
|
|
|
|
|
| |
* Make SmallVector size enough for all groups.
* Allow trailing period in the comment.
* Fix "// anonymous namespace qqq".
llvm-svn: 219926
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch allows modules to specify default options for the checks
defined in them. This way a sufficiently configurable check can be registered in
multiple modules with different default options. E.g. the SpacesBeforeComments
option may be set to 1 for the "llvm-namespace-comments" check and to 2 for the
"google-readability-namespace-comment" check without modifying or extending the
check code.
This patch also registers the google-readability-braces-around-statements check
with suitable defaults.
Reviewers: djasper
Reviewed By: djasper
Subscribers: curdeius, cfe-commits
Differential Revision: http://reviews.llvm.org/D5798
llvm-svn: 219923
|
| |
|
|
|
|
|
| |
This is fragile, as there are classes with the same name in both
namespaces (e.g. llvm::Module and clang::Module).
llvm-svn: 219855
|