]> sigrok.org Git - pulseview.git/commit
Apply some clang-tidy fixes.
authorUwe Hermann <redacted>
Thu, 6 Jul 2017 06:56:39 +0000 (08:56 +0200)
committerUwe Hermann <redacted>
Thu, 6 Jul 2017 10:09:10 +0000 (12:09 +0200)
commit20f59e957e70250cfb876ac7a1743134d6b83339
tree16b09209cb1a96e8df6394b8dba33ae75fc51349
parent762ab7a4b20928a784b2b3400ce748d901e32d2d
Apply some clang-tidy fixes.

This patch was generated using clang-tidy:

  clang-tidy -checks="-*,..." -fix

The following set of checks was enabled:

  modernize-use-nullptr,modernize-deprecated-headers,modernize-make-shared,
  modernize-redundant-void-arg,modernize-use-bool-literals,
  modernize-use-emplace,modernize-use-equals-default,
  google-readability-namespace-comments,misc-unused-using-decls

Add NOLINT to have clang-tidy (among other tools) ignore some lines
that are not meant to be changed.
13 files changed:
pv/binding/decoder.cpp
pv/binding/device.cpp
pv/binding/inputoutput.cpp
pv/data/decode/decoder.cpp
pv/data/decode/decoder.hpp
pv/data/decodesignal.hpp
pv/devicemanager.cpp
pv/mainwindow.cpp
pv/views/trace/cursor.cpp
pv/views/trace/decodetrace.cpp
pv/views/trace/decodetrace.hpp
pv/views/trace/view.cpp
pv/views/trace/viewport.cpp