Skip to content

Commit aa9150d

Browse files
IgorKorkinigor korkin
andauthored
Add .clang-format file; fix ldt test for x64; remove an unused local variable (#292)
Co-authored-by: igor korkin <ikorkin@ptsecurity.com>
1 parent 494f421 commit aa9150d

File tree

4 files changed

+914
-909
lines changed

4 files changed

+914
-909
lines changed

.clang-format

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
BasedOnStyle: LLVM
2+
IndentWidth: 4
3+
TabWidth: 4
4+
UseTab: Always
5+
ColumnLimit: 80
6+
7+
BreakBeforeBraces: Custom
8+
BraceWrapping:
9+
AfterNamespace: true
10+
AfterFunction: true
11+
AfterClass: false
12+
AfterControlStatement: false
13+
AfterEnum: false
14+
AfterStruct: false
15+
AfterUnion: false
16+
AfterExternBlock: false
17+
BeforeCatch: false
18+
BeforeElse: false
19+
IndentBraces: false
20+
SplitEmptyFunction: true
21+
SplitEmptyRecord: true
22+
SplitEmptyNamespace: true
23+
24+
PointerAlignment: Right
25+
SpaceBeforeAssignmentOperators: true
26+
NamespaceIndentation: All
27+
IndentAccessModifiers: false
28+
AccessModifierOffset: -4
29+
30+
Cpp11BracedListStyle: false
31+
32+
# Split constructor initializers to one per line, and put the brace on its own line
33+
BreakConstructorInitializers: BeforeComma
34+
ConstructorInitializerAllOnOneLineOrOnePerLine: false
35+
ConstructorInitializerIndentWidth: 4
36+
AllowShortFunctionsOnASingleLine: None

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ ipch/
4747
*.cachefile
4848

4949
# Build results
50+
.vs/
5051
[Dd]ebug/
5152
[Dd]ebugPublic/
5253
[Rr]elease/

0 commit comments

Comments
 (0)