Commit ae8b3c9
committed
[HLSL][NFC] Move IsIntangibleType from SemaHLSL to Type to make it accessible outside of Sema
Moves `IsIntangibleType` from SemaHLSL to Type class and renames it to `isHLSLIntangibleType`.
The existing `isHLSLIntangibleType` is renamed to `isHLSLBuiltinIntangibleType` to reflect that
it returns true only for the builtin `__hlsl_resource_t` type.
This change makes isHLSLIntangibleType accesible outside of Sema, for example from CodeGen,
which will be needed in the future.1 parent 1ae2446 commit ae8b3c9
File tree
6 files changed
+34
-35
lines changed- clang
- include/clang
- AST
- Sema
- lib
- AST
- Sema
6 files changed
+34
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2661 | 2661 | | |
2662 | 2662 | | |
2663 | 2663 | | |
2664 | | - | |
| 2664 | + | |
2665 | 2665 | | |
| 2666 | + | |
| 2667 | + | |
2666 | 2668 | | |
2667 | 2669 | | |
2668 | 2670 | | |
| |||
8450 | 8452 | | |
8451 | 8453 | | |
8452 | 8454 | | |
8453 | | - | |
| 8455 | + | |
8454 | 8456 | | |
8455 | 8457 | | |
8456 | 8458 | | |
8457 | | - | |
| 8459 | + | |
8458 | 8460 | | |
8459 | 8461 | | |
8460 | 8462 | | |
8461 | | - | |
| 8463 | + | |
8462 | 8464 | | |
8463 | 8465 | | |
8464 | 8466 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
136 | 135 | | |
137 | 136 | | |
138 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1414 | 1414 | | |
1415 | 1415 | | |
1416 | 1416 | | |
1417 | | - | |
| 1417 | + | |
| 1418 | + | |
1418 | 1419 | | |
1419 | 1420 | | |
1420 | 1421 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5030 | 5030 | | |
5031 | 5031 | | |
5032 | 5032 | | |
| 5033 | + | |
| 5034 | + | |
| 5035 | + | |
| 5036 | + | |
| 5037 | + | |
| 5038 | + | |
| 5039 | + | |
| 5040 | + | |
| 5041 | + | |
| 5042 | + | |
| 5043 | + | |
| 5044 | + | |
| 5045 | + | |
| 5046 | + | |
| 5047 | + | |
| 5048 | + | |
| 5049 | + | |
| 5050 | + | |
| 5051 | + | |
| 5052 | + | |
| 5053 | + | |
| 5054 | + | |
| 5055 | + | |
5033 | 5056 | | |
5034 | 5057 | | |
5035 | 5058 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5713 | 5713 | | |
5714 | 5714 | | |
5715 | 5715 | | |
5716 | | - | |
| 5716 | + | |
5717 | 5717 | | |
5718 | 5718 | | |
5719 | 5719 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2104 | 2104 | | |
2105 | 2105 | | |
2106 | 2106 | | |
2107 | | - | |
2108 | | - | |
2109 | | - | |
2110 | | - | |
2111 | | - | |
2112 | | - | |
2113 | | - | |
2114 | | - | |
2115 | | - | |
2116 | | - | |
2117 | | - | |
2118 | | - | |
2119 | | - | |
2120 | | - | |
2121 | | - | |
2122 | | - | |
2123 | | - | |
2124 | | - | |
2125 | | - | |
2126 | | - | |
2127 | | - | |
2128 | | - | |
2129 | | - | |
2130 | | - | |
2131 | | - | |
2132 | | - | |
2133 | 2107 | | |
2134 | 2108 | | |
2135 | 2109 | | |
| |||
2325 | 2299 | | |
2326 | 2300 | | |
2327 | 2301 | | |
2328 | | - | |
| 2302 | + | |
2329 | 2303 | | |
2330 | 2304 | | |
2331 | 2305 | | |
| |||
2336 | 2310 | | |
2337 | 2311 | | |
2338 | 2312 | | |
2339 | | - | |
| 2313 | + | |
2340 | 2314 | | |
2341 | 2315 | | |
2342 | 2316 | | |
| |||
0 commit comments