Added more clang-tidy checks

Improved GitHub Action to run clang-format as part of clang-tidy

* Simplify clang-tidy workflow
* Added modernize-use-using, modernize-redundant-void-arg, readability-static-accessed-through-instance
* Add nolint for libecl typedefs
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2023-04-14 14:07:45 +02:00
1 parent 457dc9080f
commit 6f6dc80bc6
118 files changed
+220 -225

No files matched your search

@@ -36,7 +36,7 @@ public:
double solveStassiDalia( double* thetaOut = nullptr );
private:
typedef double ( RigGeoMechBoreHoleStressCalculator::*MemberFunc )( double pw, double* thetaOut ) const;
using MemberFunc = double ( RigGeoMechBoreHoleStressCalculator::* )( double, double* ) const;
double solveBisection( double minPw, double maxPw, MemberFunc fn, double* thetaOut );
double solveSecant( MemberFunc fn, double* thetaOut );
double sigmaTMinOfMin( double wellPressure, double* thetaAtMin ) const;