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
2023-04-14 14:07:45 +02:00
committed by GitHub
parent 457dc9080f
commit 6f6dc80bc6
118 changed files with 220 additions and 225 deletions

View File

@@ -84,9 +84,9 @@ protected:
const std::vector<double>& faciesValues,
std::vector<double>& values ) const;
typedef std::pair<double, double> DepthValuePair;
typedef std::vector<DepthValuePair> DepthValuePairVector;
typedef std::map<int, DepthValuePairVector> EqlNumToDepthValuePairMap;
using DepthValuePair = std::pair<double, double>;
using DepthValuePairVector = std::vector<DepthValuePair>;
using EqlNumToDepthValuePairMap = std::map<int, DepthValuePairVector>;
static void sortAndRemoveDuplicates( DepthValuePairVector& depthValuePairs );
static bool buildPressureTablesPerEqlNum( const RimStimPlanModel* stimPlanModel,