tra added inline comments.

================
Comment at: clang/lib/Headers/cuda_wrappers/complex:79
+#if _GLIBCXX_RELEASE == 11
+#define __failed_assertion __cuda_failed_assertion
+#endif
----------------
yaxunl wrote:
> May I ask where is __cuda_failed_assertion defined? Thanks.
The function is not defined anywhere. 

From https://bugs.llvm.org/show_bug.cgi?id=50383#c14
> Its sole purpose is to be a non-constexpr function that can be called during 
> constant 
> evaluation to cause a compilation error. It can't be called at runtime, 
> because 
> compilation will fail if control flow ever results in calling it. So no 
> definition is needed.



Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102936/new/

https://reviews.llvm.org/D102936

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to