Commit 1a16bc1
authored
[OpenACC][NFCI] Split up the init and decl from OpenACC recipes (#156938)
Expressions/references with 'bounds' are going to need to do
initialization significantly differently, so we need to have the
initializer and the declaration 'separate' in the future. This patch
splits the AST node into two, and normalizes them a bit.
Additionally, since this required significant work on the recipe
generation, this patch also does a bit of a refactor to improve
readability and future expansion, now that we have a good understanding
of how these are going to look.1 parent 9337344 commit 1a16bc1
File tree
11 files changed
+338
-287
lines changed- clang
- include/clang
- AST
- Sema
- lib
- AST
- CIR/CodeGen
- Sema
- Serialization
- tools/libclang
11 files changed
+338
-287
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
838 | 856 | | |
839 | 857 | | |
840 | | - | |
| 858 | + | |
| 859 | + | |
841 | 860 | | |
842 | 861 | | |
843 | 862 | | |
844 | 863 | | |
845 | | - | |
| 864 | + | |
| 865 | + | |
846 | 866 | | |
847 | 867 | | |
848 | 868 | | |
849 | 869 | | |
850 | | - | |
| 870 | + | |
| 871 | + | |
851 | 872 | | |
852 | 873 | | |
853 | 874 | | |
| |||
856 | 877 | | |
857 | 878 | | |
858 | 879 | | |
859 | | - | |
860 | | - | |
861 | | - | |
| 880 | + | |
| 881 | + | |
| 882 | + | |
862 | 883 | | |
863 | 884 | | |
864 | | - | |
865 | | - | |
866 | | - | |
| 885 | + | |
| 886 | + | |
| 887 | + | |
867 | 888 | | |
868 | 889 | | |
869 | 890 | | |
870 | 891 | | |
871 | | - | |
| 892 | + | |
872 | 893 | | |
873 | 894 | | |
874 | 895 | | |
| |||
879 | 900 | | |
880 | 901 | | |
881 | 902 | | |
882 | | - | |
883 | | - | |
884 | | - | |
885 | | - | |
886 | | - | |
| 903 | + | |
| 904 | + | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
887 | 917 | | |
888 | 918 | | |
889 | 919 | | |
| |||
1253 | 1283 | | |
1254 | 1284 | | |
1255 | 1285 | | |
1256 | | - | |
| 1286 | + | |
| 1287 | + | |
1257 | 1288 | | |
| 1289 | + | |
| 1290 | + | |
| 1291 | + | |
| 1292 | + | |
| 1293 | + | |
| 1294 | + | |
| 1295 | + | |
| 1296 | + | |
| 1297 | + | |
1258 | 1298 | | |
1259 | 1299 | | |
1260 | 1300 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
237 | 238 | | |
238 | 239 | | |
239 | 240 | | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
255 | 246 | | |
256 | 247 | | |
257 | 248 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | | - | |
| 320 | + | |
321 | 321 | | |
322 | 322 | | |
323 | | - | |
324 | | - | |
| 323 | + | |
| 324 | + | |
325 | 325 | | |
326 | 326 | | |
327 | 327 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2636 | 2636 | | |
2637 | 2637 | | |
2638 | 2638 | | |
2639 | | - | |
2640 | | - | |
| 2639 | + | |
| 2640 | + | |
| 2641 | + | |
| 2642 | + | |
| 2643 | + | |
2641 | 2644 | | |
2642 | 2645 | | |
2643 | 2646 | | |
2644 | 2647 | | |
2645 | 2648 | | |
2646 | 2649 | | |
2647 | 2650 | | |
2648 | | - | |
| 2651 | + | |
| 2652 | + | |
| 2653 | + | |
2649 | 2654 | | |
2650 | 2655 | | |
2651 | 2656 | | |
| |||
2750 | 2755 | | |
2751 | 2756 | | |
2752 | 2757 | | |
2753 | | - | |
| 2758 | + | |
| 2759 | + | |
| 2760 | + | |
2754 | 2761 | | |
2755 | 2762 | | |
2756 | 2763 | | |
2757 | | - | |
| 2764 | + | |
2758 | 2765 | | |
2759 | 2766 | | |
2760 | 2767 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1280 | 1280 | | |
1281 | 1281 | | |
1282 | 1282 | | |
| 1283 | + | |
| 1284 | + | |
| 1285 | + | |
| 1286 | + | |
| 1287 | + | |
| 1288 | + | |
| 1289 | + | |
1283 | 1290 | | |
1284 | | - | |
| 1291 | + | |
1285 | 1292 | | |
1286 | | - | |
1287 | 1293 | | |
1288 | 1294 | | |
1289 | 1295 | | |
| |||
1316 | 1322 | | |
1317 | 1323 | | |
1318 | 1324 | | |
| 1325 | + | |
| 1326 | + | |
| 1327 | + | |
| 1328 | + | |
| 1329 | + | |
| 1330 | + | |
| 1331 | + | |
1319 | 1332 | | |
1320 | | - | |
| 1333 | + | |
1321 | 1334 | | |
1322 | 1335 | | |
1323 | 1336 | | |
| |||
1353 | 1366 | | |
1354 | 1367 | | |
1355 | 1368 | | |
| 1369 | + | |
| 1370 | + | |
| 1371 | + | |
| 1372 | + | |
| 1373 | + | |
| 1374 | + | |
1356 | 1375 | | |
1357 | 1376 | | |
1358 | | - | |
| 1377 | + | |
1359 | 1378 | | |
1360 | 1379 | | |
1361 | 1380 | | |
| |||
0 commit comments