Skip to content

Commit

Permalink
[clangd] Disable crashy unchecked-optional-access tidy check (#69427)
Browse files Browse the repository at this point in the history
  • Loading branch information
kadircet authored Oct 19, 2023
1 parent 278e533 commit e63ab13
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 e63ab13

Please sign in to comment.