This function keeps growing, refactor to use lambda.
Details
Details
- Reviewers
nemanjai stefanp jsji - Group Reviewers
Restricted Project - Commits
- rG10b60dde7670: [PowerPC] Refactor ppcUserFeaturesCheck()
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
This comment was removed by lei.
This comment was removed by lei.
clang/lib/Basic/Targets/PPC.cpp | ||
---|---|---|
240 | Looks like this is will cause behavior change.. And NOT NFC at all.. Before refactor, we will return false when *ANY* of the subfeature is ON. Can you please double check? |
clang/lib/Basic/Targets/PPC.cpp | ||
---|---|---|
240 | You are right... will post an update. |
Comment Actions
LGTM. Since there is an improvement for multi errors, we should remove [NFC] in title and commit messages. Thanks.
Looks like this is will cause behavior change.. And NOT NFC at all..
Before refactor, we will return false when *ANY* of the subfeature is ON.
After refactor, we will only return false, when *ALL* of the subfeature are ON, Passed will be set to true when any of subfeature are off .
Can you please double check?