[all-commits] [llvm/llvm-project] a66275: [Clang] [NFC] Use range-based for loops (#96831)

MagentaTreehouse via All-commits all-commits at lists.llvm.org
Mon Jul 1 05:55:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a66275090e140b9e800d694ce79b7781636dc849
      https://github.com/llvm/llvm-project/commit/a66275090e140b9e800d694ce79b7781636dc849
  Author: MagentaTreehouse <99200384+MagentaTreehouse at users.noreply.github.com>
  Date:   2024-07-01 (Mon, 01 Jul 2024)

  Changed paths:
    M clang/lib/AST/DeclCXX.cpp

  Log Message:
  -----------
  [Clang] [NFC] Use range-based for loops (#96831)

Use range-based for loops. In addition, extracted a loop from
`CXXRecordDecl::completeDefinition` to eliminate the `Done` flag, and
only construct `MyFinalOverriders` when `FinalOverriders` is null.



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