Skip to content

Commit abdf028

Browse files
committed
revert .clang-format changes
1 parent f2f5a0b commit abdf028

File tree

1 file changed

+4
-49
lines changed

1 file changed

+4
-49
lines changed

.clang-format

Lines changed: 4 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,5 @@
1-
# Use the Google style in this project.
1+
# Complete list of style options can be found at:
2+
# http://clang.llvm.org/docs/ClangFormatStyleOptions.html
3+
---
24
BasedOnStyle: Google
3-
4-
# Some folks prefer to write "int& foo" while others prefer "int &foo". The
5-
# Google Style Guide only asks for consistency within a project, we chose
6-
# "int& foo" for this project:
7-
DerivePointerAlignment: false
8-
PointerAlignment: Left
9-
10-
# The Google Style Guide only asks for consistency w.r.t. "east const" vs.
11-
# "const west" alignment of cv-qualifiers. In this project we use "east const".
12-
QualifierAlignment: Right
13-
14-
IncludeBlocks: Merge
15-
IncludeCategories:
16-
# Matches common headers first, but sorts them after project includes
17-
- Regex: '^\"google/cloud/internal/disable_deprecation_warnings.inc\"$'
18-
Priority: -1
19-
- Regex: '^\"google/cloud/(internal/|grpc_utils/|testing_util/|[^/]+\.h)'
20-
Priority: 1000
21-
- Regex: '^\"google/cloud/' # project includes should sort first
22-
Priority: 500
23-
- Regex: '^\"generator/' # project includes should sort first
24-
Priority: 500
25-
- Regex: '^\"generator/internal/' # project internals second
26-
Priority: 1000
27-
- Regex: '^\"generator/testing/' # testing helpers third
28-
Priority: 1100
29-
- Regex: '^\"' # And then includes from other projects or the system
30-
Priority: 1500
31-
- Regex: '^<grpc/'
32-
Priority: 2000
33-
- Regex: '^<google/*'
34-
Priority: 3000
35-
- Regex: '^<.*/.*'
36-
Priority: 4000
37-
- Regex: '^<.*.hpp>'
38-
Priority: 4000
39-
- Regex: '^<[^/]*>'
40-
Priority: 5000
41-
42-
# Format raw string literals with a `pb` or `proto` tag as proto.
43-
RawStringFormats:
44-
- Language: TextProto
45-
Delimiters:
46-
- 'pb'
47-
- 'proto'
48-
BasedOnStyle: Google
49-
50-
CommentPragmas: '(@copydoc|@copybrief|@see|@overload|@snippet)'
5+
...

0 commit comments

Comments
 (0)