[all-commits] [llvm/llvm-project] 6684a5: [analyzer][NFC] Trivial cleanup in ArrayBoundCheck...

Donát Nagy via All-commits all-commits at lists.llvm.org
Mon Feb 17 00:37:51 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6684a5970e74b8b4c0c83361a90e25dae9646db0
      https://github.com/llvm/llvm-project/commit/6684a5970e74b8b4c0c83361a90e25dae9646db0
  Author: Donát Nagy <donat.nagy at ericsson.com>
  Date:   2025-02-17 (Mon, 17 Feb 2025)

  Changed paths:
    M clang/lib/StaticAnalyzer/Checkers/ArrayBoundChecker.cpp

  Log Message:
  -----------
  [analyzer][NFC] Trivial cleanup in ArrayBoundChecker (#126941)

Two small stylistic improvements in code that I wrote ~a year ago:
1. fix a typo in a comment; and
2. simplify the code of `tryDividePair` by swapping the true and the
false branches.



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