From cfa689c943e1aa2806c7fffc8ab193d8c2d931ee Mon Sep 17 00:00:00 2001 From: Samuel Jackson <samueljackson@outlook.com> Date: Tue, 3 Oct 2017 09:36:13 +0100 Subject: [PATCH] Apply clang-format patch --- Framework/API/src/TransformScaleFactory.cpp | 1 - Framework/Algorithms/src/CreateDummyCalFile.cpp | 1 - Framework/Algorithms/src/DetectorEfficiencyCorUser.cpp | 1 - Framework/Algorithms/src/MonitorEfficiencyCorUser.cpp | 1 - Framework/Algorithms/src/SpatialGrouping.cpp | 1 - Framework/CurveFitting/src/GSLFunctions.cpp | 1 - Framework/DataHandling/src/FindDetectorsInShape.cpp | 1 - Framework/DataHandling/src/LoadInstrument.cpp | 1 - Framework/DataObjects/src/GroupingWorkspace.cpp | 1 - Framework/DataObjects/src/OffsetsWorkspace.cpp | 1 - Framework/Kernel/src/Matrix.cpp | 1 - Framework/MDAlgorithms/src/BinMD.cpp | 1 - MantidPlot/src/Mantid/MantidCurve.cpp | 1 - qt/scientific_interfaces/Indirect/IndirectBayesTab.cpp | 1 - qt/scientific_interfaces/MultiDatasetFit/MDFDataController.cpp | 1 - 15 files changed, 15 deletions(-) diff --git a/Framework/API/src/TransformScaleFactory.cpp b/Framework/API/src/TransformScaleFactory.cpp index d7f58605063..a1251eec360 100644 --- a/Framework/API/src/TransformScaleFactory.cpp +++ b/Framework/API/src/TransformScaleFactory.cpp @@ -2,7 +2,6 @@ #include "MantidAPI/ITransformScale.h" #include "MantidKernel/Logger.h" - namespace Mantid { namespace API { namespace { diff --git a/Framework/Algorithms/src/CreateDummyCalFile.cpp b/Framework/Algorithms/src/CreateDummyCalFile.cpp index d8a7c3a3268..163b64b8c4a 100644 --- a/Framework/Algorithms/src/CreateDummyCalFile.cpp +++ b/Framework/Algorithms/src/CreateDummyCalFile.cpp @@ -16,7 +16,6 @@ #include <boost/algorithm/string/split.hpp> #include <boost/algorithm/string/detail/classification.hpp> - namespace Mantid { namespace Algorithms { diff --git a/Framework/Algorithms/src/DetectorEfficiencyCorUser.cpp b/Framework/Algorithms/src/DetectorEfficiencyCorUser.cpp index 67806601ad9..a5c259bc501 100644 --- a/Framework/Algorithms/src/DetectorEfficiencyCorUser.cpp +++ b/Framework/Algorithms/src/DetectorEfficiencyCorUser.cpp @@ -11,7 +11,6 @@ #include "MantidKernel/CompositeValidator.h" #include "MantidKernel/Strings.h" - namespace Mantid { namespace Algorithms { diff --git a/Framework/Algorithms/src/MonitorEfficiencyCorUser.cpp b/Framework/Algorithms/src/MonitorEfficiencyCorUser.cpp index 42734b9899c..633ca8a38cd 100644 --- a/Framework/Algorithms/src/MonitorEfficiencyCorUser.cpp +++ b/Framework/Algorithms/src/MonitorEfficiencyCorUser.cpp @@ -9,7 +9,6 @@ #include "MantidKernel/MultiThreaded.h" #include "MantidKernel/Strings.h" - namespace Mantid { namespace Algorithms { diff --git a/Framework/Algorithms/src/SpatialGrouping.cpp b/Framework/Algorithms/src/SpatialGrouping.cpp index b4febbdba4e..5958d5a3a59 100644 --- a/Framework/Algorithms/src/SpatialGrouping.cpp +++ b/Framework/Algorithms/src/SpatialGrouping.cpp @@ -14,7 +14,6 @@ #include <algorithm> #include "MantidAPI/ISpectrum.h" - namespace { /* * Comparison operator for use in std::sort when dealing with a vector of diff --git a/Framework/CurveFitting/src/GSLFunctions.cpp b/Framework/CurveFitting/src/GSLFunctions.cpp index d625f504c58..cf506c0eab8 100644 --- a/Framework/CurveFitting/src/GSLFunctions.cpp +++ b/Framework/CurveFitting/src/GSLFunctions.cpp @@ -8,7 +8,6 @@ namespace Mantid { namespace CurveFitting { - /** Fit GSL function wrapper * @param x :: Input function parameters * @param params :: Input data diff --git a/Framework/DataHandling/src/FindDetectorsInShape.cpp b/Framework/DataHandling/src/FindDetectorsInShape.cpp index 5093623918a..87287d196fd 100644 --- a/Framework/DataHandling/src/FindDetectorsInShape.cpp +++ b/Framework/DataHandling/src/FindDetectorsInShape.cpp @@ -10,7 +10,6 @@ #include <Poco/DOM/Document.h> #include <Poco/DOM/Element.h> - namespace Mantid { namespace DataHandling { // Register the algorithm into the algorithm factory diff --git a/Framework/DataHandling/src/LoadInstrument.cpp b/Framework/DataHandling/src/LoadInstrument.cpp index c06b4bee16d..2a33d40254e 100644 --- a/Framework/DataHandling/src/LoadInstrument.cpp +++ b/Framework/DataHandling/src/LoadInstrument.cpp @@ -23,7 +23,6 @@ #include <fstream> #include "MantidGeometry/Instrument/InstrumentDefinitionParser.h" - namespace Mantid { namespace DataHandling { diff --git a/Framework/DataObjects/src/GroupingWorkspace.cpp b/Framework/DataObjects/src/GroupingWorkspace.cpp index ebd731d59aa..933b362c033 100644 --- a/Framework/DataObjects/src/GroupingWorkspace.cpp +++ b/Framework/DataObjects/src/GroupingWorkspace.cpp @@ -4,7 +4,6 @@ #include "MantidAPI/WorkspaceFactory.h" #include "MantidAPI/SpectraAxis.h" - using std::size_t; using namespace Mantid::API; diff --git a/Framework/DataObjects/src/OffsetsWorkspace.cpp b/Framework/DataObjects/src/OffsetsWorkspace.cpp index f8ec4be1fd4..64e9216f0ae 100644 --- a/Framework/DataObjects/src/OffsetsWorkspace.cpp +++ b/Framework/DataObjects/src/OffsetsWorkspace.cpp @@ -4,7 +4,6 @@ #include "MantidAPI/WorkspaceFactory.h" #include "MantidAPI/SpectraAxis.h" - namespace Mantid { namespace DataObjects { // Register the workspace diff --git a/Framework/Kernel/src/Matrix.cpp b/Framework/Kernel/src/Matrix.cpp index 0ea0bf2d2e5..cdd07279dd5 100644 --- a/Framework/Kernel/src/Matrix.cpp +++ b/Framework/Kernel/src/Matrix.cpp @@ -10,7 +10,6 @@ #include <memory> #include <sstream> - namespace Mantid { namespace Kernel { diff --git a/Framework/MDAlgorithms/src/BinMD.cpp b/Framework/MDAlgorithms/src/BinMD.cpp index 742298dd2ad..3346daac0c5 100644 --- a/Framework/MDAlgorithms/src/BinMD.cpp +++ b/Framework/MDAlgorithms/src/BinMD.cpp @@ -17,7 +17,6 @@ #include "MantidKernel/Utils.h" #include <boost/algorithm/string.hpp> - namespace Mantid { namespace MDAlgorithms { diff --git a/MantidPlot/src/Mantid/MantidCurve.cpp b/MantidPlot/src/Mantid/MantidCurve.cpp index e2bed8788b8..e8519d882c9 100644 --- a/MantidPlot/src/Mantid/MantidCurve.cpp +++ b/MantidPlot/src/Mantid/MantidCurve.cpp @@ -12,7 +12,6 @@ #include "ErrorBarSettings.h" #include "MantidKernel/CPUTimer.h" - /** Constructor @param wsName : Name of the workspace diff --git a/qt/scientific_interfaces/Indirect/IndirectBayesTab.cpp b/qt/scientific_interfaces/Indirect/IndirectBayesTab.cpp index 6677fe9a598..305558ff163 100644 --- a/qt/scientific_interfaces/Indirect/IndirectBayesTab.cpp +++ b/qt/scientific_interfaces/Indirect/IndirectBayesTab.cpp @@ -4,7 +4,6 @@ #include "MantidQtWidgets/Common/UserSubWindow.h" #include "IndirectBayesTab.h" - namespace MantidQt { namespace CustomInterfaces { diff --git a/qt/scientific_interfaces/MultiDatasetFit/MDFDataController.cpp b/qt/scientific_interfaces/MultiDatasetFit/MDFDataController.cpp index 3382c857a8b..bee61a2db2b 100644 --- a/qt/scientific_interfaces/MultiDatasetFit/MDFDataController.cpp +++ b/qt/scientific_interfaces/MultiDatasetFit/MDFDataController.cpp @@ -23,7 +23,6 @@ namespace MantidQt { namespace CustomInterfaces { namespace MDF { - /// Constructor. DataController::DataController(MultiDatasetFit *parent, QTableWidget *dataTable) : QObject(parent), m_dataTable(dataTable), m_isFittingRangeGlobal(false) { -- GitLab