aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Bryan Klimt <klimt@google.com>2018-03-27 16:50:32 -0700
committerGravatar Bryan Klimt <klimt@google.com>2018-03-27 16:50:32 -0700
commite78f9d41d3f3c100c4e9d7744346161d64ab9126 (patch)
tree01c2d9ac6d04cbf349c533e06b7c1b7ebf4adeb2
parent0e86c06f60262c013c0b653470ac59a3c4d12b46 (diff)
Fix some formatting issues.
-rw-r--r--Firestore/Source/Model/FSTDocumentKey.mm1
-rw-r--r--Functions/.clang-format7
-rw-r--r--Functions/Example/FirebaseFunctions/FIRAppDelegate.h2
-rw-r--r--Functions/FirebaseFunctions/Public/FIRHTTPSCallable.h3
4 files changed, 3 insertions, 10 deletions
diff --git a/Firestore/Source/Model/FSTDocumentKey.mm b/Firestore/Source/Model/FSTDocumentKey.mm
index 7425812..cbe9c89 100644
--- a/Firestore/Source/Model/FSTDocumentKey.mm
+++ b/Firestore/Source/Model/FSTDocumentKey.mm
@@ -116,7 +116,6 @@ const NSComparator FSTDocumentKeyComparator =
} else {
return NSOrderedSame;
}
-
};
NSString *const kDocumentKeyPath = @"__name__";
diff --git a/Functions/.clang-format b/Functions/.clang-format
deleted file mode 100644
index fb06210..0000000
--- a/Functions/.clang-format
+++ /dev/null
@@ -1,7 +0,0 @@
-BasedOnStyle: Google
-ColumnLimit: 100
-BinPackParameters: false
-AllowAllParametersOfDeclarationOnNextLine: true
-ObjCSpaceBeforeProtocolList: false
-SpacesInContainerLiterals: true
-PointerAlignment: Right
diff --git a/Functions/Example/FirebaseFunctions/FIRAppDelegate.h b/Functions/Example/FirebaseFunctions/FIRAppDelegate.h
index 1d6d40b..8349c18 100644
--- a/Functions/Example/FirebaseFunctions/FIRAppDelegate.h
+++ b/Functions/Example/FirebaseFunctions/FIRAppDelegate.h
@@ -14,7 +14,7 @@
@import UIKit;
-@interface FIRAppDelegate : UIResponder<UIApplicationDelegate>
+@interface FIRAppDelegate : UIResponder <UIApplicationDelegate>
@property(strong, nonatomic) UIWindow *window;
diff --git a/Functions/FirebaseFunctions/Public/FIRHTTPSCallable.h b/Functions/FirebaseFunctions/Public/FIRHTTPSCallable.h
index 9298dda..473a944 100644
--- a/Functions/FirebaseFunctions/Public/FIRHTTPSCallable.h
+++ b/Functions/FirebaseFunctions/Public/FIRHTTPSCallable.h
@@ -84,7 +84,8 @@ NS_SWIFT_NAME(HTTPSCallable)
// clang-format off
// because it incorrectly breaks this NS_SWIFT_NAME.
- (void)callWithObject:(nullable id)data
- completion:(void (^)(FIRHTTPSCallableResult *_Nullable result, NSError *_Nullable error))completion
+ completion:(void (^)(FIRHTTPSCallableResult *_Nullable result,
+ NSError *_Nullable error))completion
NS_SWIFT_NAME(call(_:completion:));
// clang-format on