https://bugs.llvm.org/show_bug.cgi?id=39863

            Bug ID: 39863
           Summary: Use of `-fmodules-local-submodule-visibility` causes
                    undefined inline template function error
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Modules
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

Using `-fmodules-local-submodule-visibility` without an explicit `export`
causes undefined inline function errors for template functions marked as
`inline` (e.g. https://reviews.llvm.org/P8122). Using `export *` of not using
`-fmodules-local-submodule-visibility` for these modules fixes it.

Simplified repro in: https://reviews.llvm.org/differential/diff/176315/.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to