From 9b2733de8e3a8df7f4796eb00964ca5b65f691bf Mon Sep 17 00:00:00 2001 From: Edward Chen <18449977+edgchen1@users.noreply.github.com> Date: Wed, 28 Jun 2023 16:58:23 -0700 Subject: [PATCH] [docs] Specify Objective-C max line length. (#16503) Update coding standards doc to specify Objective-C max line length of 120 to be consistent with C++. --- docs/Coding_Conventions_and_Standards.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/Coding_Conventions_and_Standards.md b/docs/Coding_Conventions_and_Standards.md index 0d6299a21c..e8e1e7dc9c 100644 --- a/docs/Coding_Conventions_and_Standards.md +++ b/docs/Coding_Conventions_and_Standards.md @@ -236,6 +236,7 @@ e.g. `test_method_x_raises_error_when_dims_is_not_a_sequence` ## Objective-C/C++ Code Style -Please follow the [Google Objective-C/C++ Style Guide](https://google.github.io/styleguide/objcguide.html). +Please follow the [Google Objective-C/C++ Style Guide](https://google.github.io/styleguide/objcguide.html) with the following alteration(s): +- The maximum line length is 120 for consistency with the C++ code. Clang-format can be used to format Objective-C/C++ code. The `.clang-format` file is in the repository root directory.