diff options
author | Gennadiy Civil <gennadiycivil@users.noreply.github.com> | 2018-09-23 12:10:40 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-23 12:10:40 -0700 |
commit | fd17c91bad1435d12ee74ab2adec07208a6830cc (patch) | |
tree | e93ba2ec667cac95505d5a3833d2a409684873fb | |
parent | 81c0b876b4fc919eb0056ec1465d88971101d8ea (diff) | |
parent | c7a429a6677c975879ce04385fd58b4ac694004f (diff) | |
download | googletest-fd17c91bad1435d12ee74ab2adec07208a6830cc.tar.gz googletest-fd17c91bad1435d12ee74ab2adec07208a6830cc.tar.bz2 googletest-fd17c91bad1435d12ee74ab2adec07208a6830cc.zip |
Merge branch 'master' into master
-rw-r--r-- | .clang-format | 4 | ||||
-rw-r--r-- | CONTRIBUTING.md | 3 | ||||
-rw-r--r-- | README.md | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/.clang-format b/.clang-format new file mode 100644 index 00000000..5b9bfe6d --- /dev/null +++ b/.clang-format @@ -0,0 +1,4 @@ +# Run manually to reformat a file: +# clang-format -i --style=file <file> +Language: Cpp +BasedOnStyle: Google diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 846dd8ab..b52f8ee5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -78,7 +78,8 @@ itself is a valuable contribution. To keep the source consistent, readable, diffable and easy to merge, we use a fairly rigid coding style, as defined by the [google-styleguide](https://github.com/google/styleguide) project. All patches will be expected -to conform to the style outlined [here](https://google.github.io/styleguide/cppguide.html). +to conform to the style outlined [here](https://google.github.io/styleguide/cppguide.html). +Use [.clang-format](https://github.com/google/googletest/blob/master/.clang-format) to check your formatting ## Requirements for Contributors ### @@ -107,7 +107,7 @@ package (as described below): * GNU-compatible Make or gmake * POSIX-standard shell * POSIX(-2) Regular Expressions (regex.h) - * A C++98-standard-compliant compiler + * A C++11-standard-compliant compiler ### Windows Requirements ### |