================
@@ -6158,6 +6085,9 @@ void CodeGenModule::EmitGlobalVarDefinition(const VarDecl
*D,
if (getLangOpts().OpenCL && ASTTy->isSamplerT())
return;
+ if (getLangOpts().Reflection && ASTTy->isMetaInfoType())
----------------
efriedma-quic wrote:
I think we might still want to express this as a `clang::Linkage` or
`clang::GVALinkage`. We express various linkage-related constraints there that
aren't formal language linkage, but are closely related in terms of how the
compiler reasons about them. This lets all parts of the compiler that reason
about how variables are defined or accessed produce the same conclusions.
https://github.com/llvm/llvm-project/pull/190356
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits