Skip to content

Commit

Permalink
COMP: Remove inclusion of .hxx files as headers
Browse files Browse the repository at this point in the history
The ability to include either .h or .hxx files as
header files required recursively reading the
.h files twice.  The added complexity is
unnecessary, costly, and can confuse static
analysis tools that monitor header guardes (due
to reaching the maximum depth of recursion
limits for nested #ifdefs in checking).
  • Loading branch information
hjmjohnson committed Dec 18, 2021
1 parent 2250f62 commit cb71f21
Show file tree
Hide file tree
Showing 14 changed files with 0 additions and 14 deletions.
1 change: 0 additions & 1 deletion include/itkCellAreaTriangleCellSubdivisionCriterion.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#ifndef itkCellAreaTriangleCellSubdivisionCriterion_hxx
#define itkCellAreaTriangleCellSubdivisionCriterion_hxx

#include "itkCellAreaTriangleCellSubdivisionCriterion.h"

namespace itk
{
Expand Down
1 change: 0 additions & 1 deletion include/itkConditionalSubdivisionQuadEdgeMeshFilter.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#ifndef itkConditionalSubdivisionQuadEdgeMeshFilter_hxx
#define itkConditionalSubdivisionQuadEdgeMeshFilter_hxx

#include "itkConditionalSubdivisionQuadEdgeMeshFilter.h"

namespace itk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#ifndef itkEdgeLengthTriangleEdgeCellSubdivisionCriterion_hxx
#define itkEdgeLengthTriangleEdgeCellSubdivisionCriterion_hxx

#include "itkEdgeLengthTriangleEdgeCellSubdivisionCriterion.h"

namespace itk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#ifndef itkIterativeTriangleCellSubdivisionQuadEdgeMeshFilter_hxx
#define itkIterativeTriangleCellSubdivisionQuadEdgeMeshFilter_hxx

#include "itkIterativeTriangleCellSubdivisionQuadEdgeMeshFilter.h"
#include <algorithm>

namespace itk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef itkLinearTriangleCellSubdivisionQuadEdgeMeshFilter_hxx
#define itkLinearTriangleCellSubdivisionQuadEdgeMeshFilter_hxx

#include "itkLinearTriangleCellSubdivisionQuadEdgeMeshFilter.h"

namespace itk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef itkLinearTriangleEdgeCellSubdivisionQuadEdgeMeshFilter_hxx
#define itkLinearTriangleEdgeCellSubdivisionQuadEdgeMeshFilter_hxx

#include "itkLinearTriangleEdgeCellSubdivisionQuadEdgeMeshFilter.h"

namespace itk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef itkLoopTriangleCellSubdivisionQuadEdgeMeshFilter_hxx
#define itkLoopTriangleCellSubdivisionQuadEdgeMeshFilter_hxx

#include "itkLoopTriangleCellSubdivisionQuadEdgeMeshFilter.h"
#include "itkMath.h"
#include <set>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef itkLoopTriangleEdgeCellSubdivisionQuadEdgeMeshFilter_hxx
#define itkLoopTriangleEdgeCellSubdivisionQuadEdgeMeshFilter_hxx

#include "itkLoopTriangleEdgeCellSubdivisionQuadEdgeMeshFilter.h"
#include "itkMath.h"
#include <algorithm>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef itkModifiedButterflyTriangleCellSubdivisionQuadEdgeMeshFilter_hxx
#define itkModifiedButterflyTriangleCellSubdivisionQuadEdgeMeshFilter_hxx

#include "itkModifiedButterflyTriangleCellSubdivisionQuadEdgeMeshFilter.h"
#include "itkNumericTraits.h"

namespace itk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef itkModifiedButterflyTriangleEdgeCellSubdivisionQuadEdgeMeshFilter_hxx
#define itkModifiedButterflyTriangleEdgeCellSubdivisionQuadEdgeMeshFilter_hxx

#include "itkModifiedButterflyTriangleEdgeCellSubdivisionQuadEdgeMeshFilter.h"

namespace itk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
#ifndef itkSquareThreeTriangleCellSubdivisionQuadEdgeMeshFilter_hxx
#define itkSquareThreeTriangleCellSubdivisionQuadEdgeMeshFilter_hxx

#include "itkSquareThreeTriangleCellSubdivisionQuadEdgeMeshFilter.h"

namespace itk
{
Expand Down
1 change: 0 additions & 1 deletion include/itkSubdivisionQuadEdgeMeshFilter.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#ifndef itkSubdivisionQuadEdgeMeshFilter_hxx
#define itkSubdivisionQuadEdgeMeshFilter_hxx

#include "itkSubdivisionQuadEdgeMeshFilter.h"

namespace itk
{
Expand Down
1 change: 0 additions & 1 deletion include/itkTriangleCellSubdivisionQuadEdgeMeshFilter.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#ifndef itkTriangleCellSubdivisionQuadEdgeMeshFilter_hxx
#define itkTriangleCellSubdivisionQuadEdgeMeshFilter_hxx

#include "itkTriangleCellSubdivisionQuadEdgeMeshFilter.h"

namespace itk
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
#ifndef itkTriangleEdgeCellSubdivisionQuadEdgeMeshFilter_hxx
#define itkTriangleEdgeCellSubdivisionQuadEdgeMeshFilter_hxx

#include "itkTriangleEdgeCellSubdivisionQuadEdgeMeshFilter.h"

namespace itk
{
Expand Down

0 comments on commit cb71f21

Please sign in to comment.