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
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to