[all-commits] [llvm/llvm-project] ba3447: [clang-tidy] Fix crash in modernize-use-constraint...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Wed May 15 08:53:10 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba3447601c435bb2b24ad9e3c8d146c578f00568
      https://github.com/llvm/llvm-project/commit/ba3447601c435bb2b24ad9e3c8d146c578f00568
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/modernize/use-constraints.rst
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-constraints.cpp

  Log Message:
  -----------
  [clang-tidy] Fix crash in modernize-use-constraints (#92019)

Improved modernize-use-constraints check by fixing a crash that occurred
in some scenarios and excluded system headers from analysis.

Problem were with DependentNameTypeLoc having null type location as
getQualifierLoc().getTypeLoc().

Fixes #91872



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