Commit 9da02e7
authored
Revert "[clang][Modules] Reporting Errors for Duplicating Link Declar… (llvm#157154)
…ations in `modulemap`s (llvm#148959)"
This reverts commit 538e9e8 for two
reasons.
1. Link decls in submodules can make sense even if the submodule is not
explicit. We need to review the error check. This PR reverts the check
so we still allow link decls in submodules.
2. It is not a fatal error to have duplicating link decls. The linker
deduplicates them anyways.
rdar://1594678371 parent cd8c3e5 commit 9da02e7
File tree
3 files changed
+4
-92
lines changed- clang
- include/clang/Basic
- lib/Lex
- test/ClangScanDeps
3 files changed
+4
-92
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
912 | 912 | | |
913 | 913 | | |
914 | 914 | | |
915 | | - | |
916 | | - | |
917 | | - | |
918 | | - | |
919 | | - | |
920 | 915 | | |
921 | 916 | | |
922 | 917 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
| 121 | + | |
123 | 122 | | |
124 | 123 | | |
125 | 124 | | |
| |||
326 | 325 | | |
327 | 326 | | |
328 | 327 | | |
329 | | - | |
330 | 328 | | |
331 | 329 | | |
332 | 330 | | |
| |||
407 | 405 | | |
408 | 406 | | |
409 | 407 | | |
410 | | - | |
411 | | - | |
412 | | - | |
| 408 | + | |
413 | 409 | | |
414 | 410 | | |
415 | 411 | | |
| |||
826 | 822 | | |
827 | 823 | | |
828 | 824 | | |
829 | | - | |
830 | | - | |
| 825 | + | |
831 | 826 | | |
832 | 827 | | |
833 | 828 | | |
| |||
843 | 838 | | |
844 | 839 | | |
845 | 840 | | |
846 | | - | |
847 | 841 | | |
848 | 842 | | |
849 | 843 | | |
850 | 844 | | |
851 | | - | |
852 | | - | |
853 | | - | |
| 845 | + | |
854 | 846 | | |
855 | | - | |
856 | | - | |
857 | | - | |
858 | | - | |
859 | | - | |
860 | | - | |
861 | | - | |
862 | | - | |
863 | | - | |
864 | | - | |
865 | | - | |
866 | | - | |
867 | | - | |
868 | | - | |
869 | | - | |
870 | | - | |
871 | | - | |
872 | | - | |
873 | 847 | | |
874 | 848 | | |
875 | 849 | | |
| |||
This file was deleted.
0 commit comments