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:
parent
6132c67bd2
commit
651d5e18a3
3 changed files with 5 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
|||
BreakBeforeBraces: Attach
|
||||
ColumnLimit: '100'
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: 'true'
|
||||
IncludeBlocks: Regroup
|
||||
IncludeBlocks: Preserve
|
||||
IndentPPDirectives: AfterHash
|
||||
IndentWidth: '2'
|
||||
NamespaceIndentation: All
|
||||
|
|
|
@ -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)) {}
|
||||
|
|
|
@ -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") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue