This is an archive of the discontinued LLVM Phabricator instance.

[clang-format] NOT FOR COMMIT - Demo of AutomaticBraces: Remove
AbandonedPublic

Authored by MyDeveloperDay on Nov 2 2021, 4:12 AM.

Details

Summary

This is not for committing its a clang-format on clang/lib/Format/TokenAnnotator.cpp with an option to remove braces from single line if/for (LLVM style)

Diff Detail

Event Timeline

MyDeveloperDay requested review of this revision.Nov 2 2021, 4:12 AM
MyDeveloperDay created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptNov 2 2021, 4:12 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript
clang/lib/Format/TokenAnnotator.cpp
3230

Here we really have an error!

MyDeveloperDay abandoned this revision.Nov 4 2021, 2:44 AM