================
@@ -17893,4 +17996,441 @@ std::optional<bool> 
EvaluateBuiltinIsWithinLifetime(IntExprEvaluator &IEE,
   IsWithinLifetimeHandler handler{Info};
   return findSubobject(Info, E, CO, Val.getLValueDesignator(), handler);
 }
+
 } // namespace
+
+static bool EvaluateAtomicOrder(const AtomicExpr *E, EvalInfo &Info) {
+  // we ignore results, but we need to evaluate them
+  [[maybe_unused]] APSInt OrderIgnoredResult;
----------------
tbaederr wrote:

All the `[[maybe_unused]]` seem unnecessary.

https://github.com/llvm/llvm-project/pull/98756
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to