Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [ClangTidy] Separate tests for infrastructure and checkers | Dmitri Gribenko | 2019-10-11 | 1 | -58/+0 |
| | | | | | | | | | | | | | | | | | | | | Summary: This change moves tests for checkers and infrastructure into separate directories, making it easier to find infrastructure tests. Tests for checkers are already easy to find because they are named after the checker. Tests for infrastructure were difficult to find because they were outnumbered by tests for checkers. Now they are in a separate directory. Reviewers: jfb, jdoerfert, lebedev.ri Subscribers: srhines, nemanjai, aheejin, kbarton, christof, mgrang, arphaman, jfb, lebedev.ri, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D68807 llvm-svn: 374540 | ||||
* | Change test to just define NULL instead of #including stddef.h. In some | Daniel Jasper | 2015-10-28 | 1 | -1/+1 |
| | | | | | | | test environments, even that builtin header isn't available. Also, this makes it more consistent with the C++ version of this test. llvm-svn: 251520 | ||||
* | clang-tools-extra/test/clang-tidy/modernize-redundant-void-arg.c: Use ↵ | NAKAMURA Takumi | 2015-10-28 | 1 | -1/+1 |
| | | | | | | <stddef.h> provided by clang, instead of <stdio.h>. llvm-svn: 251503 | ||||
* | Add modernize-redundant-void-arg check to clang-tidy | Alexander Kornienko | 2015-10-28 | 1 | -0/+58 |
This check for clang-tidy looks for function with zero arguments declared as (void) and removes the unnecessary void token. int foo(void); becomes int foo(); The check performs no formatting of the surrounding context but uses the lexer to look for the token sequence "(", "void", ")" in the prototype text. If this sequence of tokens is found, a removal is issued for the void token only. Patch by Richard Thomson! (+fixed tests, moved the check to the modernize module) Differential revision: http://reviews.llvm.org/D7639 llvm-svn: 251475 |