You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Clang][AST] Fix printing for atomic_test_and_set and atomic_clear
#121943 rewrote
`__atomic_test_and_set` and `__atomic_clear` to be lowered through AtomicExpr
StmtPrinter::VisitAtomicExpr still treated them like other atomic builtins
with a Val1 operand. This led to incorrect pretty-printing when dumping
the AST.
Skip Val1 for these two builtins like atomic loads.
0 commit comments