This is an automated email from the ASF dual-hosted git repository.
masaori pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
The following commit(s) were added to refs/heads/master by this push:
new 9b73fc9 Exclude library headers from clang-tidy
9b73fc9 is described below
commit 9b73fc965e209b7e846aa8699430cbeaf9ecfcad
Author: Masaori Koshiba <[email protected]>
AuthorDate: Wed Mar 20 16:26:05 2019 +0900
Exclude library headers from clang-tidy
---
.clang-tidy | 1 +
build/tidy.mk | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/.clang-tidy b/.clang-tidy
index 1658bf3..a1ea4a3 100644
--- a/.clang-tidy
+++ b/.clang-tidy
@@ -1 +1,2 @@
Checks:
-*,modernize-loop-convert,modernize-use-bool-literals,modernize-deprecated-headers,performance-unnecessary-value-param,performance-faster-string-find,modernize-raw-string-literal,modernize-redundant-void-arg,modernize-use-nullptr,modernize-use-override
+HeaderFilterRegex: (?!(\/openssl\/|\/pcre\/|\/lib\/yaml\/)).*
diff --git a/build/tidy.mk b/build/tidy.mk
index 9829c0d..26d82c1 100644
--- a/build/tidy.mk
+++ b/build/tidy.mk
@@ -14,7 +14,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-Clang_Tidy_Options = -fix -fix-errors -header-filter=.*
+Clang_Tidy_Options = -fix -fix-errors
# Sort the filenames to remove duplicates, then filter to retain
# just the C and C++ sources so we don't pick up lex and yacc files