-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
283 additions
and
251 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Use the Google style in this project. | ||
BasedOnStyle: Google | ||
|
||
# Some folks prefer to write "int& foo" while others prefer "int &foo". The | ||
# Google Style Guide only asks for consistency within a project, we chose | ||
# "int& foo" for this project: | ||
DerivePointerAlignment: false | ||
PointerAlignment: Left | ||
|
||
IncludeBlocks: Merge | ||
IncludeCategories: | ||
# Matches common headers first, but sorts them after project includes | ||
- Regex: '^\"google/cloud/(internal/|grpc_utils/|testing_util/|[^/]+\.h)' | ||
Priority: 1000 | ||
- Regex: '^\"google/cloud/' # project includes should sort first | ||
Priority: 500 | ||
- Regex: '^\"' | ||
Priority: 1500 | ||
- Regex: '^<grpc/' | ||
Priority: 2000 | ||
- Regex: '^<google/*' | ||
Priority: 3000 | ||
- Regex: '^<.*/.*' | ||
Priority: 4000 | ||
- Regex: '^<[^/]*>' | ||
Priority: 5000 | ||
|
||
# Format raw string literals with a `pb` or `proto` tag as proto. | ||
RawStringFormats: | ||
- Language: TextProto | ||
Delimiters: | ||
- 'pb' | ||
- 'proto' | ||
BasedOnStyle: Google | ||
|
||
CommentPragmas: '(@copydoc)' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.