Commit 9281797
authored
[clang-format] Google Style: disable DerivePointerAlignment. (#149602)
The [Google C++ Style
Guide](https://google.github.io/styleguide/cppguide.html#Pointer_and_Reference_Expressions)
is being changed to specify that spaces should go after the
asterisk/ampersand, rather than permitting either before or after on a
file-by-file basis.
The new requirement is:
> When referring to a pointer or reference (variable declarations or
> definitions, arguments, return types, template parameters, etc.),
> you must not place a space before the asterisk/ampersand. Use a
> space to separate the type from the declared name (if present).
The [Google ObjC
style](https://google.github.io/styleguide/objcguide.html) is silent on
this matter, but the de-facto style is not being modified at this time.
So, keep DerivePointerAlignment enabled for ObjC language mode.1 parent b8277b4 commit 9281797
2 files changed
+14
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1754 | 1754 | | |
1755 | 1755 | | |
1756 | 1756 | | |
1757 | | - | |
1758 | 1757 | | |
1759 | 1758 | | |
1760 | 1759 | | |
| |||
1863 | 1862 | | |
1864 | 1863 | | |
1865 | 1864 | | |
| 1865 | + | |
1866 | 1866 | | |
1867 | 1867 | | |
1868 | 1868 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8593 | 8593 | | |
8594 | 8594 | | |
8595 | 8595 | | |
8596 | | - | |
| 8596 | + | |
8597 | 8597 | | |
8598 | 8598 | | |
8599 | | - | |
| 8599 | + | |
8600 | 8600 | | |
8601 | 8601 | | |
8602 | 8602 | | |
| |||
8605 | 8605 | | |
8606 | 8606 | | |
8607 | 8607 | | |
8608 | | - | |
| 8608 | + | |
8609 | 8609 | | |
8610 | 8610 | | |
8611 | 8611 | | |
| |||
12915 | 12915 | | |
12916 | 12916 | | |
12917 | 12917 | | |
| 12918 | + | |
| 12919 | + | |
| 12920 | + | |
| 12921 | + | |
12918 | 12922 | | |
12919 | 12923 | | |
12920 | 12924 | | |
12921 | 12925 | | |
12922 | 12926 | | |
12923 | 12927 | | |
12924 | | - | |
| 12928 | + | |
12925 | 12929 | | |
12926 | 12930 | | |
12927 | 12931 | | |
12928 | 12932 | | |
12929 | 12933 | | |
12930 | 12934 | | |
12931 | | - | |
| 12935 | + | |
12932 | 12936 | | |
12933 | 12937 | | |
12934 | 12938 | | |
12935 | 12939 | | |
12936 | 12940 | | |
12937 | 12941 | | |
12938 | | - | |
| 12942 | + | |
12939 | 12943 | | |
12940 | 12944 | | |
12941 | 12945 | | |
| |||
12944 | 12948 | | |
12945 | 12949 | | |
12946 | 12950 | | |
12947 | | - | |
| 12951 | + | |
12948 | 12952 | | |
12949 | 12953 | | |
12950 | 12954 | | |
| |||
13080 | 13084 | | |
13081 | 13085 | | |
13082 | 13086 | | |
13083 | | - | |
| 13087 | + | |
13084 | 13088 | | |
13085 | 13089 | | |
13086 | 13090 | | |
| |||
25449 | 25453 | | |
25450 | 25454 | | |
25451 | 25455 | | |
25452 | | - | |
| 25456 | + | |
25453 | 25457 | | |
25454 | 25458 | | |
25455 | 25459 | | |
| |||
0 commit comments