-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #91 from ndsev/release/1.4.0
Release: 1.4.0
- Loading branch information
Showing
26 changed files
with
252 additions
and
124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Documentation: | ||
# https://releases.llvm.org/14.0.0/tools/clang/docs/ClangFormatStyleOptions.html | ||
# CLion setup guide: | ||
# https://www.jetbrains.com/help/clion/clangformat-as-alternative-formatter.html#clion-support | ||
--- | ||
BasedOnStyle: Chromium | ||
IndentWidth: 4 | ||
--- | ||
Language: Cpp | ||
ColumnLimit: 100 | ||
|
||
# Always break after an open bracket, if the parameters don’t fit on a single line. | ||
AlignAfterOpenBracket: AlwaysBreak | ||
|
||
# Function call’s arguments will either be all on the same line or will have one line each. | ||
BinPackArguments: false | ||
BinPackParameters: false | ||
AllowAllArgumentsOnNextLine: false | ||
|
||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterClass: true | ||
AfterControlStatement: MultiLine | ||
AfterEnum: false | ||
AfterFunction: true | ||
AfterNamespace: true | ||
AfterObjCDeclaration: true | ||
AfterStruct: true | ||
AfterUnion: true | ||
BeforeCatch: true | ||
BeforeElse: true | ||
IndentBraces: false | ||
BeforeLambdaBody: true | ||
|
||
# while (true) { continue; } | ||
AllowShortBlocksOnASingleLine: Always | ||
AllowShortLambdasOnASingleLine: Empty | ||
|
||
# case 1: return 2; | ||
AllowShortCaseLabelsOnASingleLine: true | ||
IndentCaseBlocks: false | ||
IndentCaseLabels: false | ||
|
||
AlignOperands: false | ||
ContinuationIndentWidth: 4 | ||
|
||
BreakBeforeBinaryOperators: None | ||
BreakBeforeTernaryOperators: false | ||
|
||
IndentAccessModifiers: false | ||
AccessModifierOffset: -4 | ||
|
||
PenaltyIndentedWhitespace: 100 | ||
PenaltyBreakAssignment: 100 | ||
PenaltyReturnTypeOnItsOwnLine: 100 | ||
PenaltyBreakBeforeFirstCallParameter: 0 | ||
PenaltyBreakOpenParenthesis: 200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#define CATCH_CONFIG_MAIN | ||
#include <catch2/catch.hpp> | ||
#include <catch2/catch_all.hpp> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#include <catch2/catch.hpp> | ||
#include <catch2/catch_all.hpp> | ||
|
||
#include "httpcl/uri.hpp" | ||
|
||
|
Oops, something went wrong.