yaxunl marked 2 inline comments as done. yaxunl added inline comments.
================ Comment at: clang/test/SemaCUDA/constexpr-variables.cu:30-31 + static constexpr int c = sizeof(a); + a[0] = &b; + a[1] = &c; + foo(a); ---------------- tra wrote: > Can we verify the diags for bad cases, too? By bad cases you mean the constexpr var is not compile time constant? CHANGES SINCE LAST ACTION https://reviews.llvm.org/D79237/new/ https://reviews.llvm.org/D79237 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits