Commit d2bd3e0
authored
Refactor compilerPath logic to reflect settings validation changes (#12556)
* Remove unnesseacary null check and set compilerPathIsExplicit when defaultCompilerPath is null
* Remove unneccessary else statement.
* Refactor changes
* Propogate null usage to reflect null typing for compilerPath.
* Remove normalization of null to undefined.
* Fix linting
* Add null to resolvedCompilerPath
* Update cpp_properties schema1 parent d4c46c7 commit d2bd3e0
File tree
5 files changed
+18
-15
lines changed- Extension
- src
- LanguageServer
5 files changed
+18
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3052 | 3052 | | |
3053 | 3053 | | |
3054 | 3054 | | |
3055 | | - | |
| 3055 | + | |
3056 | 3056 | | |
3057 | 3057 | | |
3058 | 3058 | | |
| |||
3156 | 3156 | | |
3157 | 3157 | | |
3158 | 3158 | | |
3159 | | - | |
| 3159 | + | |
3160 | 3160 | | |
3161 | 3161 | | |
3162 | 3162 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
988 | 988 | | |
989 | 989 | | |
990 | 990 | | |
991 | | - | |
| 991 | + | |
992 | 992 | | |
993 | 993 | | |
994 | | - | |
995 | 994 | | |
996 | 995 | | |
997 | 996 | | |
| |||
1516 | 1515 | | |
1517 | 1516 | | |
1518 | 1517 | | |
1519 | | - | |
| 1518 | + | |
1520 | 1519 | | |
1521 | 1520 | | |
1522 | 1521 | | |
| |||
1567 | 1566 | | |
1568 | 1567 | | |
1569 | 1568 | | |
1570 | | - | |
| 1569 | + | |
1571 | 1570 | | |
1572 | 1571 | | |
1573 | | - | |
| 1572 | + | |
1574 | 1573 | | |
1575 | 1574 | | |
1576 | 1575 | | |
| |||
1590 | 1589 | | |
1591 | 1590 | | |
1592 | 1591 | | |
| 1592 | + | |
1593 | 1593 | | |
1594 | 1594 | | |
1595 | 1595 | | |
| |||
1598 | 1598 | | |
1599 | 1599 | | |
1600 | 1600 | | |
1601 | | - | |
| 1601 | + | |
1602 | 1602 | | |
1603 | 1603 | | |
1604 | 1604 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1095 | 1095 | | |
1096 | 1096 | | |
1097 | 1097 | | |
1098 | | - | |
| 1098 | + | |
1099 | 1099 | | |
1100 | 1100 | | |
1101 | 1101 | | |
1102 | 1102 | | |
1103 | 1103 | | |
1104 | 1104 | | |
1105 | | - | |
1106 | | - | |
| 1105 | + | |
| 1106 | + | |
1107 | 1107 | | |
1108 | 1108 | | |
1109 | 1109 | | |
| |||
0 commit comments