[clang-tools-extra] [clang-tidy][NFC] Fix `bugprone-unchecked-optional-access` warnings in codebase (PR #170004)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 17 02:52:06 PST 2025


vbvictor wrote:

> Sorry for the postponing, I'll restart working on this soon.

No problem, this is actually a good part of open source development when you don't have any deadlines:) So you can pause for as long as you want.

> Update: I'm not sure whether we should enable this check. On my PC (Intel(R) Core(TM) 7 250H (20) @ 5.40 GHz ) it took 2305.9s to proceed `clang-tools-extra/clang-tidy/utils/LexerUtils.cpp`.

Hmm, that is very unfortunate and strange. Did you use `optimized` build of clang-tidy (installed from apt-get or Release local build)? When I did initial run in https://github.com/llvm/llvm-project/issues/156149#issuecomment-3239068431 with all checks enabled, I think it didn't run for very long (ryzen 9950x, 96GB ram). I will double-check later.



https://github.com/llvm/llvm-project/pull/170004


More information about the cfe-commits mailing list