diff --git a/.clang-tidy b/.clang-tidy new file mode 100644 index 0000000000..72bcc3d22e --- /dev/null +++ b/.clang-tidy @@ -0,0 +1,44 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +# https://releases.llvm.org/14.0.0/tools/clang/tools/extra/docs/clang-tidy/index.html + +abseil- # Checks related to Abseil library. +altera- # Checks related to OpenCL programming for FPGAs +android- # Checks related to Android +boost- # Checks related to Boost library +bugprone- # Checks that target bug-prone code constructs +cert- # Checks related to CERT Secure Coding Guidelines +clang-analyzer- # Clang Static Analyzer Checks +concurrency- # Checks related to concurrent programming (including threads, fibers, coroutines, etc.) +cppcoreguidelines- # Checks related to C++ Core Guidelines +darwin- # Checks related to Darwin coding conventions +fuchsia- # Checks related to Fuchsia coding conventions +google- # Checks related to Google coding conventions +hicpp- # Checks related to High Integrity C++ Coding Standard +linuxkernel- # Checks related to the Linux Kernel coding conventions +llvm- # Checks related to the LLVM coding conventions +llvmlibc- # Checks related to the LLVM-libc coding standards +misc- # Checks that we didn’t have a better category for +modernize- # Checks that advocate usage of modern (currently “modern” means “C++11”) language constructs +mpi- # Checks related to MPI (Message Passing Interface) +objc- # Checks related to Objective-C coding conventions +openmp- # Checks related to OpenMP API +performance- # Checks that target performance-related issues +portability- # Checks that target portability-related issues that don’t relate to any particular coding style +readability- # Checks that target readability-related issues that don’t relate to any particular coding style +zircon- # Checks related to Zircon kernel coding conventions.