Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
a24db83c
Commit
a24db83c
authored
9 years ago
by
Anton Piccardo-Selg
Browse files
Options
Downloads
Patches
Plain Diff
Refs #13872 Disbale clang format for diagnostic-off
parent
cc53bf6b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Framework/DataObjects/src/MDFramesToSpecialCoordinateSystem.cpp
+6
-0
6 additions, 0 deletions
...ork/DataObjects/src/MDFramesToSpecialCoordinateSystem.cpp
Framework/DataObjects/src/MDHistoWorkspace.cpp
+6
-2
6 additions, 2 deletions
Framework/DataObjects/src/MDHistoWorkspace.cpp
with
12 additions
and
2 deletions
Framework/DataObjects/src/MDFramesToSpecialCoordinateSystem.cpp
+
6
−
0
View file @
a24db83c
...
...
@@ -11,6 +11,9 @@ MDFramesToSpecialCoordinateSystem::MDFramesToSpecialCoordinateSystem() {}
MDFramesToSpecialCoordinateSystem
::~
MDFramesToSpecialCoordinateSystem
()
{}
// Need to turn off the warnings because of boost optional being used.
// clang-format off
GCC_DIAG_OFF
(
cast
-
qual
)
// clang-format on
GCC_DIAG_OFF
(
maybe
-
uninitialized
)
/**
* Get the Special Coordinate System based on the MDFrame information.
...
...
@@ -61,6 +64,9 @@ boost::optional<Mantid::Kernel::SpecialCoordinateSystem>
return
output
;
}
GCC_DIAG_ON
(
maybe
-
uninitialized
)
// clang-format off
GCC_DIAG_ON
(
cast
-
qual
)
// clang-format on
/**
* Make sure that the QFrame types are the same.
...
...
This diff is collapsed.
Click to expand it.
Framework/DataObjects/src/MDHistoWorkspace.cpp
+
6
−
2
View file @
a24db83c
...
...
@@ -1214,10 +1214,12 @@ uint64_t MDHistoWorkspace::sumNContribEvents() const {
return
sum
;
}
/**
* Get the Q frame system (if any) to use.
*/
// clang-format off
GCC_DIAG_OFF
(
cast
-
qual
)
// clang-format on
GCC_DIAG_OFF
(
strict
-
aliasing
)
Kernel
::
SpecialCoordinateSystem
MDHistoWorkspace
::
getSpecialCoordinateSystem
()
const
{
...
...
@@ -1231,7 +1233,9 @@ MDHistoWorkspace::getSpecialCoordinateSystem() const {
return
coordinates
;
}
GCC_DIAG_ON
(
strict
-
aliasing
)
// clang-format off
GCC_DIAG_ON
(
cast
-
qual
)
// clang-format on
/**
Set the special coordinate system (if any) to use.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment