Skip to content
Snippets Groups Projects
Commit 65ed17a6 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

.clang-tidy: temporarily suppress many warnings

parent 0527e766
No related branches found
No related tags found
No related merge requests found
--- ---
Checks: '*, Checks: '*,
-*braces-around-statements, -*-braces-around-statements,
-*implicit-bool-conversion, -*-convert-member-functions-to-static,
-*magic-numbers, -*-implicit-bool-conversion,
-*named-parameter, -*-magic-numbers,
-*-named-parameter,
-clang-analyzer-alpha*, -clang-analyzer-alpha*,
-cert-err58-cpp, -cert-err58-cpp,
-cert-err61-cpp, -cert-err61-cpp,
...@@ -16,10 +17,33 @@ Checks: '*, ...@@ -16,10 +17,33 @@ Checks: '*,
-cppcoreguidelines-pro-type-vararg, -cppcoreguidelines-pro-type-vararg,
-fuchsia-default-arguments-calls, -fuchsia-default-arguments-calls,
-fuchsia-overloaded-operator, -fuchsia-overloaded-operator,
-google-build-using-namespace,
-google-default-arguments, -google-default-arguments,
-google-readability-todo,
-google-runtime-int, -google-runtime-int,
-hicpp-vararg, -hicpp-vararg,
-misc-throw-by-value-catch-by-reference, -misc-throw-by-value-catch-by-reference,
-modernize-loop-convert,
-modernize-raw-string-literal, -modernize-raw-string-literal,
-modernize-use-trailing-return-type, -modernize-use-trailing-return-type,
' -modernize-use-using,
\ No newline at end of file -performance-unnecessary-value-param,
-*-isolate-declaration,
-*-member-init,
-*-namespace-comment,
-*-owning-memory,
-*-simplify-boolean-expr,
-*-special-member-function*,
-*-static-definition-in-anonymous-namespace,
-*-statically-constructed-objects,
-*-use-auto,
-bugprone-copy-constructor-init,
-bugprone-narrowing-conversions,
-bugprone-unhandled-self-assignment,
-cert-oop54-cpp,
-google-readability-casting,
-modernize-loop-convert,
-modernize-return-braced-init-list,
-performance-unnecessary-value-param,
'
...@@ -28,12 +28,10 @@ namespace ...@@ -28,12 +28,10 @@ namespace
//! which is the case for 2D functions. //! which is the case for 2D functions.
bool particleDensityIsProvidedByInterference(const IInterferenceFunction& iff) bool particleDensityIsProvidedByInterference(const IInterferenceFunction& iff)
{ {
if (iff.getName() == "Interference2DLattice" || iff.getName() == "Interference2DParaCrystal" return iff.getName() == "Interference2DLattice" || iff.getName() == "Interference2DParaCrystal"
|| iff.getName() == "Interference2DSuperLattice" || iff.getName() == "Interference2DSuperLattice"
|| iff.getName() == "InterferenceFinite2DLattice" || iff.getName() == "InterferenceFinite2DLattice"
|| iff.getName() == "InterferenceHardDisk") || iff.getName() == "InterferenceHardDisk";
return true;
return false;
} }
} // namespace } // namespace
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment