[clang] [llvm] [Clang][C++23] Core language changes from P1467R9 extended floating-point types and standard names. (PR #78503)

2025-01-03 Thread M. Zeeshan Siddiqui via cfe-commits
codemzs wrote: Hi @shafik , it looks like you’re the designated reviewer for C++ standards. Would you mind taking a look at this PR? It has already been through several iterations with @tahonermann, and we’d really appreciate your feedback. Thanks! https://github.com/llvm/llvm-project/pull/785

[clang] [llvm] [Clang][C++23] Core language changes from P1467R9 extended floating-point types and standard names. (PR #78503)

2025-01-03 Thread M. Zeeshan Siddiqui via cfe-commits
@@ -5565,6 +5565,15 @@ float APFloat::convertToFloat() const { return Temp.getIEEE().convertToFloat(); } +/// Returns true if the semantics can represent all of the values that the other +/// semantics can represent. +/// +/// \param Sem - type float semantics -

[clang] [Clang][C++23] Core language changes from P1467R9 extended floating-point types and standard names. (PR #78503)

2024-12-31 Thread M. Zeeshan Siddiqui via cfe-commits
@@ -2289,6 +2289,33 @@ bool Type::isFloatingType() const { return false; } +bool Type::isCXX23StandardFloatingPointType(const ASTContext &Ctx) const { + if (!Ctx.getLangOpts().CPlusPlus23) +return false; + if (const auto *BT = dyn_cast(CanonicalType)) +return BT->g

[clang] [Clang][C++23] Core language changes from P1467R9 extended floating-point types and standard names. (PR #78503)

2024-12-30 Thread M. Zeeshan Siddiqui via cfe-commits
https://github.com/codemzs updated https://github.com/llvm/llvm-project/pull/78503 >From c6b9ceaff9551e931ee3284d9e855d8df07a41bb Mon Sep 17 00:00:00 2001 From: "M. Zeeshan Siddiqui" Date: Mon, 13 Nov 2023 17:37:36 + Subject: [PATCH] [Clang][C++23] Implement core language changes from P1467

[clang] [Clang][C++23] Core language changes from P1467R9 extended floating-point types and standard names. (PR #78503)

2024-12-30 Thread M. Zeeshan Siddiqui via cfe-commits
https://github.com/codemzs updated https://github.com/llvm/llvm-project/pull/78503 >From 6ba3b01a87fad05ce11a47579e12fe0a293212c4 Mon Sep 17 00:00:00 2001 From: "M. Zeeshan Siddiqui" Date: Mon, 13 Nov 2023 17:37:36 + Subject: [PATCH] [Clang][C++23] Implement core language changes from P1467

[clang] [Clang][C++23] Core language changes from P1467R9 extended floating-point types and standard names. (PR #78503)

2024-12-30 Thread M. Zeeshan Siddiqui via cfe-commits
https://github.com/codemzs updated https://github.com/llvm/llvm-project/pull/78503 >From 7a7fd7acd584faadbadd8a2a41ca5265a5353c3e Mon Sep 17 00:00:00 2001 From: "M. Zeeshan Siddiqui" Date: Mon, 13 Nov 2023 17:37:36 + Subject: [PATCH] [Clang][C++23] Implement core language changes from P1467

[clang] [Clang][C++23] Core language changes from P1467R9 extended floating-point types and standard names. (PR #78503)

2024-10-17 Thread M. Zeeshan Siddiqui via cfe-commits
codemzs wrote: I am sorry for the delay. I plan to finish this PR before end of this year but can expedite it if someone needs the change sooner. https://github.com/llvm/llvm-project/pull/78503 ___ cfe-commits mailing list cfe-commits@lists.llvm.org h

[clang] [Clang][C++23] Core language changes from P1467R9 extended floating-point types and standard names. (PR #78503)

2024-04-25 Thread M. Zeeshan Siddiqui via cfe-commits
codemzs wrote: > @codemzs Any news? Thanks a lot for your work! @cor3ntin Sorry for the delay, I plan to get back to this PR in the next few weeks. Do you need this change for something? https://github.com/llvm/llvm-project/pull/78503 ___ cfe-commits

[clang] [Clang][C++23] Core language changes from P1467R9 extended floating-point types and standard names. (PR #78503)

2024-02-28 Thread M. Zeeshan Siddiqui via cfe-commits
codemzs wrote: > What's the status of this PR? Seems like it would be helpful for some of the > C23 additions (`_Float128` being of most interest to me) Thank you for checking in on this PR! It has gone through several iterations based on valuable feedback from the community (carried over fro

[clang] [Clang][C++23] Core language changes from P1467R9 extended floating-point types and standard names. (PR #78503)

2024-01-17 Thread M. Zeeshan Siddiqui via cfe-commits
codemzs wrote: @tahonermann @zahiraam I have migrated the review from https://reviews.llvm.org/D149573 here and have addressed your most recent comment. I'm not sure how to add you as reviewers as I don't see that option on my end. https://github.com/llvm/llvm-project/pull/78503

[clang] [Clang][C++23] Core language changes from P1467R9 extended floating-point types and standard names. (PR #78503)

2024-01-17 Thread M. Zeeshan Siddiqui via cfe-commits
https://github.com/codemzs updated https://github.com/llvm/llvm-project/pull/78503 >From c9a95ed6db27861de2e7363eff17839b3bcb32d1 Mon Sep 17 00:00:00 2001 From: "M. Zeeshan Siddiqui" Date: Mon, 13 Nov 2023 17:37:36 + Subject: [PATCH] [Clang][C++23] Implement core language changes from P1467

[clang] [Clang][C++23] Core language changes from P1467R9 extended floating-point types and standard names. (PR #78503)

2024-01-17 Thread M. Zeeshan Siddiqui via cfe-commits
https://github.com/codemzs edited https://github.com/llvm/llvm-project/pull/78503 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [Clang][C++23] Implement core language changes from P1467R9 extended floating-point types and standard names. (PR #78503)

2024-01-17 Thread M. Zeeshan Siddiqui via cfe-commits
https://github.com/codemzs created https://github.com/llvm/llvm-project/pull/78503 Implements Core language changes based on [P1467R9](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2022/p1467r9.html) Extended floating-point types and standard names. As per the proposal's definition the