[all-commits] [llvm/llvm-project] 296fbe: [clang-tidy] Fix crash in modernize-loop-convert w...

Piotr Zegar via All-commits all-commits at lists.llvm.org
Fri Jan 19 23:48:22 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 296fbee5af89e8e4c31dd98f48a9770c4eb3ca4d
      https://github.com/llvm/llvm-project/commit/296fbee5af89e8e4c31dd98f48a9770c4eb3ca4d
  Author: Piotr Zegar <me at piotrzegar.pl>
  Date:   2024-01-20 (Sat, 20 Jan 2024)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/LoopConvertCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/modernize/loop-convert-basic.cpp

  Log Message:
  -----------
  [clang-tidy] Fix crash in modernize-loop-convert when int is used as iterator (#78796)

Fix crash when built-in type (like int) is used as iterator, or when
call to begin() return integer.

Closes #78381




More information about the All-commits mailing list