[PATCH] D64146: [Clang Interpreter] Initial patch for the constexpr interpreter
Nandor Licker via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 9 14:48:16 PDT 2019
nand added a comment.
I am providing definitions in the C++ file - the problem is that they are not available in the header before the extern declaration. The methods are available at the site of the extern definition.
gcc and clang accept this, so does Visual Studio 2019. This feels like an incorrect implementation of extern templates in Visual Studio?
I see two ways to proceed: move everything into a header (would like to avoid this) or silence the warning on VC++ (not great either).
Is there a better way? Which option is less bad from these two?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64146/new/
https://reviews.llvm.org/D64146
More information about the cfe-commits
mailing list