Skip to content

Conversation

@masaori335
Copy link
Contributor

@masaori335 masaori335 commented Mar 19, 2019

Ran clang-tidy with current settings.

  • modernize-loop-convert
  • modernize-use-bool-literals
  • modernize-deprecated-headers
  • modernize-raw-string-literal
  • modernize-redundant-void-arg
  • modernize-use-nullptr
  • modernize-use-override
  • performance-unnecessary-value-param
  • performance-faster-string-find

Below changes made by hand.

  1. Add NOLINT(modernize-deprecated-headers) to below files which are included by both of C and C++ file.
  • include/ts/apidefs.h.in
  • include/tscore/ink_defs.h
  • include/tscore/ink_platform.h
  • plugins/experimental/cookie_remap/hash.h
  1. Change proxy/logging/LogField.h to follow changes made by performance-unnecessary-value-param to proxy/logging/LogAccess.h

  2. Exclude whole lib/yamlcpp -> Do not run clang-tidy on lib/yamlcpp/ #5183

  3. Add NOLINTNEXTLINE(modernize-use-nullptr) for ink_thread

  • include/tscore/ink_thread.h
  • iocore/eventsystem/I_Thread.h

@masaori335 masaori335 added this to the 9.0.0 milestone Mar 19, 2019
@masaori335 masaori335 self-assigned this Mar 19, 2019
@masaori335 masaori335 force-pushed the ran-clang-tidy branch 2 times, most recently from a838b11 to d3ed2d6 Compare March 19, 2019 01:50
"proxy/logging/LogField.h" is changed by hand to follow changes made by performance-unnecessary-value-param
to "proxy/logging/LogAccess.h".
Copy link
Contributor

@bryancall bryancall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants