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

@@ -29,7 +29,7 @@ CAF_PDM_SOURCE_INIT( RimViewLinkerCollection, "RimViewLinkerCollection" );
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RimViewLinkerCollection::RimViewLinkerCollection( void )
RimViewLinkerCollection::RimViewLinkerCollection()
{
CAF_PDM_InitObject( "Linked Views", ":/LinkView.svg" );
@@ -43,7 +43,7 @@ RimViewLinkerCollection::RimViewLinkerCollection( void )
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RimViewLinkerCollection::~RimViewLinkerCollection( void )
RimViewLinkerCollection::~RimViewLinkerCollection()
{
if ( viewLinker() ) delete viewLinker();
}