From ed0489c11a5a91a493dff6bb5f57579162fca9de Mon Sep 17 00:00:00 2001 From: "Rong Rong (AI Infra)" Date: Thu, 17 Dec 2020 20:43:37 -0800 Subject: [PATCH] disable concat nested namespace check (#49571) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/49571 Disable nested namespace check since OSS standard is ``` set(CMAKE_CXX_STANDARD 14) ``` and its currently causing confusion on clang-tidy internally such as D25214452 Test Plan: clang-tidy Reviewed By: xuzhao9 Differential Revision: D25626392 fbshipit-source-id: 1fb472c89ebe9b83718ae27f2c1d77b8b2412b5e --- .clang-tidy | 1 + 1 file changed, 1 insertion(+) diff --git a/.clang-tidy b/.clang-tidy index e062760cf75..38cc67747c3 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -22,6 +22,7 @@ cppcoreguidelines-*, hicpp-exception-baseclass, hicpp-avoid-goto, modernize-*, +-modernize-concat-nested-namespaces, -modernize-return-braced-init-list, -modernize-use-auto, -modernize-use-default-member-init,