Commit d9968f38 authored by Kitware Robot's avatar Kitware Robot Committed by Ben Boeckel
Browse files

clang-format: add semicolons to macro calls

clang-format takes the lack of a semicolon as if it were an attribute or
some other "chainable" call leading to bogus indentation. By using
semicolons on all macro calls, the formatting comes out the way it
should.
parent d7562076
......@@ -29,7 +29,7 @@
#include <vtkm/filter/CellAverage.h>
#include <vtkm/filter/CellAverage.hxx>
vtkStandardNewMacro(vtkmAverageToCells)
vtkStandardNewMacro(vtkmAverageToCells);
//------------------------------------------------------------------------------
vtkmAverageToCells::vtkmAverageToCells()
......
......@@ -34,7 +34,7 @@
class VTKACCELERATORSVTKM_EXPORT vtkmAverageToCells : public vtkDataSetAlgorithm
{
public:
vtkTypeMacro(vtkmAverageToCells, vtkDataSetAlgorithm)
vtkTypeMacro(vtkmAverageToCells, vtkDataSetAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent) override;
static vtkmAverageToCells* New();
......
......@@ -30,7 +30,7 @@
#include <vtkm/filter/PointAverage.h>
#include <vtkm/filter/PointAverage.hxx>
vtkStandardNewMacro(vtkmAverageToPoints)
vtkStandardNewMacro(vtkmAverageToPoints);
//------------------------------------------------------------------------------
vtkmAverageToPoints::vtkmAverageToPoints()
......
......@@ -33,7 +33,7 @@
class VTKACCELERATORSVTKM_EXPORT vtkmAverageToPoints : public vtkDataSetAlgorithm
{
public:
vtkTypeMacro(vtkmAverageToPoints,vtkDataSetAlgorithm)
vtkTypeMacro(vtkmAverageToPoints,vtkDataSetAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent) override;
static vtkmAverageToPoints* New();
......
......@@ -33,7 +33,7 @@
#include <vtkm/filter/CleanGrid.hxx>
vtkStandardNewMacro(vtkmCleanGrid)
vtkStandardNewMacro(vtkmCleanGrid);
//------------------------------------------------------------------------------
vtkmCleanGrid::vtkmCleanGrid()
......
......@@ -35,7 +35,7 @@ class vtkUnstructuredGrid;
class VTKACCELERATORSVTKM_EXPORT vtkmCleanGrid : public vtkUnstructuredGridAlgorithm
{
public:
vtkTypeMacro(vtkmCleanGrid, vtkUnstructuredGridAlgorithm)
vtkTypeMacro(vtkmCleanGrid, vtkUnstructuredGridAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent) override;
static vtkmCleanGrid* New();
......
......@@ -46,7 +46,7 @@
#include <algorithm>
vtkStandardNewMacro(vtkmClip)
vtkStandardNewMacro(vtkmClip);
//------------------------------------------------------------------------------
void vtkmClip::PrintSelf(std::ostream &os, vtkIndent indent)
......
......@@ -42,22 +42,22 @@ class VTKACCELERATORSVTKM_EXPORT vtkmClip : public vtkUnstructuredGridAlgorithm
{
public:
static vtkmClip* New();
vtkTypeMacro(vtkmClip, vtkUnstructuredGridAlgorithm)
vtkTypeMacro(vtkmClip, vtkUnstructuredGridAlgorithm);
void PrintSelf(ostream &os, vtkIndent indent) override;
/**
* The scalar value to use when clipping the dataset. Values greater than
* ClipValue are preserved in the output dataset. Default is 0.
*/
vtkGetMacro(ClipValue, double)
vtkSetMacro(ClipValue, double)
vtkGetMacro(ClipValue, double);
vtkSetMacro(ClipValue, double);
/**
* If true, all input point data arrays will be mapped onto the output
* dataset. Default is true.
*/
vtkGetMacro(ComputeScalars, bool)
vtkSetMacro(ComputeScalars, bool)
vtkGetMacro(ComputeScalars, bool);
vtkSetMacro(ComputeScalars, bool);
/**
* Set the implicit function with which to perform the clipping. If set,
......
......@@ -35,7 +35,7 @@
#include <vtkm/filter/Contour.h>
#include <vtkm/filter/Contour.hxx>
vtkStandardNewMacro(vtkmContour)
vtkStandardNewMacro(vtkmContour);
//------------------------------------------------------------------------------
vtkmContour::vtkmContour()
......
......@@ -39,7 +39,7 @@
class VTKACCELERATORSVTKM_EXPORT vtkmContour : public vtkContourFilter
{
public:
vtkTypeMacro(vtkmContour,vtkContourFilter)
vtkTypeMacro(vtkmContour,vtkContourFilter);
void PrintSelf(ostream& os, vtkIndent indent) override;
static vtkmContour* New();
......
......@@ -35,7 +35,7 @@
#include <vtkm/filter/CoordinateSystemTransform.h>
vtkStandardNewMacro(vtkmCoordinateSystemTransform)
vtkStandardNewMacro(vtkmCoordinateSystemTransform);
//------------------------------------------------------------------------------
vtkmCoordinateSystemTransform::vtkmCoordinateSystemTransform()
......
......@@ -32,7 +32,7 @@ class VTKACCELERATORSVTKM_EXPORT vtkmCoordinateSystemTransform : public vtkPoint
{
enum struct TransformTypes {None, CarToCyl, CylToCar, CarToSph, SphToCar};
public:
vtkTypeMacro(vtkmCoordinateSystemTransform, vtkPointSetAlgorithm)
vtkTypeMacro(vtkmCoordinateSystemTransform, vtkPointSetAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent) override;
static vtkmCoordinateSystemTransform* New();
......
......@@ -35,7 +35,7 @@
#include <vtkm/filter/ExternalFaces.h>
#include <vtkm/filter/ExternalFaces.hxx>
vtkStandardNewMacro(vtkmExternalFaces)
vtkStandardNewMacro(vtkmExternalFaces);
//------------------------------------------------------------------------------
vtkmExternalFaces::vtkmExternalFaces()
......
......@@ -36,7 +36,7 @@ class vtkUnstructuredGrid;
class VTKACCELERATORSVTKM_EXPORT vtkmExternalFaces : public vtkAlgorithm
{
public:
vtkTypeMacro(vtkmExternalFaces, vtkAlgorithm)
vtkTypeMacro(vtkmExternalFaces, vtkAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent) override;
static vtkmExternalFaces* New();
......
......@@ -42,7 +42,7 @@ struct InputFilterPolicy : public vtkmInputFilterPolicy
}
vtkStandardNewMacro(vtkmExtractVOI)
vtkStandardNewMacro(vtkmExtractVOI);
//------------------------------------------------------------------------------
void vtkmExtractVOI::PrintSelf(ostream& os, vtkIndent indent)
......
......@@ -42,7 +42,7 @@
class VTKACCELERATORSVTKM_EXPORT vtkmExtractVOI : public vtkExtractVOI
{
public:
vtkTypeMacro(vtkmExtractVOI, vtkExtractVOI)
vtkTypeMacro(vtkmExtractVOI, vtkExtractVOI);
void PrintSelf(ostream& os, vtkIndent indent) override;
static vtkmExtractVOI* New();
......
......@@ -33,7 +33,7 @@
#include <vtkm/filter/PointAverage.h>
#include <vtkm/filter/PointAverage.hxx>
vtkStandardNewMacro(vtkmGradient)
vtkStandardNewMacro(vtkmGradient);
namespace
{
......
......@@ -39,7 +39,7 @@
class VTKACCELERATORSVTKM_EXPORT vtkmGradient : public vtkGradientFilter
{
public:
vtkTypeMacro(vtkmGradient, vtkGradientFilter)
vtkTypeMacro(vtkmGradient, vtkGradientFilter);
void PrintSelf(ostream& os, vtkIndent indent) override;
static vtkmGradient* New();
......
......@@ -35,7 +35,7 @@
#include <vtkm/cont/ArrayRangeCompute.hxx>
#include <vtkm/filter/Histogram.h>
vtkStandardNewMacro(vtkmHistogram)
vtkStandardNewMacro(vtkmHistogram);
//------------------------------------------------------------------------------
vtkmHistogram::vtkmHistogram()
......
......@@ -34,7 +34,7 @@ class vtkDoubleArray;
class VTKACCELERATORSVTKM_EXPORT vtkmHistogram : public vtkTableAlgorithm
{
public:
vtkTypeMacro(vtkmHistogram, vtkTableAlgorithm)
vtkTypeMacro(vtkmHistogram, vtkTableAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent) override;
static vtkmHistogram* New();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment