[clang-tools-extra] [clang-tidy] Add `bugprone-missing-end-comparison` check (PR #182543)

via cfe-commits cfe-commits at lists.llvm.org
Sun Mar 1 07:37:52 PST 2026


EugeneZelenko wrote:

> **🔍 llvm-project Details (0 warnings, 2 errors)**
> #### 📄 `clang/tools/clang-fuzzer/ClangFuzzer.cpp`
> 
>     * 🛑 **[21:39](https://github.com/llvm/llvm-project/blob/c04b00de750801238bc85f11874c66a41b61b2c5/clang/tools/clang-fuzzer/ClangFuzzer.cpp#L21)**: unknown type name 'uint8_t' `[clang-diagnostic-error]`
>       ```c++
>       21 | extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
>       ```
> 
> 
> #### 📄 `clang/tools/clang-fuzzer/ClangObjectiveCFuzzer.cpp`
> 
>     * 🛑 **[21:39](https://github.com/llvm/llvm-project/blob/c04b00de750801238bc85f11874c66a41b61b2c5/clang/tools/clang-fuzzer/ClangObjectiveCFuzzer.cpp#L21)**: unknown type name 'uint8_t' `[clang-diagnostic-error]`
>       ```c++
>       21 | extern "C" int LLVMFuzzerTestOneInput(uint8_t *data, size_t size) {
>       ```

Both files should include `cstddef` and `cstdint`. `Clang Include Cleaner` definitely complains about missing includes.


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


More information about the cfe-commits mailing list