Skip to content

Commit 83f1c06

Browse files
committed
Use clang-formatter to format source code
1 parent 0c51a9b commit 83f1c06

22 files changed

Lines changed: 849 additions & 711 deletions

.clang-format

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
Language: Cpp
3+
BasedOnStyle: Google
4+
Standard: Cpp11
5+
ColumnLimit: 0
6+
AlignTrailingComments: false
7+
NamespaceIndentation: All
8+
DerivePointerAlignment: false
9+
AlwaysBreakBeforeMultilineStrings: false
10+
AccessModifierOffset: -2
11+
ObjCSpaceBeforeProtocolList: true
12+
SortIncludes: false
13+
...

GCDWebDAVServer/GCDWebDAVServer.m

Lines changed: 114 additions & 95 deletions
Large diffs are not rendered by default.

GCDWebServer/Core/GCDWebServer.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -575,22 +575,22 @@ extern NSString* const GCDWebServerAuthenticationMethod_DigestAccess;
575575
/**
576576
* Logs a message to the logging facility at the VERBOSE level.
577577
*/
578-
- (void)logVerbose:(NSString*)format, ... NS_FORMAT_FUNCTION(1,2);
578+
- (void)logVerbose:(NSString*)format, ... NS_FORMAT_FUNCTION(1, 2);
579579

580580
/**
581581
* Logs a message to the logging facility at the INFO level.
582582
*/
583-
- (void)logInfo:(NSString*)format, ... NS_FORMAT_FUNCTION(1,2);
583+
- (void)logInfo:(NSString*)format, ... NS_FORMAT_FUNCTION(1, 2);
584584

585585
/**
586586
* Logs a message to the logging facility at the WARNING level.
587587
*/
588-
- (void)logWarning:(NSString*)format, ... NS_FORMAT_FUNCTION(1,2);
588+
- (void)logWarning:(NSString*)format, ... NS_FORMAT_FUNCTION(1, 2);
589589

590590
/**
591591
* Logs a message to the logging facility at the ERROR level.
592592
*/
593-
- (void)logError:(NSString*)format, ... NS_FORMAT_FUNCTION(1,2);
593+
- (void)logError:(NSString*)format, ... NS_FORMAT_FUNCTION(1, 2);
594594

595595
@end
596596

0 commit comments

Comments
 (0)