Page MenuHomePhabricator

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

Authored by MyDeveloperDay on Tue, Nov 2, 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

TimeTest
30 msx64 debian > Clang-Unit.Format/_/FormatTests::FormatTest.AlignConsecutiveMacros
Script: -- /var/lib/buildkite-agent/builds/llvm-project/build/tools/clang/unittests/Format/./FormatTests --gtest_filter=FormatTest.AlignConsecutiveMacros
30 msx64 debian > Clang-Unit.Format/_/FormatTests::FormatTest.AlignWithLineBreaks
Script: -- /var/lib/buildkite-agent/builds/llvm-project/build/tools/clang/unittests/Format/./FormatTests --gtest_filter=FormatTest.AlignWithLineBreaks
30 msx64 debian > Clang-Unit.Format/_/FormatTests::FormatTest.AlignsAfterOpenBracket
Script: -- /var/lib/buildkite-agent/builds/llvm-project/build/tools/clang/unittests/Format/./FormatTests --gtest_filter=FormatTest.AlignsAfterOpenBracket
30 msx64 debian > Clang-Unit.Format/_/FormatTests::FormatTest.AlignsPipes
Script: -- /var/lib/buildkite-agent/builds/llvm-project/build/tools/clang/unittests/Format/./FormatTests --gtest_filter=FormatTest.AlignsPipes
30 msx64 debian > Clang-Unit.Format/_/FormatTests::FormatTest.AlignsStringLiterals
Script: -- /var/lib/buildkite-agent/builds/llvm-project/build/tools/clang/unittests/Format/./FormatTests --gtest_filter=FormatTest.AlignsStringLiterals
View Full Test Results (136 Failed)

Event Timeline

MyDeveloperDay requested review of this revision.Tue, Nov 2, 4:12 AM
MyDeveloperDay created this revision.
Herald added a project: Restricted Project. · View Herald TranscriptTue, Nov 2, 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.Thu, Nov 4, 2:44 AM