summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorRong Rong (AI Infra) <rongr@fb.com>2020-12-17 20:43:37 -0800
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>2020-12-17 20:45:37 -0800
commited0489c11a5a91a493dff6bb5f57579162fca9de (patch)
treec8a0cb322d6a00fcd3a1daf4630fad78cc97018d /.clang-tidy
parent90580405270db023a5aba211fc99352f76f248fa (diff)
downloadpytorch-ed0489c11a5a91a493dff6bb5f57579162fca9de.tar.gz
pytorch-ed0489c11a5a91a493dff6bb5f57579162fca9de.tar.bz2
pytorch-ed0489c11a5a91a493dff6bb5f57579162fca9de.zip
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
Diffstat (limited to '.clang-tidy')
-rw-r--r--.clang-tidy1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy
index e062760cf7..38cc67747c 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,