[all-commits] [llvm/llvm-project] bc8a8f: [clang][Sema] Improve `Sema::CheckCXXDefaultArgume...
MagentaTreehouse via All-commits
all-commits at lists.llvm.org
Wed Jul 17 05:09:56 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bc8a8f5415c522f99600171e012d511c010d7309
https://github.com/llvm/llvm-project/commit/bc8a8f5415c522f99600171e012d511c010d7309
Author: MagentaTreehouse <99200384+MagentaTreehouse at users.noreply.github.com>
Date: 2024-07-17 (Wed, 17 Jul 2024)
Changed paths:
M clang/lib/Sema/SemaDeclCXX.cpp
Log Message:
-----------
[clang][Sema] Improve `Sema::CheckCXXDefaultArguments` (#97338)
In the second loop in `Sema::CheckCXXDefaultArguments`, we don't need to
re-examine the first parameter with a default argument. Dropped the
first iteration of that loop.
In addition, use the preferred early `continue` for the if-statement in
the loop.
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