[flang] [llvm] [libcxx] [openmp] [mlir] [clang] [libc++] Fixed uniform_real_distribution.h where it was allowing initialization with non floating point types (PR #70485)

2023-10-31 Thread Pranav Tatavarthy via cfe-commits
https://github.com/Pranav10903 closed https://github.com/llvm/llvm-project/pull/70485 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [libc++] Fixed uniform_real_distribution.h where it was allowing initialization with non floating point types (PR #70485)

2023-10-27 Thread Pranav Tatavarthy via cfe-commits
https://github.com/Pranav10903 updated https://github.com/llvm/llvm-project/pull/70485 >From 52cb5d88e3a4bd347f6993405b18480acc0835f1 Mon Sep 17 00:00:00 2001 From: Pranav Tatavarthy <97344709+pranav10...@users.noreply.github.com> Date: Fri, 27 Oct 2023 21:41:41 +0530 Subject: [PATCH 1/3] Update

[clang] [libc++] Fixed uniform_real_distribution.h where it was allowing initialization with non floating point types (PR #70485)

2023-10-27 Thread Pranav Tatavarthy via cfe-commits
Pranav10903 wrote: Thank you for your guidance, I will do the required changes. Thank you. https://github.com/llvm/llvm-project/pull/70485 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commi

[clang] [libc++] Fixed uniform_real_distribution.h where it was allowing initialization with non floating point types (PR #70485)

2023-10-27 Thread Pranav Tatavarthy via cfe-commits
https://github.com/Pranav10903 created https://github.com/llvm/llvm-project/pull/70485 Included a static_assert to deal with cases where result_types are initialized with non floating point type values which can cause undefined behaviour as mentioned [here](https://en.cppreference.com/w/cpp/n

[clang] [libcxx] Fixed uniform_real_distribution.h allowing initializing with non floating point types (PR #70468)

2023-10-27 Thread Pranav Tatavarthy via cfe-commits
https://github.com/Pranav10903 closed https://github.com/llvm/llvm-project/pull/70468 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [libcxx] Fixed uniform_real_distribution.h allowing initializing with non floating point types (PR #70468)

2023-10-27 Thread Pranav Tatavarthy via cfe-commits
https://github.com/Pranav10903 closed https://github.com/llvm/llvm-project/pull/70468 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang-tools-extra] [libcxx] Fixed uniform_real_distribution.h allowing initializing with non floating point types (PR #70468)

2023-10-27 Thread Pranav Tatavarthy via cfe-commits
https://github.com/Pranav10903 created https://github.com/llvm/llvm-project/pull/70468 None >From 57c8eadd6ef3d40f14cefa7b88d70c43aac5757e Mon Sep 17 00:00:00 2001 From: Pranav Tatavarthy <97344709+pranav10...@users.noreply.github.com> Date: Fri, 27 Oct 2023 21:13:45 +0530 Subject: [PATCH 1/3]