-
Notifications
You must be signed in to change notification settings - Fork 15.5k
Open
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang-formatenhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing featuregood first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contribute
Description
| Bugzilla Link | 42767 |
| Version | unspecified |
| OS | Windows NT |
Extended Description
We have options to remove duplicate white-space lines, however, it would also be good for readability to be able to require at least one empty line:
- before and after and #include block
- before and after a namespace
//
// License
//
#include <memory>
#include <string>
namespace {
}
convert to:
//
// License
//
<<-- added empty line
#include <memory>
#include <string>
<<-- added empty line
namespace Bar {
class Foo {
};
} // Bar
kdisneur
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzillaclang-formatenhancementImproving things as opposed to bug fixing, e.g. new or missing featureImproving things as opposed to bug fixing, e.g. new or missing featuregood first issuehttps://github.com/llvm/llvm-project/contributehttps://github.com/llvm/llvm-project/contribute