Skip to content

Commit 3e9c9fd

Browse files
authored
Merge pull request #9 from selimanac/multi-map
Multi map support
2 parents a48da32 + f43dd67 commit 3e9c9fd

26 files changed

+2783
-1937
lines changed

.clang-format

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,123 @@
1+
---
2+
Language: Cpp
3+
BasedOnStyle: LLVM
4+
AccessModifierOffset: 0
5+
AlignAfterOpenBracket: Align
6+
AlignConsecutiveAssignments: false
7+
AlignConsecutiveDeclarations:
8+
Enabled: true
9+
AcrossEmptyLines: true
10+
AlignEscapedNewlines: DontAlign
11+
AlignOperands: false
12+
AlignTrailingComments: true
13+
AllowAllParametersOfDeclarationOnNextLine: false
14+
AllowShortBlocksOnASingleLine: false
15+
AllowShortCaseLabelsOnASingleLine: false
16+
AllowShortFunctionsOnASingleLine: Empty
17+
AllowShortIfStatementsOnASingleLine: false
18+
AllowShortLoopsOnASingleLine: false
19+
AlwaysBreakAfterDefinitionReturnType: None
20+
AlwaysBreakAfterReturnType: None
21+
AlwaysBreakBeforeMultilineStrings: true
22+
AlwaysBreakTemplateDeclarations: MultiLine
23+
BinPackArguments: false
24+
BinPackParameters: false
25+
BraceWrapping:
26+
AfterClass: true
27+
AfterControlStatement: true
28+
AfterEnum: true
29+
AfterFunction: true
30+
AfterNamespace: true
31+
AfterObjCDeclaration: true
32+
AfterStruct: true
33+
AfterUnion: true
34+
AfterExternBlock: true
35+
BeforeCatch: true
36+
BeforeElse: true
37+
IndentBraces: false
38+
SplitEmptyFunction: true
39+
SplitEmptyRecord: true
40+
SplitEmptyNamespace: true
41+
BreakBeforeBinaryOperators: None
42+
BreakBeforeBraces: Custom
43+
BreakBeforeInheritanceComma: false
44+
BreakInheritanceList: BeforeComma
45+
BreakBeforeTernaryOperators: false
46+
BreakConstructorInitializersBeforeComma: true
47+
BreakConstructorInitializers: BeforeComma
48+
BreakAfterJavaFieldAnnotations: false
49+
BreakStringLiterals: true
50+
ColumnLimit: 0
51+
CommentPragmas: "^ IWYU pragma:"
52+
CompactNamespaces: false
53+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
54+
ConstructorInitializerIndentWidth: 4
55+
ContinuationIndentWidth: 0
56+
Cpp11BracedListStyle: false
57+
DerivePointerAlignment: false
58+
DisableFormat: false
59+
ExperimentalAutoDetectBinPacking: false
60+
FixNamespaceComments: true
61+
ForEachMacros:
62+
- foreach
63+
- Q_FOREACH
64+
- BOOST_FOREACH
65+
IncludeBlocks: Preserve
66+
IncludeCategories:
67+
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
68+
Priority: 2
69+
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
70+
Priority: 3
71+
- Regex: ".*"
72+
Priority: 1
73+
IncludeIsMainRegex: "(Test)?$"
74+
IndentCaseLabels: true
75+
IndentPPDirectives: None
76+
IndentWidth: 4
77+
IndentWrappedFunctionNames: false
78+
JavaScriptQuotes: Leave
79+
JavaScriptWrapImports: true
80+
KeepEmptyLinesAtTheStartOfBlocks: false
81+
MacroBlockBegin: ""
82+
MacroBlockEnd: ""
83+
MaxEmptyLinesToKeep: 1
84+
NamespaceIndentation: All
85+
ObjCBinPackProtocolList: Auto
86+
ObjCBlockIndentWidth: 2
87+
ObjCSpaceAfterProperty: false
88+
ObjCSpaceBeforeProtocolList: true
89+
PenaltyBreakAssignment: 2
90+
PenaltyBreakBeforeFirstCallParameter: 19
91+
PenaltyBreakComment: 300
92+
PenaltyBreakFirstLessLess: 120
93+
PenaltyBreakString: 1000
94+
PenaltyBreakTemplateDeclaration: 10
95+
PenaltyExcessCharacter: 1000000
96+
PenaltyReturnTypeOnItsOwnLine: 60
97+
PointerAlignment: Left
98+
ReflowComments: true
99+
SortIncludes: false
100+
SortUsingDeclarations: false
101+
SpaceAfterCStyleCast: false
102+
SpaceAfterTemplateKeyword: true
103+
SpaceBeforeAssignmentOperators: true
104+
SpaceBeforeCpp11BracedList: true
105+
SpaceBeforeCtorInitializerColon: true
106+
SpaceBeforeInheritanceColon: true
107+
SpaceBeforeParens: ControlStatements
108+
SpaceBeforeRangeBasedForLoopColon: true
109+
SpaceInEmptyParentheses: false
110+
SpacesBeforeTrailingComments: 1
111+
SpacesInAngles: false
112+
SpacesInContainerLiterals: true
113+
SpacesInCStyleCastParentheses: false
114+
SpacesInParentheses: false
115+
SpacesInSquareBrackets: false
116+
Standard: Cpp11
117+
StatementMacros:
118+
- Q_UNUSED
119+
- QT_REQUIRE_VERSION
120+
TabWidth: 4
121+
UseTab: Never
122+
---
123+

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ builtins
1111
/.vscode
1212
.vscode
1313
*.json
14-
*.clang-format
1514
compiler_commands.json
1615
*.sublime-project
1716
*.sublime-workspace
1817
/.editor_settings
19-
build_config.json
18+
build_config.json
19+
.clang-format

0 commit comments

Comments
 (0)