summaryrefslogtreecommitdiffstats
path: root/Tests/iOSNavApp
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2016-05-16 14:34:04 (GMT)
committerBrad King <brad.king@kitware.com>2016-05-16 20:05:19 (GMT)
commitd9fd2f5402eeaa345691313658e02b51038f570b (patch)
treedca71b9a7e267f4c6300da3eb770415381726785 /Tests/iOSNavApp
parent82df6deaafb36cbbfd450202bb20b320f637751a (diff)
downloadCMake-d9fd2f5402eeaa345691313658e02b51038f570b.zip
CMake-d9fd2f5402eeaa345691313658e02b51038f570b.tar.gz
CMake-d9fd2f5402eeaa345691313658e02b51038f570b.tar.bz2
Revise C++ coding style using clang-format
Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit.
Diffstat (limited to 'Tests/iOSNavApp')
-rw-r--r--Tests/iOSNavApp/Classes/NavApp3AppDelegate.h11
-rw-r--r--Tests/iOSNavApp/TotalFunction.c2
-rw-r--r--Tests/iOSNavApp/TotalFunction.h2
3 files changed, 8 insertions, 7 deletions
diff --git a/Tests/iOSNavApp/Classes/NavApp3AppDelegate.h b/Tests/iOSNavApp/Classes/NavApp3AppDelegate.h
index f1234fe..882003e 100644
--- a/Tests/iOSNavApp/Classes/NavApp3AppDelegate.h
+++ b/Tests/iOSNavApp/Classes/NavApp3AppDelegate.h
@@ -8,13 +8,14 @@
#import <UIKit/UIKit.h>
-@interface NavApp3AppDelegate : NSObject <UIApplicationDelegate> {
+@interface NavApp3AppDelegate : NSObject<UIApplicationDelegate> {
- UIWindow *window;
- UINavigationController *navigationController;
+ UIWindow* window;
+ UINavigationController* navigationController;
}
-@property (nonatomic, retain) IBOutlet UIWindow *window;
-@property (nonatomic, retain) IBOutlet UINavigationController *navigationController;
+@property (nonatomic, retain) IBOutlet UIWindow* window;
+@property (nonatomic, retain)
+ IBOutlet UINavigationController* navigationController;
@end
diff --git a/Tests/iOSNavApp/TotalFunction.c b/Tests/iOSNavApp/TotalFunction.c
index 0965a88..b228a78 100644
--- a/Tests/iOSNavApp/TotalFunction.c
+++ b/Tests/iOSNavApp/TotalFunction.c
@@ -8,7 +8,7 @@
#include "TotalFunction.h"
-int Total(const char *context)
+int Total(const char* context)
{
return 22;
}
diff --git a/Tests/iOSNavApp/TotalFunction.h b/Tests/iOSNavApp/TotalFunction.h
index 1301c3d..26ff306 100644
--- a/Tests/iOSNavApp/TotalFunction.h
+++ b/Tests/iOSNavApp/TotalFunction.h
@@ -9,6 +9,6 @@
#ifndef NavApp3_TotalFunction_h
#define NavApp3_TotalFunction_h
-int Total(const char *context);
+int Total(const char* context);
#endif