================
@@ -4894,10 +4894,14 @@ ExprResult Sema::BuildAtomicExpr(SourceRange CallRange, 
SourceRange ExprRange,
                             diag::err_incomplete_type)) {
       return ExprError();
     }
-  } else if (IsN && !ValType->isIntegerType() && !ValType->isPointerType()) {
+  } else if (IsN && !ValType->isIntegerType() && !ValType->isPointerType() &&
+             !(ValType->isFloatingType() &&
----------------
erichkeane wrote:

Can you dig through git a bit?  Maybe the answer is there? My suspicion is it 
was just a 'we forgot' and someone was doing 1 but not the other, but I don't 
have a good idea.

https://github.com/llvm/llvm-project/pull/183843
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to