Skip to content

Commit

Permalink
Override clang-format indent
Browse files Browse the repository at this point in the history
  • Loading branch information
Muxi Yan committed Oct 25, 2016
1 parent bd19fc7 commit 7f77310
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/objective-c/GRPCClient/private/GRPCConnectivityMonitor.m
Original file line number Diff line number Diff line change
Expand Up @@ -77,20 +77,20 @@ - (BOOL)isHostReachable {
- (NSString *)description {
NSMutableArray *activeOptions = [NSMutableArray arrayWithCapacity:9];

/*
* For each flag, add its name to the array if it's ON. Example:
/*
* For each flag, add its name to the array if it's ON. Example:
if (self.isCell) {
[activeOptions addObject:@"isCell"];
}
if (self.isCell) {
[activeOptions addObject:@"isCell"];
}
*/
#define GRPC_XMACRO_ITEM(methodName, FlagName) \
if (self.methodName) { \
[activeOptions addObject:@ #methodName]; \
}
#include "GRPCReachabilityFlagNames.xmacro.h"
#undef GRPC_XMACRO_ITEM
*/
#define GRPC_XMACRO_ITEM(methodName, FlagName) \
if (self.methodName) { \
[activeOptions addObject:@ #methodName]; \
}
#include "GRPCReachabilityFlagNames.xmacro.h"
#undef GRPC_XMACRO_ITEM

return activeOptions.count == 0
? @"(none)"
Expand Down

0 comments on commit 7f77310

Please sign in to comment.