Commit 76b4cab
src: bring permissions macros in line with general C/C++ standards
Specifically, avoid the hazard of unintentionally evaluating
an argument multiple times during macro expansion, and do not
assume the available of particular namespaces in the current scope.
PR-URL: #60053
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>1 parent 2197097 commit 76b4cabCopy full SHA for 76b4cab
File tree
Expand file treeCollapse file tree
2 files changed
+45
-7
lines changedOpen diff view settings
Filter options
- src
- permission
Expand file treeCollapse file tree
2 files changed
+45
-7
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
854 | 854 | |
855 | 855 | |
856 | 856 | |
857 | | - |
| 857 | + |
858 | 858 | |
859 | 859 | |
860 | 860 | |
|
Collapse file
src/permission/permission.h
Copy file name to clipboardExpand all lines: src/permission/permission.h+44-6Lines changed: 44 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | | - |
| 30 | + |
31 | 31 | |
32 | | - |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
33 | 37 | |
34 | | - |
| 38 | + |
35 | 39 | |
36 | 40 | |
37 | 41 | |
38 | 42 | |
39 | 43 | |
40 | | - |
| 44 | + |
41 | 45 | |
42 | | - |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
43 | 51 | |
44 | | - |
| 52 | + |
45 | 53 | |
46 | 54 | |
47 | 55 | |
48 | 56 | |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
| 64 | + |
| 65 | + |
| 66 | + |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
49 | 87 | |
50 | 88 | |
51 | 89 | |
|
0 commit comments