Compare commits
3 Commits
0296e6ee1d
...
c6bed88d37
| Author | SHA1 | Date | |
|---|---|---|---|
| c6bed88d37 | |||
| 3640da1cf2 | |||
| 3148127319 |
@ -1,5 +1,5 @@
|
|||||||
Language: Cpp
|
Language: Cpp
|
||||||
AccessModifierOffset: -4
|
AccessModifierOffset: -8
|
||||||
AlignAfterOpenBracket: Align
|
AlignAfterOpenBracket: Align
|
||||||
AlignArrayOfStructures: Left
|
AlignArrayOfStructures: Left
|
||||||
AlignConsecutiveMacros: None
|
AlignConsecutiveMacros: None
|
||||||
@ -56,8 +56,8 @@ BreakStringLiterals: true
|
|||||||
ColumnLimit: 99
|
ColumnLimit: 99
|
||||||
QualifierAlignment: Left
|
QualifierAlignment: Left
|
||||||
CompactNamespaces: false
|
CompactNamespaces: false
|
||||||
ConstructorInitializerIndentWidth: 4
|
ConstructorInitializerIndentWidth: 8
|
||||||
ContinuationIndentWidth: 4
|
ContinuationIndentWidth: 8
|
||||||
Cpp11BracedListStyle: true
|
Cpp11BracedListStyle: true
|
||||||
DeriveLineEnding: true
|
DeriveLineEnding: true
|
||||||
DerivePointerAlignment: false
|
DerivePointerAlignment: false
|
||||||
@ -79,7 +79,7 @@ IndentGotoLabels: false
|
|||||||
IndentPPDirectives: None
|
IndentPPDirectives: None
|
||||||
IndentExternBlock: AfterExternBlock
|
IndentExternBlock: AfterExternBlock
|
||||||
IndentRequires: false
|
IndentRequires: false
|
||||||
IndentWidth: 4
|
IndentWidth: 8
|
||||||
IndentWrappedFunctionNames: false
|
IndentWrappedFunctionNames: false
|
||||||
InsertTrailingCommas: Wrapped
|
InsertTrailingCommas: Wrapped
|
||||||
InsertBraces: true
|
InsertBraces: true
|
||||||
@ -141,7 +141,7 @@ SpacesInSquareBrackets: false
|
|||||||
SpaceBeforeSquareBrackets: false
|
SpaceBeforeSquareBrackets: false
|
||||||
BitFieldColonSpacing: Both
|
BitFieldColonSpacing: Both
|
||||||
Standard: Cpp11
|
Standard: Cpp11
|
||||||
TabWidth: 4
|
TabWidth: 8
|
||||||
UseCRLF: false
|
UseCRLF: false
|
||||||
UseTab: Always
|
UseTab: Always
|
||||||
|
|
||||||
|
|||||||
1690
src/main.cpp
1690
src/main.cpp
File diff suppressed because it is too large
Load Diff
16
tests/ok/custom-struct.ac
Normal file
16
tests/ok/custom-struct.ac
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
struct {
|
||||||
|
|
||||||
|
struct And<P, Q>(p: P, q: Q) {
|
||||||
|
left = Fn<>() -> P {
|
||||||
|
return p;
|
||||||
|
};
|
||||||
|
right = Fn<>() -> Q {
|
||||||
|
return q;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
AndLeft = Fn<P, Q>(h: And<P, Q>) -> P {
|
||||||
|
return h.p;
|
||||||
|
};
|
||||||
|
|
||||||
|
} main;
|
||||||
Loading…
x
Reference in New Issue
Block a user