================
@@ -4043,6 +4043,53 @@ template <typename AttrT> static bool 
hasImplicitAttr(const ValueDecl *D) {
   return D->isImplicit();
 }
 
+static bool shouldSkipAliasEmission(const CodeGenModule &CGM,
+                                    const ValueDecl *Global) {
+  const LangOptions &LangOpts = CGM.getLangOpts();
+  if (!(LangOpts.OpenMPIsTargetDevice || LangOpts.CUDA))
+    return false;
----------------
Jason-VanBeusekom wrote:

Done in 
[2949485](https://github.com/llvm/llvm-project/pull/164326/commits/29494853fb9153825072beba9664b5050f329890)

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

Reply via email to