1
0
Fork 0
mirror of https://github.com/TheLartians/ModernCppStarter.git synced 2025-08-30 13:41:13 +02:00

Make include order follow Google/LLVM/Lakos guidelines

This commit is contained in:
Luke Peterson 2021-03-21 12:26:29 -07:00
parent 6132c67bd2
commit 651d5e18a3
3 changed files with 5 additions and 3 deletions

View file

@ -7,7 +7,7 @@
BreakBeforeBraces: Attach
ColumnLimit: '100'
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
IncludeBlocks: Regroup
IncludeBlocks: Preserve
IndentPPDirectives: AfterHash
IndentWidth: '2'
NamespaceIndentation: All

View file

@ -1,6 +1,7 @@
#include <fmt/format.h>
#include <greeter/greeter.h>
#include <fmt/format.h>
using namespace greeter;
Greeter::Greeter(std::string _name) : name(std::move(_name)) {}

View file

@ -1,7 +1,8 @@
#include <doctest/doctest.h>
#include <greeter/greeter.h>
#include <greeter/version.h>
#include <doctest/doctest.h>
#include <string>
TEST_CASE("Greeter") {