Esun Kim
af95eafb34
[CI] Using clang-17 for clang tidy & format ( #35595 )
...
Clang-17 is now better at formatting. Clang-16 used to do some questionable formatting.
Closes #35595
PiperOrigin-RevId: 600829055
11 months ago
Yijie Ma
bae0c705aa
[Deps] Update to Clang-16 ( #34492 )
...
<!--
If you know who should review your pull request, please assign it to
that
person, otherwise the pull request would get assigned randomly.
If your pull request is for a specific language, please add the
appropriate
lang label.
-->
1 year ago
Esun Kim
f3fedae7c8
Added readability-redundant-string-cstr ( #31707 )
...
* Added readability-redundant-string-cstr
* Auto fix
* No need to wrap std::string
2 years ago
Esun Kim
0ba0c4bf74
Added googletest clang-tidy checks ( #31610 )
...
* Added google-googletest
* Autofix
* Fix test names
* Fix
2 years ago
Esun Kim
d44e1520a7
Fix readability-redundant-access-specifiers ( #31561 )
...
* Added readability-redundant-access-specifiers
* Fix
2 years ago
Esun Kim
c6a1d0692f
Added readability-braces-around-statements ( #31562 )
2 years ago
Esun Kim
250f9fc026
Revived google-readability-casting ( #31607 )
...
* Added google-readability-casting
* Fix
* Use brace init for constants
* more
* Fix
* Fix 2
* More fix
* Fixf
2 years ago
Esun Kim
26bc68c4af
Added readability-duplicate-include ( #31608 )
...
* Added readability-duplicate-include
* Fix
* format
2 years ago
Esun Kim
660a6f281e
Added readability-redundant-string-init ( #31609 )
...
* Added readability-redundant-string-init
* Fix
2 years ago
Esun Kim
530b702259
Update Clang 15 ( #31518 )
...
* clang-15
* iwyu
* run clang_format_code
* Clang-Tidy config
* Fix misc-unused-using-decls
* Fixed performance-inefficient-vector-operation
* Sanity
2 years ago
Esun Kim
2057bfd182
Upgrade clang to 13 for clang-format, clang-tidy, and sanity ( #28763 )
3 years ago
Mark D. Roth
1050eedb87
enable clang-tidy readability-static-definition-in-anonymous-namespace check ( #28033 )
3 years ago
Esun Kim
2dc8df9ef6
Fix bugprone unhandled self assignment ( #25667 )
...
* Add bugprone-unhandled-self-assignment
* Fix bugprone-unhandled-self-assignment
4 years ago
Esun Kim
a41a206b8c
Fix readability-const-return-type,readability-delete-null-pointer,readability-simplify-boolean-expr ( #25628 )
4 years ago
Esun Kim
6b1dcc75c5
Update clang-tidy checks ( #25627 )
4 years ago
Esun Kim
377fe6095a
Upgrade clang-tidy and clang-format to 11 ( #25590 )
...
* Upgrade clang-tidy and clang-format to 11
* Reformat code
* Fix abseil-string-find-str-contains
* Fix modernize-make-unique
4 years ago
Esun Kim
351e2cb83b
Enable google-explicit-constructor
4 years ago
Esun Kim
f81a97419c
Enable google-readability-casting
4 years ago
Esun Kim
0f91b970cc
Enable readability-inconsistent-declaration-parameter-name
4 years ago
Esun Kim
5f9d79c73a
Enable google-build-using-namespace
4 years ago
Esun Kim
221e066c30
Enable google-readability-todo
4 years ago
Esun Kim
1d6972aa6b
Enable bugprone-integer-division
4 years ago
Mark D. Roth
27e1c1c56d
clang-tidy: enable google-readability-braces-around-statements
4 years ago
capstan
131579d52d
Roll forward of commit 7883b51: Use abseil's flags in tests.
...
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493 .
This reverts commit da66b7d14e
.
NEW:
* Adds references to `absl/flags/declare.h`, new to LTS 2020923.2 imported in commit 5b43440
.
* Works around MSVC 2017 compiler error with large help text on flags by reducing the help text.
4 years ago
Esun Kim
f1cd41bb33
Enable google-global-names-in-headers
4 years ago
Nathan Herring
da66b7d14e
Revert "Abseil Flags"
4 years ago
capstan
7883b5133d
Use abseil's flags in tests.
...
This replaces gflags. Added TODOs where use of `absl::Duration` or `absl::FlagSaver` might be preferred in follow-up cleanup. Fixes #24493 .
4 years ago
Esun Kim
eab203724a
Enable google-default-arguments
4 years ago
Esun Kim
1f45a189f6
Enable misc-definitions-in-headers
4 years ago
Esun Kim
7c4ed32c1a
Enable misc-unused-using-decls
4 years ago
Esun Kim
0e427f3b43
Enable readability-redundant-control-flow
4 years ago
Esun Kim
c4295889cf
Enable readability-string-compare
4 years ago
Esun Kim
e404963270
Enable readability-redundant-smartptr-get
4 years ago
Esun Kim
0b08b63295
Enable modernize-use-override
4 years ago
Esun Kim
85ddf8d314
Enable modernize-make-unique
4 years ago
Esun Kim
6c3815337c
Eanble bugprone-forward-declaration-namespace and bugprone-misplaced-widening-cast
4 years ago
Esun Kim
fbc70010d2
Enable modernize-use-bool-literals
4 years ago
Esun Kim
aed0a7ddb3
Enable readability-container-size-empty
4 years ago
Esun Kim
19b8e657fb
Added abseil-* to clang-tidy
4 years ago
Esun Kim
93d9b8408a
Normalize clang-tidy
4 years ago
Esun Kim
b8f1b71a05
Use clang-tidy 7
4 years ago
ncteisen
f8a4aae119
Fix all instances of bugprone-undefined-memory-manipulation
6 years ago
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
7 years ago
ncteisen
eb2aa9cb3b
Tighten the bar and refactor and offender:
7 years ago