[all-commits] [llvm/llvm-project] 4ce2f9: [Serialization] Use traditional for loops (NFC) (#...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Sat Aug 10 10:50:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ce2f988b28445dadd067e6990aa6fb3db81a184
      https://github.com/llvm/llvm-project/commit/4ce2f988b28445dadd067e6990aa6fb3db81a184
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-08-10 (Sat, 10 Aug 2024)

  Changed paths:
    M clang/lib/Serialization/ASTReader.cpp

  Log Message:
  -----------
  [Serialization] Use traditional for loops (NFC) (#102761)

The use of _ requires either:

- (void)_ and curly braces, or
- [[maybe_unused]].

For simple repetitions like these, we can use traditional for loops
for readable warning-free code.



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