[all-commits] [llvm/llvm-project] ccb6b0: [clang][NFC] Move Diags.isIgnored check later in c...

Timm Baeder via All-commits all-commits at lists.llvm.org
Fri May 30 08:26:51 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ccb6b0dafda22360edea8dbf515f78db3c31e807
      https://github.com/llvm/llvm-project/commit/ccb6b0dafda22360edea8dbf515f78db3c31e807
  Author: Timm Baeder <tbaeder at redhat.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M clang/lib/Sema/SemaStmt.cpp

  Log Message:
  -----------
  [clang][NFC] Move Diags.isIgnored check later in checkForRedundantLoop (#141470)

... Iteration.

The `isIgnored()` check is more expensive than the earlier checks, so
move it last.



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