| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
anonymous namespace.
Summary: Fixes PR26740.
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D17926
llvm-svn: 265117
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Fix bug in suggested fix that truncated variable names to 1 character.
Also, rework the suggested fix to try to remove unnecessary whitespace.
Reviewers: alexfh, aaron.ballman
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D13899
llvm-svn: 252773
|
| |
|
|
|
|
|
| |
-resource-dir can be used to inject non-standard resource dirs via the
lit site config.
llvm-svn: 251021
|
| |
|
|
|
|
|
|
|
|
| |
With this, site specific lit configs can inject parameters into the
test scripts if they need site specific parameters.
Next up: enable check_clang_tidy to take a resource dir to enable
non-standard locations for builtin includes.
llvm-svn: 251010
|
| |
|
|
| |
llvm-svn: 248252
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tests.
Summary:
Add check_clang_tidy.py script that is functionally identical to the
check_clang_tidy.py, but should also be functional on windows.
I've verified that the script works on linux. Would be nice if folks using
Windows could test the patch before I break windows bots ;)
Reviewers: chapuni, aaron.ballman
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D12180
llvm-svn: 245583
|
| |
|
|
|
|
|
|
| |
clang-tools-extra/test/clang-tidy/misc-unused-parameters.cpp from check_clang_tidy.sh.
It also rolls back r242984 and r242985.
llvm-svn: 243491
|
| |
|
|
|
|
|
| |
In headers, they might always be pulled in to different TUs, even if
they are declared static or nested in an unnamed namespace.
llvm-svn: 243414
|
| |
|
|
|
|
| |
Not sure why I wrote what I wrote before.
llvm-svn: 243403
|
| |
|
|
|
|
|
|
|
| |
As there don't seem to be a good way of formulating a matcher that
finds all pairs of functions and their ParmVarDecls, just match on
functionDecls and iterate over their parameters. This should also be
more efficient as some checks are only performed once per function.
llvm-svn: 243267
|
| |
|
|
|
|
| |
ParmVarDecls of function types.
llvm-svn: 243026
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The parameters of the function templates were being marked as
incorrectly be marked as unused. Added a test for this and changed the
check to use the same
isReferenced() || !getDeclName()
logic as Sema::DiagnoseUnusedParameters.
Patch Scott Wallace, thank you!
llvm-svn: 242912
|
| |
|
|
|
|
| |
Also see: llvm.org/PR24180.
llvm-svn: 242659
|
|
|
Also see: llvm.org/PR24180.
llvm-svn: 242654
|