#
f6cd3678 |
| 20-Mar-2017 |
Alexander Kornienko <alexfh@google.com> |
[clang-tidy] readability-container-size-empty fix for (*x).size()
llvm-svn: 298316
|
Revision tags: llvmorg-4.0.0, llvmorg-4.0.0-rc4, llvmorg-4.0.0-rc3, llvmorg-4.0.0-rc2, llvmorg-4.0.0-rc1 |
|
#
b5ca17f8 |
| 21-Dec-2016 |
Alexander Kornienko <alexfh@google.com> |
[clang-tidy] Ignore `size() == 0` in the container implementation.
llvm-svn: 290289
|
Revision tags: llvmorg-3.9.1, llvmorg-3.9.1-rc3, llvmorg-3.9.1-rc2, llvmorg-3.9.1-rc1 |
|
#
afad84c0 |
| 24-Sep-2016 |
Gabor Horvath <xazax.hun@gmail.com> |
[clang-tidy] Cleaning up language options.
Differential Revision: https://reviews.llvm.org/D24881
llvm-svn: 282319
|
#
0d0bbfd6 |
| 13-Sep-2016 |
Kirill Bobyrev <omtcyfz@gmail.com> |
[clang-tidy] Fix naming in container-size-empty.
llvm-svn: 281313
|
#
acb6b35b |
| 13-Sep-2016 |
Kirill Bobyrev <omtcyfz@gmail.com> |
[clang-tidy] Extend readability-container-size-empty to arbitrary class with size() and empty()
This patch extends readability-container-size-empty check allowing it to produce warnings not only for
[clang-tidy] Extend readability-container-size-empty to arbitrary class with size() and empty()
This patch extends readability-container-size-empty check allowing it to produce warnings not only for STL containers, but also for containers, which provide two functions matching following signatures:
* `size_type size() const;` * `bool empty() const;`
Where `size_type` can be any kind of integer type.
This functionality was proposed in https://llvm.org/bugs/show_bug.cgi?id=26823 by Eugene Zelenko.
Approval: alexfh
Reviewers: alexfh, aaron.ballman, Eugene.Zelenko
Subscribers: etienneb, Prazek, hokein, xazax.hun, cfe-commits
Differential Revision: https://reviews.llvm.org/D24349
llvm-svn: 281307
show more ...
|
Revision tags: llvmorg-3.9.0, llvmorg-3.9.0-rc3, llvmorg-3.9.0-rc2, llvmorg-3.9.0-rc1, llvmorg-3.8.1, llvmorg-3.8.1-rc1 |
|
#
9d265990 |
| 21-Apr-2016 |
Etienne Bergeron <etienneb@google.com> |
[clang-tidy] Cleanup some ast-matchers and lift some to utils.
Summary: Little cleanup to lift-out and to remove some frequently used ast-matchers.
Some of theses matchers are candidates to be lift
[clang-tidy] Cleanup some ast-matchers and lift some to utils.
Summary: Little cleanup to lift-out and to remove some frequently used ast-matchers.
Some of theses matchers are candidates to be lifted to ASTMatchers.h.
Reviewers: alexfh
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D19200
llvm-svn: 267003
show more ...
|
#
533c01d9 |
| 19-Apr-2016 |
Gabor Horvath <xazax.hun@gmail.com> |
[clang-tidy] readability-container-size-empty fixes
Summary: This patch fixes PR27410 and adds std::basic_string support.
Reviewers: Eugene.Zelenko, hokein
Subscribers: cfe-commits, o.gyorgy
Diff
[clang-tidy] readability-container-size-empty fixes
Summary: This patch fixes PR27410 and adds std::basic_string support.
Reviewers: Eugene.Zelenko, hokein
Subscribers: cfe-commits, o.gyorgy
Differential Revision: http://reviews.llvm.org/D19262
llvm-svn: 266734
show more ...
|
Revision tags: llvmorg-3.8.0, llvmorg-3.8.0-rc3 |
|
#
f7c39d56 |
| 09-Feb-2016 |
Gabor Horvath <xazax.hun@gmail.com> |
[clang-tidy] Make readability-container-size-empty work with inline namespaces. Fix PR25812.
llvm-svn: 260217
|
#
a4fd3bea |
| 09-Feb-2016 |
Gabor Horvath <xazax.hun@gmail.com> |
[clang-tidy] Replace a custom ASTMatcher with a built-in one.
llvm-svn: 260212
|
Revision tags: llvmorg-3.8.0-rc2, llvmorg-3.8.0-rc1 |
|
#
1f30cf6b |
| 28-Dec-2015 |
Gabor Horvath <xazax.hun@gmail.com> |
[clang-tidy] Fix a false positive case in ContainerSizeEmpty check.
llvm-svn: 256504
|
#
c6ff9c34 |
| 21-Dec-2015 |
Gabor Horvath <xazax.hun@gmail.com> |
Fix a false positive case in ContainerSizeEmpty check (PR25893).
llvm-svn: 256142
|
#
a4e35ecc |
| 12-Dec-2015 |
Gabor Horvath <xazax.hun@gmail.com> |
[clang-tidy] Fix PR25812.
llvm-svn: 255431
|
Revision tags: llvmorg-3.7.1, llvmorg-3.7.1-rc2, llvmorg-3.7.1-rc1 |
|
#
301130ef |
| 09-Nov-2015 |
Alexander Kornienko <alexfh@google.com> |
[clang-tidy] Fix message style (capitalization, trailing period).
llvm-svn: 252471
|
#
45857d4b |
| 18-Oct-2015 |
Craig Topper <craig.topper@gmail.com> |
Make a bunch of static arrays const.
llvm-svn: 250641
|
#
b9ea09c4 |
| 17-Sep-2015 |
Aaron Ballman <aaron@aaronballman.com> |
Refactors AST matching code to use the new AST matcher names. This patch correlates to r247885 which performs the AST matcher rename in Clang.
llvm-svn: 247886
|
#
1f1b0670 |
| 02-Sep-2015 |
Aaron Ballman <aaron@aaronballman.com> |
Disable clang-tidy readability checkers when not compiling in C++ mode. None of the checkers require additional testing as the tests will not compile for other languages or modes, or the checkers wou
Disable clang-tidy readability checkers when not compiling in C++ mode. None of the checkers require additional testing as the tests will not compile for other languages or modes, or the checkers would never match a valid construct.
llvm-svn: 246661
show more ...
|
Revision tags: llvmorg-3.7.0, llvmorg-3.7.0-rc4, llvmorg-3.7.0-rc3, studio-1.4, llvmorg-3.7.0-rc2, llvmorg-3.7.0-rc1, llvmorg-3.6.2, llvmorg-3.6.2-rc1 |
|
#
50d7f461 |
| 17-Jun-2015 |
Alexander Kornienko <alexfh@google.com> |
[clang-tidy] Move user-defined matches to unnamed namespaces to prevent ODR violations.
llvm-svn: 239904
|
Revision tags: llvmorg-3.6.1, llvmorg-3.6.1-rc1 |
|
#
73d2749a |
| 17-Apr-2015 |
Benjamin Kramer <benny.kra@googlemail.com> |
[clang-tidy] Remove static StringSet in favor of binary search.
The number of strings is so small that performance doesn't matter and adding the thread safe static initialization and destruction ove
[clang-tidy] Remove static StringSet in favor of binary search.
The number of strings is so small that performance doesn't matter and adding the thread safe static initialization and destruction overhead is just not worth it. No functional change intended.
llvm-svn: 235192
show more ...
|
Revision tags: llvmorg-3.5.2, llvmorg-3.5.2-rc1 |
|
#
1b677dbd |
| 09-Mar-2015 |
Alexander Kornienko <alexfh@google.com> |
[clang-tidy] Refactor: Rename clang-tidy readability check files and classes to follow naming conventions
Classes are named WhateverCheck, files are WhateverCheck.cpp and` WhateverCheck.h`
http://r
[clang-tidy] Refactor: Rename clang-tidy readability check files and classes to follow naming conventions
Classes are named WhateverCheck, files are WhateverCheck.cpp and` WhateverCheck.h`
http://reviews.llvm.org/D8144
Patch by Richard Thomson!
llvm-svn: 231650
show more ...
|