[all-commits] [llvm/llvm-project] a5af87: [clang-format][NFC] Use `empty()` instead of compa...

Owen Pan via All-commits all-commits at lists.llvm.org
Sun Jul 6 23:54:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a5af8745039f906c4fc4184a1fe0d35d42355f52
      https://github.com/llvm/llvm-project/commit/a5af8745039f906c4fc4184a1fe0d35d42355f52
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2025-07-06 (Sun, 06 Jul 2025)

  Changed paths:
    M clang/lib/Format/FormatTokenLexer.cpp
    M clang/lib/Format/MacroExpander.cpp
    M clang/lib/Format/UnwrappedLineParser.cpp

  Log Message:
  -----------
  [clang-format][NFC] Use `empty()` instead of comparing size() to 0 or 1



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