[all-commits] [llvm/llvm-project] 9343ec: [clang-tidy] Adding the missing handling of "noret...

Ziqing Luo via All-commits all-commits at lists.llvm.org
Fri Aug 26 12:45:35 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9343ec861a2e47f05b3b4339f45f6e755b1c5f96
      https://github.com/llvm/llvm-project/commit/9343ec861a2e47f05b3b4339f45f6e755b1c5f96
  Author: ziqingluo-90 <ziqing at udel.edu>
  Date:   2022-08-26 (Fri, 26 Aug 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/bugprone/InfiniteLoopCheck.cpp
    A clang-tools-extra/test/clang-tidy/checkers/bugprone/infinite-loop-noreturn.mm

  Log Message:
  -----------
  [clang-tidy] Adding the missing handling of "noreturn" attributes for Obj-C nodes in `InfiniteLoopChecker`

With this commit, the `InfiniteLoopChecker` now recognizes message
expressions to "noreturn" methods as well as calls to "noreturn"
blocks.

Reviewed by NoQ, njames93
Differential Revision: https://reviews.llvm.org/D128314




More information about the All-commits mailing list