<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body dir="auto">
It is documented in c++ standard.
<div><br>
<div dir="ltr">Best regards,
<div>Alexey Bataev</div>
</div>
<div dir="ltr"><br>
<blockquote type="cite">1 нояб. 2019 г., в 21:43, Itaru Kitayama <itaru.kitayama@gmail.com> написал(а):<br>
<br>
</blockquote>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">Alexey,
<div><br>
</div>
<div>Is it documented somewhere in the code as to the criteria of the triviality of a mapping?</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Oct 17, 2019 at 5:50 PM Alexey Bataev <<a href="mailto:a.bataev@hotmail.com">a.bataev@hotmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
First time it is printed when the code is compiled for the host, the second time when compjled for the device.<br>
<br>
Best regards,<br>
Alexey Bataev<br>
<br>
> 16 окт. 2019 г., в 22:09, Itaru Kitayama via Openmp-dev <<a href="mailto:openmp-dev@lists.llvm.org" target="_blank">openmp-dev@lists.llvm.org</a>> написал(а):<br>
> <br>
> <br>
> Hi,<br>
> When building a simple program like below with the trunk Clang<br>
> I see a warning "warning: Non-trivial type ..." printed twice. Is this<br>
> intentional?<br>
>  <br>
> #include <iostream><br>
> <br>
> class A {<br>
> public:<br>
>      A() {};<br>
> };<br>
> <br>
> int main()<br>
> {<br>
>  A a[100];<br>
> #pragma omp target teams distribute parallel for map(to: a[0:100])<br>
>     for(int i=0; i<10; i++) {<br>
>     }<br>
> }<br>
> _______________________________________________<br>
> Openmp-dev mailing list<br>
> <a href="mailto:Openmp-dev@lists.llvm.org" target="_blank">Openmp-dev@lists.llvm.org</a><br>
> <a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" rel="noreferrer" target="_blank">
https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a><br>
</blockquote>
</div>
</div>
</blockquote>
</div>
</body>
</html>