diff options
author | A. Cody Schuffelen <schuffelen@google.com> | 2020-12-15 16:11:01 -0800 |
---|---|---|
committer | Cody Schuffelen <schuffelen@google.com> | 2021-01-19 21:16:08 +0000 |
commit | ce9f385761fcd799fd5258502867f853d5001888 (patch) | |
tree | 3489df7078bb514671057b6e242dc007a4e4f65a /.clang-format | |
parent | 00e0217f0b761544d102b283990a95a9d05fbebb (diff) | |
download | cuttlefish-ce9f385761fcd799fd5258502867f853d5001888.tar.gz |
Add google c++ standard formatting.
Test: repo upload
Change-Id: Ib57e08f0a6d2db0d238b55e964c2dd4b92f10de4
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 000000000..9f9ffe36d --- /dev/null +++ b/.clang-format @@ -0,0 +1,21 @@ +# +# Copyright (C) 2020 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +# See https://clang.llvm.org/docs/ClangFormatStyleOptions.html for the +# various options that can be configured and for the definitions of each +# of the below options. + +BasedOnStyle: Google |