[PATCH] D69779: -fmodules-codegen should not emit extern templates

Luboš Luňák via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 7 11:21:37 PST 2020


llunak added a comment.

In D69779#1801771 <https://reviews.llvm.org/D69779#1801771>, @dblaikie wrote:

> Ah, if I mark the standalone function template 'inline' (the implicit linkage of member functions) then I get the same failure for both. Haven't tested whether the fix is the same fix for both yet.


With my patch there are no errors with your testcase, even with the 'inline' added.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69779/new/

https://reviews.llvm.org/D69779





More information about the cfe-commits mailing list