From b6a70b8c8ace567d629fde9b7c86f5e822886998 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Tue, 20 Aug 2019 14:53:20 +0200 Subject: [PATCH] clang-tidy; Allow single line stmts w/o braces. --- .clang-tidy | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index 7db6dba41c9..ff349ead9c8 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -5,3 +5,10 @@ WarningsAsErrors: '' HeaderFilterRegex: '.*' AnalyzeTemporaryDtors: false FormatStyle: file +CheckOptions: + - key: google-readability-braces-around-statements.ShortStatementLines + value: '1' + - key: hicpp-braces-around-statements.ShortStatementLines + value: '1' + - key: readability-braces-around-statements.ShortStatementLines + value: '1' -- GitLab