================
@@ -5572,6 +5581,11 @@ ExprResult Sema::BuildAtomicExpr(SourceRange CallRange, 
SourceRange ExprRange,
   // pointer to a const 'A'.
   ValType.removeLocalVolatile();
   ValType.removeLocalConst();
+  if (ValType.getPointerAuth()) {
+    Qualifiers Quals = ValType.getQualifiers();
+    Quals.removePointerAuth();
+    ValType = Context.getQualifiedType(ValType.getUnqualifiedType(), Quals);
+  }
----------------
jfbastien wrote:

Now none :)

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

Reply via email to