aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/InitPreprocessor.cpp
diff options
context:
space:
mode:
authorMagentaTreehouse <99200384+MagentaTreehouse@users.noreply.github.com>2024-07-17 08:09:35 -0400
committerGitHub <noreply@github.com>2024-07-17 14:09:35 +0200
commitbc8a8f5415c522f99600171e012d511c010d7309 (patch)
tree1e9aa22650024739b51d72b494559c2c4f94fa8c /clang/lib/Frontend/InitPreprocessor.cpp
parent64f67a448740480b0ff5d8c89ee2b99878c5559c (diff)
downloadllvm-bc8a8f5415c522f99600171e012d511c010d7309.zip
llvm-bc8a8f5415c522f99600171e012d511c010d7309.tar.gz
llvm-bc8a8f5415c522f99600171e012d511c010d7309.tar.bz2
[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.
Diffstat (limited to 'clang/lib/Frontend/InitPreprocessor.cpp')
0 files changed, 0 insertions, 0 deletions