This is an archive of the discontinued LLVM Phabricator instance.

[libclang] Remove redundant return statements in CXType.cpp
ClosedPublic

Authored by emilio on Dec 14 2022, 5:18 PM.

Details

Summary

Let the branch fall through the error path like other functions here do.

Diff Detail

Event Timeline

emilio created this revision.Dec 14 2022, 5:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 14 2022, 5:18 PM
emilio requested review of this revision.Dec 14 2022, 5:18 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 14 2022, 5:18 PM
Herald added a subscriber: cfe-commits. · View Herald Transcript
emilio updated this revision to Diff 483048.Dec 14 2022, 5:22 PM

Remove gratuitious whitespace changes

Unclear to me who to request review from, so I'm peeking reviewer based on the git log. Please feel free to review or forward to someone else as appropriate. Thanks in advance!

The cleanup looks good to me, thanks! Out of curiosity, did just stumble on this, or did an automatic tool gave you an hint?

This revision is now accepted and ready to land.Feb 28 2023, 12:56 PM

The cleanup looks good to me, thanks! Out of curiosity, did just stumble on this, or did an automatic tool gave you an hint?

I was just reading through the code.

This revision was landed with ongoing or failed builds.Feb 28 2023, 10:29 PM
This revision was automatically updated to reflect the committed changes.