[all-commits] [llvm/llvm-project] 30d8ae: [clang-tidy] Add option to disable bugprone-multi-...

Carlos Galvez via All-commits all-commits at lists.llvm.org
Sat Jun 7 12:52:45 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30d8aebbe2c3bd4bdda7a7feefeb7cf7d556a458
      https://github.com/llvm/llvm-project/commit/30d8aebbe2c3bd4bdda7a7feefeb7cf7d556a458
  Author: Carlos Galvez <carlosgalvezp at gmail.com>
  Date:   2025-06-07 (Sat, 07 Jun 2025)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/MultiLevelImplicitPointerConversionCheck.cpp
    M clang-tools-extra/clang-tidy/bugprone/MultiLevelImplicitPointerConversionCheck.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/bugprone/multi-level-implicit-pointer-conversion.rst
    A clang-tools-extra/test/clang-tidy/checkers/bugprone/multi-level-implicit-pointer-conversion.c

  Log Message:
  -----------
  [clang-tidy] Add option to disable bugprone-multi-level-pointer-conversion in C code (#141209)

Sometimes a project may want to enable this check only in C++, and
disable it in C, since the patterns the check warns about are quite
common and idiomatic in C, and there are no better alternatives.
    
Fixes #140659

Co-authored-by: Carlos Gálvez <carlos.galvez at zenseact.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list