From 91043a85ba0e00dcf1e881c22e25ee3e6df2bfad Mon Sep 17 00:00:00 2001 From: Hadrien Grasland <grasland@lal.in2p3.fr> Date: Fri, 8 Dec 2017 08:56:56 +0100 Subject: [PATCH] Don't let clang-format mess with macros, it makes too much of a mess --- scripts/compareRootFiles.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/compareRootFiles.hpp b/scripts/compareRootFiles.hpp index 5f21b713..55332f8d 100644 --- a/scripts/compareRootFiles.hpp +++ b/scripts/compareRootFiles.hpp @@ -486,6 +486,8 @@ private: const std::string& branchName, const std::string elemType) { + // clang-format off + // We support vectors of different types by switching across type (strings) #define CREATE_VECTOR__HANDLE_TYPE(type_name) \ if(elemType == #type_name) { \ @@ -515,6 +517,8 @@ private: // Throw an exception if the vector element type is not recognized else throw UnsupportedBranchType(); + + // clang-format on } // This helper method provides general string conversion for all supported -- GitLab