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:
@@ -411,7 +411,7 @@ QList<caf::PdmOptionItemInfo> RicExportEclipseSectorModelUi::calculateValueOptio
|
||||
QList<caf::PdmOptionItemInfo> allOptions =
|
||||
RimEclipseResultDefinition::calcOptionsForVariableUiFieldStandard( RiaDefines::ResultCatType::STATIC_NATIVE, resultData );
|
||||
|
||||
std::set<QString> mainKeywords = this->mainKeywords();
|
||||
std::set<QString> mainKeywords = RicExportEclipseSectorModelUi::mainKeywords();
|
||||
for ( const caf::PdmOptionItemInfo& option : allOptions )
|
||||
{
|
||||
if ( mainKeywords.count( option.optionUiText() ) )
|
||||
|
||||
@@ -35,8 +35,8 @@ class QTextStream;
|
||||
//==================================================================================================
|
||||
///
|
||||
//==================================================================================================
|
||||
typedef std::shared_ptr<QFile> QFilePtr;
|
||||
typedef std::shared_ptr<QTextStream> QTextStreamPtr;
|
||||
using QFilePtr = std::shared_ptr<QFile>;
|
||||
using QTextStreamPtr = std::shared_ptr<QTextStream>;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
|
||||
@@ -41,7 +41,7 @@ CAF_PDM_SOURCE_INIT( RicExportToLasFileObj, "RicExportToLasFileObj" );
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RicExportToLasFileObj::RicExportToLasFileObj( void )
|
||||
RicExportToLasFileObj::RicExportToLasFileObj()
|
||||
{
|
||||
CAF_PDM_InitObject( "RicExportToLasFileObj" );
|
||||
|
||||
@@ -53,7 +53,7 @@ CAF_PDM_SOURCE_INIT( RicExportToLasFileResampleUi, "RicExportToLasFileResampleUi
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RicExportToLasFileResampleUi::RicExportToLasFileResampleUi( void )
|
||||
RicExportToLasFileResampleUi::RicExportToLasFileResampleUi()
|
||||
: m_enableCurveUnitConversion( false )
|
||||
{
|
||||
CAF_PDM_InitObject( "Resample LAS curves for export" );
|
||||
|
||||
@@ -31,7 +31,7 @@ class RicExportToLasFileObj : public caf::PdmObject
|
||||
CAF_PDM_HEADER_INIT;
|
||||
|
||||
public:
|
||||
RicExportToLasFileObj( void );
|
||||
RicExportToLasFileObj();
|
||||
|
||||
caf::PdmField<QString> tvdrkbOffset;
|
||||
};
|
||||
@@ -52,7 +52,7 @@ public:
|
||||
using CurveUnitConversionEnum = caf::AppEnum<CurveUnitConversion>;
|
||||
|
||||
public:
|
||||
RicExportToLasFileResampleUi( void );
|
||||
RicExportToLasFileResampleUi();
|
||||
~RicExportToLasFileResampleUi() override;
|
||||
|
||||
caf::PdmField<QString> exportFolder;
|
||||
|
||||
@@ -29,7 +29,7 @@ class RimWellPath;
|
||||
//==================================================================================================
|
||||
///
|
||||
//==================================================================================================
|
||||
typedef std::shared_ptr<QFile> QFilePtr;
|
||||
using QFilePtr = std::shared_ptr<QFile>;
|
||||
|
||||
//==================================================================================================
|
||||
///
|
||||
|
||||
@@ -32,5 +32,5 @@ enum SplitType
|
||||
LGR_PER_WELL
|
||||
};
|
||||
|
||||
typedef caf::AppEnum<SplitType> SplitTypeEnum;
|
||||
using SplitTypeEnum = caf::AppEnum<SplitType>;
|
||||
} // namespace Lgr
|
||||
|
||||
Reference in New Issue
Block a user