seomoz / rep-cpp

Robot exclusion protocol in C++
MIT License
12 stars 5 forks source link

Offer fixes suggested by clang-tidy #43

Open MichaelChirico opened 3 months ago

MichaelChirico commented 3 months ago

Mostly from misc-include-cleaner:

https://clang.llvm.org/extra/clang-tidy/checks/misc/include-cleaner.html

But also readability-string-compare:

https://clang.llvm.org/extra/clang-tidy/checks/readability/string-compare.html

And readability-inconsistent-declaration-parameter-name:

https://clang.llvm.org/extra/clang-tidy/checks/readability/inconsistent-declaration-parameter-name.html

c.f.

https://github.com/seomoz/rep-cpp/blob/ca2ae84bacb4a11471a7ce12946beada597713ee/src/agent.cpp#L86