Clang format
GitOrigin-RevId: 90772439cd008f07b4ead07f68dacf9594eb9d0e
This commit is contained in:
parent
bd293bb3dd
commit
cce3f39184
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
BasedOnStyle: Google
|
||||||
|
AccessModifierOffset: -4
|
||||||
|
AllowShortFunctionsOnASingleLine: Inline
|
||||||
|
AllowShortIfStatementsOnASingleLine: false
|
||||||
|
AllowShortLoopsOnASingleLine: false
|
||||||
|
DerivePointerAlignment: false
|
||||||
|
IncludeBlocks: Preserve
|
||||||
|
IncludeCategories:
|
||||||
|
- Regex: '^".*'
|
||||||
|
Priority: 1
|
||||||
|
- Regex: '^<.*\.h>'
|
||||||
|
Priority: 3
|
||||||
|
- Regex: '^<.*'
|
||||||
|
Priority: 2
|
||||||
|
IndentCaseLabels: false
|
||||||
|
IndentWidth: 4
|
||||||
|
PointerAlignment: Right
|
||||||
|
SpacesBeforeTrailingComments: 1
|
||||||
|
Standard: Cpp11
|
||||||
|
TabWidth: 4
|
||||||
|
UseTab: AlignWithSpaces
|
4
sync.c
4
sync.c
|
@ -53,7 +53,9 @@ static int list_dir(const char *dirpath) {
|
||||||
if (err == fnfErr) {
|
if (err == fnfErr) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
fprintf(stderr, "## Error: could not list directory '%s' (err = %d)\n", dirpath, err);
|
fprintf(stderr,
|
||||||
|
"## Error: could not list directory '%s' (err = %d)\n",
|
||||||
|
dirpath, err);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
ppath[ppath[0] + 1] = '\0';
|
ppath[ppath[0] + 1] = '\0';
|
||||||
|
|
Loading…
Reference in New Issue