Commit 701d804
authored
[clang][Modules]
The `Module` parameter to `checkModuleIsAvailable` is currently passed
by pointer to non-const. However, it requires only const access and it
cannot be null. Change this to be a reference to const instead.
This then makes it obvious that it is an input-only parameter, so move
it to be before the in-out parameter for diagnostics.checkModuleIsAvailable should use a const & parameter instead of pointer (#67902)1 parent dae91f5 commit 701d804
File tree
5 files changed
+15
-13
lines changed- clang
- include/clang/Lex
- lib
- Frontend
- Lex
5 files changed
+15
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2700 | 2700 | | |
2701 | 2701 | | |
2702 | 2702 | | |
2703 | | - | |
| 2703 | + | |
2704 | 2704 | | |
2705 | 2705 | | |
2706 | 2706 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2116 | 2116 | | |
2117 | 2117 | | |
2118 | 2118 | | |
2119 | | - | |
| 2119 | + | |
2120 | 2120 | | |
2121 | 2121 | | |
2122 | 2122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
510 | 510 | | |
511 | 511 | | |
512 | 512 | | |
513 | | - | |
514 | | - | |
| 513 | + | |
| 514 | + | |
515 | 515 | | |
516 | 516 | | |
517 | 517 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1896 | 1896 | | |
1897 | 1897 | | |
1898 | 1898 | | |
1899 | | - | |
| 1899 | + | |
| 1900 | + | |
1900 | 1901 | | |
1901 | 1902 | | |
1902 | 1903 | | |
1903 | | - | |
1904 | | - | |
| 1904 | + | |
| 1905 | + | |
1905 | 1906 | | |
1906 | 1907 | | |
1907 | 1908 | | |
1908 | 1909 | | |
1909 | 1910 | | |
1910 | 1911 | | |
1911 | | - | |
| 1912 | + | |
1912 | 1913 | | |
1913 | 1914 | | |
1914 | 1915 | | |
1915 | 1916 | | |
1916 | 1917 | | |
1917 | | - | |
1918 | | - | |
| 1918 | + | |
| 1919 | + | |
1919 | 1920 | | |
1920 | 1921 | | |
1921 | 1922 | | |
| |||
2260 | 2261 | | |
2261 | 2262 | | |
2262 | 2263 | | |
2263 | | - | |
2264 | | - | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
2265 | 2267 | | |
2266 | 2268 | | |
2267 | 2269 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1769 | 1769 | | |
1770 | 1770 | | |
1771 | 1771 | | |
1772 | | - | |
| 1772 | + | |
1773 | 1773 | | |
1774 | 1774 | | |
1775 | 1775 | | |
| |||
0 commit comments