mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -148,7 +148,7 @@ bool RimFileWellPath::readWellPathFile( QString* errorMessage, RifWellPathImport
|
||||
{
|
||||
RifWellPathImporter::WellData wellData = wellPathImporter->readWellData( this->filePath(), m_wellPathIndexInFile() );
|
||||
|
||||
RifWellPathImporter::WellMetaData wellMetaData = wellPathImporter->readWellMetaData( this->filePath(), m_wellPathIndexInFile() );
|
||||
RifWellPathImporter::WellMetaData wellMetaData = RifWellPathImporter::readWellMetaData( this->filePath(), m_wellPathIndexInFile() );
|
||||
// General well info
|
||||
|
||||
if ( setWellNameForExport )
|
||||
|
||||
@@ -34,9 +34,9 @@ class RimWellPathAttribute : public caf::PdmObject, public RimWellPathComponentI
|
||||
CAF_PDM_HEADER_INIT;
|
||||
|
||||
public:
|
||||
static double MAX_DIAMETER_IN_INCHES;
|
||||
static double MIN_DIAMETER_IN_INCHES;
|
||||
typedef caf::AppEnum<RiaDefines::WellPathComponentType> CompletionTypeEnum;
|
||||
static double MAX_DIAMETER_IN_INCHES;
|
||||
static double MIN_DIAMETER_IN_INCHES;
|
||||
using CompletionTypeEnum = caf::AppEnum<RiaDefines::WellPathComponentType>;
|
||||
|
||||
RimWellPathAttribute();
|
||||
~RimWellPathAttribute() override;
|
||||
|
||||
@@ -79,7 +79,7 @@ public:
|
||||
ALL_ON,
|
||||
FORCE_ALL_ON
|
||||
};
|
||||
typedef caf::AppEnum<RimWellPathCollection::WellVisibilityType> WellVisibilityEnum;
|
||||
using WellVisibilityEnum = caf::AppEnum<RimWellPathCollection::WellVisibilityType>;
|
||||
|
||||
caf::PdmField<bool> isActive;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user