This is an archive of the discontinued LLVM Phabricator instance.

[clang] NFC: remove superfluous braces
ClosedPublic

Authored by zhouyizhou on Aug 23 2021, 9:40 PM.

Details

Summary

In commit 9bb33f572f7609d469d3a505c9987b83eac5b78c, a pair of superfluous braces are introduced to the function Sema::BuildDeclarationNameExpr.
This patch tries to remove the superfluous braces. Also use clang-format to further beautify the above function.

Diff Detail

Event Timeline

zhouyizhou requested review of this revision.Aug 23 2021, 9:40 PM
zhouyizhou created this revision.
Herald added a project: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Aug 23 2021, 10:19 PM

Thanks for reviewing
I don't have the write access to LLVM, could you please commit this patch for me?
Signed-off-by: Zhouyi Zhou <zhouzhouyi@gmail.com>

This revision was automatically updated to reflect the committed changes.