[llvm-branch-commits] [clang] clang: Use a switch over APFloat semantics instead of if chain (PR #207213)

Erich Keane via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jul 6 08:06:04 PDT 2026


================
@@ -301,21 +301,24 @@ void CodeGenTypes::RefreshTypeCacheForClass(const CXXRecordDecl *RD) {
 
 static llvm::Type *getTypeForFormat(llvm::LLVMContext &VMContext,
                                     const llvm::fltSemantics &format) {
----------------
erichkeane wrote:

huh, cool!  

https://github.com/llvm/llvm-project/pull/207213


More information about the llvm-branch-commits mailing list