forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitef1978d
committed
Update pgindent's typedefs blacklist, and make it easier to adjust.
It seems that all buildfarm members are now using the <stdbool.h> codepath, so that none of them report "bool" as a typedef. We still need itto be treated that way, so adjust pgindent to force that whether or notit's in the given list.Also, the recent introduction of LLVM infrastructure has caused theappearance of some typedef names that we definitely *don't* wanttreated as typedefs, such as "string" and "abs". Extend the existingblacklist to include these. (Additions based on comparing v10'stypedefs list to what the buildfarm is currently emitting.)Rearrange the code so that the lists of whitelisted/blacklistednames are a bit easier to find and modify.Andrew Dunstan and Tom LaneDiscussion:https://postgr.es/m/28690.1521912334@sss.pgh.pa.us1 parent442accc commitef1978d
1 file changed
+18
-3
lines changedLines changed: 18 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
53 | 66 |
| |
54 | 67 |
| |
55 | 68 |
| |
| |||
118 | 131 |
| |
119 | 132 |
| |
120 | 133 |
| |
121 |
| - | |
122 |
| - | |
123 |
| - | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
124 | 139 |
| |
125 | 140 |
| |
126 | 141 |
| |
|
0 commit comments
Comments
(0)