alpha
Login
or
Join now
shuuji3.xyz
/
yasashii-cpp
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/shuuji3/yasashii-cpp. Codes for "やさしいC++ 5th edition"
books.google.co.jp/books?id=JHe2tAEACAAJ
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
Add settings
author
TAKAHASHI Shuuji
date
7 years ago
(Aug 26, 2019, 3:33 AM +0900)
commit
6cc72291
6cc72291b39159178fd63008a58def42fe413a1d
+157
2 changed files
Expand all
Collapse all
Unified
Split
.clang-format
CMakeLists.txt
+151
.clang-format
View file
Reviewed
···
1
1
+
---
2
2
+
Language: Cpp
3
3
+
# BasedOnStyle: Google
4
4
+
AccessModifierOffset: -1
5
5
+
AlignAfterOpenBracket: Align
6
6
+
AlignConsecutiveAssignments: false
7
7
+
AlignConsecutiveDeclarations: false
8
8
+
AlignEscapedNewlines: Left
9
9
+
AlignOperands: true
10
10
+
AlignTrailingComments: true
11
11
+
AllowAllParametersOfDeclarationOnNextLine: true
12
12
+
AllowShortBlocksOnASingleLine: false
13
13
+
AllowShortCaseLabelsOnASingleLine: false
14
14
+
AllowShortFunctionsOnASingleLine: All
15
15
+
AllowShortIfStatementsOnASingleLine: true
16
16
+
AllowShortLoopsOnASingleLine: true
17
17
+
AlwaysBreakAfterDefinitionReturnType: None
18
18
+
AlwaysBreakAfterReturnType: None
19
19
+
AlwaysBreakBeforeMultilineStrings: true
20
20
+
AlwaysBreakTemplateDeclarations: Yes
21
21
+
BinPackArguments: true
22
22
+
BinPackParameters: true
23
23
+
BraceWrapping:
24
24
+
AfterClass: false
25
25
+
AfterControlStatement: false
26
26
+
AfterEnum: false
27
27
+
AfterFunction: false
28
28
+
AfterNamespace: false
29
29
+
AfterObjCDeclaration: false
30
30
+
AfterStruct: false
31
31
+
AfterUnion: false
32
32
+
AfterExternBlock: false
33
33
+
BeforeCatch: false
34
34
+
BeforeElse: false
35
35
+
IndentBraces: false
36
36
+
SplitEmptyFunction: true
37
37
+
SplitEmptyRecord: true
38
38
+
SplitEmptyNamespace: true
39
39
+
BreakBeforeBinaryOperators: None
40
40
+
BreakBeforeBraces: Attach
41
41
+
BreakBeforeInheritanceComma: false
42
42
+
BreakInheritanceList: BeforeColon
43
43
+
BreakBeforeTernaryOperators: true
44
44
+
BreakConstructorInitializersBeforeComma: false
45
45
+
BreakConstructorInitializers: BeforeColon
46
46
+
BreakAfterJavaFieldAnnotations: false
47
47
+
BreakStringLiterals: true
48
48
+
ColumnLimit: 80
49
49
+
CommentPragmas: '^ IWYU pragma:'
50
50
+
CompactNamespaces: false
51
51
+
ConstructorInitializerAllOnOneLineOrOnePerLine: true
52
52
+
ConstructorInitializerIndentWidth: 4
53
53
+
ContinuationIndentWidth: 4
54
54
+
Cpp11BracedListStyle: true
55
55
+
DerivePointerAlignment: true
56
56
+
DisableFormat: false
57
57
+
ExperimentalAutoDetectBinPacking: false
58
58
+
FixNamespaceComments: true
59
59
+
ForEachMacros:
60
60
+
- foreach
61
61
+
- Q_FOREACH
62
62
+
- BOOST_FOREACH
63
63
+
IncludeBlocks: Preserve
64
64
+
IncludeCategories:
65
65
+
- Regex: '^<ext/.*\.h>'
66
66
+
Priority: 2
67
67
+
- Regex: '^<.*\.h>'
68
68
+
Priority: 1
69
69
+
- Regex: '^<.*'
70
70
+
Priority: 2
71
71
+
- Regex: '.*'
72
72
+
Priority: 3
73
73
+
IncludeIsMainRegex: '([-_](test|unittest))?$'
74
74
+
IndentCaseLabels: true
75
75
+
IndentPPDirectives: None
76
76
+
IndentWidth: 2
77
77
+
IndentWrappedFunctionNames: false
78
78
+
JavaScriptQuotes: Leave
79
79
+
JavaScriptWrapImports: true
80
80
+
KeepEmptyLinesAtTheStartOfBlocks: false
81
81
+
MacroBlockBegin: ''
82
82
+
MacroBlockEnd: ''
83
83
+
MaxEmptyLinesToKeep: 1
84
84
+
NamespaceIndentation: None
85
85
+
ObjCBinPackProtocolList: Never
86
86
+
ObjCBlockIndentWidth: 2
87
87
+
ObjCSpaceAfterProperty: false
88
88
+
ObjCSpaceBeforeProtocolList: true
89
89
+
PenaltyBreakAssignment: 2
90
90
+
PenaltyBreakBeforeFirstCallParameter: 1
91
91
+
PenaltyBreakComment: 300
92
92
+
PenaltyBreakFirstLessLess: 120
93
93
+
PenaltyBreakString: 1000
94
94
+
PenaltyBreakTemplateDeclaration: 10
95
95
+
PenaltyExcessCharacter: 1000000
96
96
+
PenaltyReturnTypeOnItsOwnLine: 200
97
97
+
PointerAlignment: Left
98
98
+
RawStringFormats:
99
99
+
- Language: Cpp
100
100
+
Delimiters:
101
101
+
- cc
102
102
+
- CC
103
103
+
- cpp
104
104
+
- Cpp
105
105
+
- CPP
106
106
+
- 'c++'
107
107
+
- 'C++'
108
108
+
CanonicalDelimiter: ''
109
109
+
BasedOnStyle: google
110
110
+
- Language: TextProto
111
111
+
Delimiters:
112
112
+
- pb
113
113
+
- PB
114
114
+
- proto
115
115
+
- PROTO
116
116
+
EnclosingFunctions:
117
117
+
- EqualsProto
118
118
+
- EquivToProto
119
119
+
- PARSE_PARTIAL_TEXT_PROTO
120
120
+
- PARSE_TEST_PROTO
121
121
+
- PARSE_TEXT_PROTO
122
122
+
- ParseTextOrDie
123
123
+
- ParseTextProtoOrDie
124
124
+
CanonicalDelimiter: ''
125
125
+
BasedOnStyle: google
126
126
+
ReflowComments: true
127
127
+
SortIncludes: true
128
128
+
SortUsingDeclarations: true
129
129
+
SpaceAfterCStyleCast: false
130
130
+
SpaceAfterTemplateKeyword: true
131
131
+
SpaceBeforeAssignmentOperators: true
132
132
+
SpaceBeforeCpp11BracedList: false
133
133
+
SpaceBeforeCtorInitializerColon: true
134
134
+
SpaceBeforeInheritanceColon: true
135
135
+
SpaceBeforeParens: ControlStatements
136
136
+
SpaceBeforeRangeBasedForLoopColon: true
137
137
+
SpaceInEmptyParentheses: false
138
138
+
SpacesBeforeTrailingComments: 2
139
139
+
SpacesInAngles: false
140
140
+
SpacesInContainerLiterals: true
141
141
+
SpacesInCStyleCastParentheses: false
142
142
+
SpacesInParentheses: false
143
143
+
SpacesInSquareBrackets: false
144
144
+
Standard: Auto
145
145
+
StatementMacros:
146
146
+
- Q_UNUSED
147
147
+
- QT_REQUIRE_VERSION
148
148
+
TabWidth: 8
149
149
+
UseTab: Never
150
150
+
...
151
151
+
+6
CMakeLists.txt
View file
Reviewed
···
1
1
+
cmake_minimum_required(VERSION 3.14)
2
2
+
project(yasashii_cpp)
3
3
+
4
4
+
set(CMAKE_CXX_STANDARD 14)
5
5
+
6
6
+
add_executable(lesson7 src/lesson-7/main.cpp)