From 3ad60bd948422f9e9e8f4bf9aac8a14e4f019982 Mon Sep 17 00:00:00 2001 From: Nathan James Date: Fri, 31 Jan 2020 16:49:13 +0000 Subject: [PATCH] - Update .clang-tidy to ignore parameters of main like functions for naming violations in clang and llvm directory Summary: Every call to a main like function in llvm and clang lib violates the naming convention for parameters. This prevents clang-tidy warning on such breaches. Reviewers: alexfh, hokein Reviewed By: hokein Subscribers: merge_guards_bot, aheejin, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D73715 --- .clang-tidy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.clang-tidy b/.clang-tidy index 3f407e0160e..e7e0830cfec 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -14,4 +14,6 @@ CheckOptions: value: CamelCase - key: readability-identifier-naming.VariableCase value: CamelCase + - key: readability-identifier-naming.IgnoreMainLikeFunctions + value: 1