From bb00d588ad167dccb378a9d61f4d9975c681a74c Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Wed, 14 Feb 2018 15:57:07 +0100 Subject: [PATCH] [clang-tidy] Explained hack a bit. --- ThirdParty/.clang-tidy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/ThirdParty/.clang-tidy b/ThirdParty/.clang-tidy index 62160a2d11d..8cd40d73ca6 100644 --- a/ThirdParty/.clang-tidy +++ b/ThirdParty/.clang-tidy @@ -1,3 +1,6 @@ --- -# Disable all checks, one check has to be enabled (hack) +# Disable all checks, one check has to be enabled. +# Hack: if there is no enabled check clang-tidy (at least in the way it is +# invoked by CMake) prints out its own usage instructions. I have chosen an +# arbitrary check here. Checks: '-*,boost-use-to-string' -- GitLab