From 758373b7de81c4e56e4491f554be62447c84045c Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Fri, 16 Aug 2019 17:23:00 -0500 Subject: [PATCH] Add clang-tidy config file. --- .clang-tidy | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .clang-tidy diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 000000000..b5e39349d --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,8 @@ +--- +# Ideally we'd turn back on a few of these that are disabled near the end +Checks: 'clang-diagnostic-*,clang-analyzer-*,performance-*,bugprone-*,cert-*,readability-*,misc-*,-modernize-*,-clang-analyzer-security.insecureAPI.strcpy,-bugprone-macro-parentheses,-readability-braces-around-statements,-misc-unused-parameters,-readability-implicit-bool-conversion,-clang-diagnostic-missing-field-initializers,-clang-diagnostic-missing-braces' +WarningsAsErrors: '' +HeaderFilterRegex: 'src/xrt/.*' +AnalyzeTemporaryDtors: false +FormatStyle: file +...