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)
Details
Details
Diff Detail
Diff Detail
Unit Tests
Unit Tests
| Paths 
 |  Differential  D113000  
[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 
Unit TestsFailed Event TimelineMyDeveloperDay created this revision. 
 
Revision Contents 
 
Diff 384036 clang/lib/Format/TokenAnnotator.cpp
 
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Here we really have an error!