diff --git a/.clang-tidy b/.clang-tidy index 2bbfebd79e61..079170f1bf6e 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -1,5 +1,8 @@ --- # NOTE there must be no spaces before the '-', so put the comma last. +# The check bugprone-unchecked-optional-access is also turned off atm +# because it causes clang-tidy to hang randomly. The tracking issue +# can be found at https://github.com/llvm/llvm-project/issues/69369. InheritParentConfig: true Checks: ' bugprone-*, @@ -9,6 +12,7 @@ bugprone-*, -bugprone-lambda-function-name, -bugprone-reserved-identifier, -bugprone-swapped-arguments, +-bugprone-unchecked-optional-access, clang-diagnostic-missing-prototypes, cppcoreguidelines-*, -cppcoreguidelines-avoid-do-while,