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.
-->
2023-10-11 16:26:32 -07:00
Esun Kim
f3fedae7c8
Added readability-redundant-string-cstr ( #31707 )
...
* Added readability-redundant-string-cstr
* Auto fix
* No need to wrap std::string
2022-11-18 17:12:46 -08:00
Esun Kim
0ba0c4bf74
Added googletest clang-tidy checks ( #31610 )
...
* Added google-googletest
* Autofix
* Fix test names
* Fix
2022-11-18 13:02:20 -08:00
Esun Kim
d44e1520a7
Fix readability-redundant-access-specifiers ( #31561 )
...
* Added readability-redundant-access-specifiers
* Fix
2022-11-18 13:00:20 -08:00
Esun Kim
c6a1d0692f
Added readability-braces-around-statements ( #31562 )
2022-11-18 11:35:23 -08:00
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
2022-11-11 16:44:37 -08:00
Esun Kim
26bc68c4af
Added readability-duplicate-include ( #31608 )
...
* Added readability-duplicate-include
* Fix
* format
2022-11-10 13:18:40 -08:00
Esun Kim
660a6f281e
Added readability-redundant-string-init ( #31609 )
...
* Added readability-redundant-string-init
* Fix
2022-11-10 11:14:36 -08:00
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
2022-11-04 09:08:03 -07:00
Esun Kim
2057bfd182
Upgrade clang to 13 for clang-format, clang-tidy, and sanity ( #28763 )
2022-02-02 11:03:26 -08:00
Mark D. Roth
1050eedb87
enable clang-tidy readability-static-definition-in-anonymous-namespace check ( #28033 )
2021-11-17 07:48:43 -08:00
Esun Kim
2dc8df9ef6
Fix bugprone unhandled self assignment ( #25667 )
...
* Add bugprone-unhandled-self-assignment
* Fix bugprone-unhandled-self-assignment
2021-03-10 13:38:23 -08:00
Esun Kim
a41a206b8c
Fix readability-const-return-type,readability-delete-null-pointer,readability-simplify-boolean-expr ( #25628 )
2021-03-09 21:30:35 -08:00
Esun Kim
6b1dcc75c5
Update clang-tidy checks ( #25627 )
2021-03-05 19:31:20 -08:00
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
2021-03-04 11:54:30 -08:00
Esun Kim
351e2cb83b
Enable google-explicit-constructor
2020-12-03 14:51:06 -08:00
Esun Kim
f81a97419c
Enable google-readability-casting
2020-11-30 17:27:51 -08:00
Esun Kim
0f91b970cc
Enable readability-inconsistent-declaration-parameter-name
2020-11-30 14:22:40 -08:00
Esun Kim
5f9d79c73a
Enable google-build-using-namespace
2020-11-25 18:40:13 -08:00
Esun Kim
221e066c30
Enable google-readability-todo
2020-11-25 10:05:26 -08:00
Esun Kim
1d6972aa6b
Enable bugprone-integer-division
2020-11-24 12:19:38 -08:00
Mark D. Roth
27e1c1c56d
clang-tidy: enable google-readability-braces-around-statements
2020-11-06 13:41:44 -08:00
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.
2020-11-06 16:07:19 +01:00
Esun Kim
f1cd41bb33
Enable google-global-names-in-headers
2020-11-02 15:30:24 -08:00
Nathan Herring
da66b7d14e
Revert "Abseil Flags"
2020-10-24 15:19:55 -07:00
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 .
2020-10-23 19:36:33 +02:00
Esun Kim
eab203724a
Enable google-default-arguments
2020-10-21 14:17:42 -07:00
Esun Kim
004480e706
Merge pull request #24482 from veblush/tidy-readability-string-compare
...
[Clang-Tidy] readability-string-compare
2020-10-21 13:42:17 -07:00
Esun Kim
e37dab3b7f
Merge pull request #24483 from veblush/tidy-readability-redundant-control-flow
...
[Clang-Tidy] Enable readability-redundant-control-flow
2020-10-21 12:00:13 -07:00
Esun Kim
914fbf45cf
Merge pull request #24484 from veblush/tidy-misc-unused-using-decls
...
[Clang-Tidy] Enable misc-unused-using-decls
2020-10-20 10:18:27 -07:00
Esun Kim
1f45a189f6
Enable misc-definitions-in-headers
2020-10-19 21:45:46 -07:00
Esun Kim
7c4ed32c1a
Enable misc-unused-using-decls
2020-10-19 17:08:56 -07:00
Esun Kim
0e427f3b43
Enable readability-redundant-control-flow
2020-10-19 16:52:03 -07:00
Esun Kim
c4295889cf
Enable readability-string-compare
2020-10-19 15:18:34 -07:00
Esun Kim
bba8facb4a
Merge pull request #24456 from veblush/tidy-readability-redundant-smartptr-get
...
[Clang-Tidy] readability-redundant-smartptr-get
2020-10-19 09:54:15 -07:00
Esun Kim
84df61b31a
Merge pull request #24453 from veblush/tidy-modernize-make-unique
...
[Clang-Tidy] Enable modernize-make-unique
2020-10-16 16:35:08 -07:00
Esun Kim
e404963270
Enable readability-redundant-smartptr-get
2020-10-16 14:11:26 -07:00
Esun Kim
0b08b63295
Enable modernize-use-override
2020-10-16 14:00:08 -07:00
Esun Kim
85ddf8d314
Enable modernize-make-unique
2020-10-16 12:55:42 -07:00
Esun Kim
f3cedfd357
Merge pull request #24437 from veblush/clang-tidy-abseil
...
[Clang-Tidy] Enable abseil-*
2020-10-16 12:21:51 -07:00
Esun Kim
dfd89da007
Merge pull request #24444 from veblush/tidy-readability-container-size-empty
...
[Clang-Tidy] Enable readability-container-size-empty
2020-10-16 12:21:39 -07:00
Esun Kim
b29700b798
Merge pull request #24445 from veblush/modernize-use-bool-literals
...
[Clang-Tidy] Enable modernize-use-bool-literals
2020-10-16 12:21:17 -07:00
Esun Kim
6c3815337c
Eanble bugprone-forward-declaration-namespace and bugprone-misplaced-widening-cast
2020-10-16 10:34:03 -07:00
Esun Kim
fbc70010d2
Enable modernize-use-bool-literals
2020-10-16 10:08:20 -07:00
Esun Kim
aed0a7ddb3
Enable readability-container-size-empty
2020-10-16 09:48:11 -07:00
Esun Kim
19b8e657fb
Added abseil-* to clang-tidy
2020-10-16 09:39:41 -07:00
Esun Kim
93d9b8408a
Normalize clang-tidy
2020-10-15 23:31:01 -07:00
Esun Kim
b8f1b71a05
Use clang-tidy 7
2020-10-15 15:48:24 -07:00
ncteisen
f8a4aae119
Fix all instances of bugprone-undefined-memory-manipulation
2018-08-29 14:24:02 -07:00
Noah Eisen
58e0cbf9fb
Enable the performance-* clang-tidy checks
2018-06-14 14:58:09 -04:00