Skip to content

Commit

Permalink
[clangd] Disable crashy unchecked-optional-access tidy check
Browse files Browse the repository at this point in the history
Fixes llvm#69369.
  • Loading branch information
kadircet committed Oct 18, 2023
1 parent e93bddb commit e19bf2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions clang-tools-extra/clangd/TidyProvider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ TidyProvider disableUnusableChecks(llvm::ArrayRef<std::string> ExtraBadChecks) {
"-bugprone-use-after-move",
// Alias for bugprone-use-after-move.
"-hicpp-invalid-access-moved",
// Check uses dataflow analysis, which might hang/crash unexpectedly on
// incomplete code.
"-bugprone-unchecked-optional-access",

// ----- Performance problems -----

Expand Down

0 comments on commit e19bf2e

Please sign in to comment.