================
@@ -947,10 +963,6 @@ void CIRGenModule::emitGlobalVarDefinition(const 
clang::VarDecl *vd,
     errorNYI(vd->getSourceRange(), "annotate global variable");
   }
 
-  if (langOpts.CUDA) {
----------------
andykaylor wrote:

There are things that need to happen here. You can't just remove the diagnostic.

https://github.com/llvm/llvm-project/pull/184248
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to