Commit 34a4c58
authored
[clang] Rework
This is a follow-up of 13aac46.
This commit adjusts the implementation of `hasBooleanRepresentation` to
be somewhat aligned to `hasIntegerRepresentation`.
In particular vector of booleans should be handled in
`hasBooleanRepresentation`, while `_Atomic(bool)` should not.hasBooleanRepresentation. (#136038)1 parent 68d89e9 commit 34a4c58
File tree
3 files changed
+25
-19
lines changed- clang
- include/clang/AST
- lib
- AST
- CodeGen
3 files changed
+25
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2793 | 2793 | | |
2794 | 2794 | | |
2795 | 2795 | | |
2796 | | - | |
2797 | | - | |
| 2796 | + | |
| 2797 | + | |
| 2798 | + | |
2798 | 2799 | | |
2799 | 2800 | | |
2800 | 2801 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2346 | 2346 | | |
2347 | 2347 | | |
2348 | 2348 | | |
2349 | | - | |
2350 | | - | |
2351 | | - | |
2352 | | - | |
2353 | | - | |
2354 | | - | |
2355 | | - | |
2356 | | - | |
2357 | | - | |
2358 | | - | |
| 2349 | + | |
| 2350 | + | |
| 2351 | + | |
| 2352 | + | |
| 2353 | + | |
| 2354 | + | |
| 2355 | + | |
| 2356 | + | |
| 2357 | + | |
2359 | 2358 | | |
2360 | 2359 | | |
2361 | 2360 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1920 | 1920 | | |
1921 | 1921 | | |
1922 | 1922 | | |
1923 | | - | |
| 1923 | + | |
1924 | 1924 | | |
1925 | 1925 | | |
1926 | 1926 | | |
| |||
1948 | 1948 | | |
1949 | 1949 | | |
1950 | 1950 | | |
1951 | | - | |
| 1951 | + | |
1952 | 1952 | | |
1953 | 1953 | | |
1954 | 1954 | | |
| |||
2068 | 2068 | | |
2069 | 2069 | | |
2070 | 2070 | | |
2071 | | - | |
2072 | | - | |
2073 | | - | |
2074 | | - | |
2075 | | - | |
| 2071 | + | |
| 2072 | + | |
2076 | 2073 | | |
2077 | 2074 | | |
2078 | 2075 | | |
| |||
2088 | 2085 | | |
2089 | 2086 | | |
2090 | 2087 | | |
| 2088 | + | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
2091 | 2094 | | |
2092 | 2095 | | |
2093 | 2096 | | |
2094 | 2097 | | |
2095 | 2098 | | |
2096 | 2099 | | |
2097 | 2100 | | |
| 2101 | + | |
| 2102 | + | |
| 2103 | + | |
2098 | 2104 | | |
2099 | 2105 | | |
2100 | 2106 | | |
| |||
0 commit comments