Commit 86d9e1c
authored
[clang] Delete duplicate code in sourcemanager (#166236)
Now that the `SourceManager::getExpansionLoc` and
`SourceManager::getSpellingLoc` functions are efficient, delete
unnecessary code duplicate in `SourceManager::getDecomposedExpansionLoc`
and `SourceManager::getDecomposedSpellingLoc` methods.1 parent 28e024f commit 86d9e1c
File tree
2 files changed
+2
-58
lines changed- clang
- include/clang/Basic
- lib/Basic
2 files changed
+2
-58
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1286 | 1286 | | |
1287 | 1287 | | |
1288 | 1288 | | |
1289 | | - | |
1290 | | - | |
1291 | | - | |
1292 | | - | |
1293 | | - | |
1294 | | - | |
1295 | | - | |
1296 | | - | |
1297 | | - | |
1298 | | - | |
| 1289 | + | |
1299 | 1290 | | |
1300 | 1291 | | |
1301 | 1292 | | |
1302 | 1293 | | |
1303 | 1294 | | |
1304 | 1295 | | |
1305 | 1296 | | |
1306 | | - | |
1307 | | - | |
1308 | | - | |
1309 | | - | |
1310 | | - | |
1311 | | - | |
1312 | | - | |
1313 | | - | |
1314 | | - | |
| 1297 | + | |
1315 | 1298 | | |
1316 | 1299 | | |
1317 | 1300 | | |
| |||
1979 | 1962 | | |
1980 | 1963 | | |
1981 | 1964 | | |
1982 | | - | |
1983 | | - | |
1984 | | - | |
1985 | | - | |
1986 | 1965 | | |
1987 | 1966 | | |
1988 | 1967 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
928 | 928 | | |
929 | 929 | | |
930 | 930 | | |
931 | | - | |
932 | | - | |
933 | | - | |
934 | | - | |
935 | | - | |
936 | | - | |
937 | | - | |
938 | | - | |
939 | | - | |
940 | | - | |
941 | | - | |
942 | | - | |
943 | | - | |
944 | | - | |
945 | | - | |
946 | | - | |
947 | | - | |
948 | | - | |
949 | | - | |
950 | | - | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | | - | |
957 | | - | |
958 | | - | |
959 | | - | |
960 | | - | |
961 | | - | |
962 | | - | |
963 | | - | |
964 | | - | |
965 | | - | |
966 | 931 | | |
967 | 932 | | |
968 | 933 | | |
| |||
0 commit comments