aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorDevajith <devajith.valaparambil.sreeramaswamy@cern.ch>2025-09-19 15:17:45 +0200
committerGitHub <noreply@github.com>2025-09-19 15:17:45 +0200
commitba49062914f01f68cf3c4e067139a24b29a0e45b (patch)
tree2071fe4d0d49d7dafcb574a1c019adc8fb137966 /llvm/lib/CodeGen/CodeGen.cpp
parent188c7ed171705b7f50cd18f81de4eec4e316384a (diff)
downloadllvm-ba49062914f01f68cf3c4e067139a24b29a0e45b.zip
llvm-ba49062914f01f68cf3c4e067139a24b29a0e45b.tar.gz
llvm-ba49062914f01f68cf3c4e067139a24b29a0e45b.tar.bz2
[Clang][AST] Fix printing for `atomic_test_and_set` and `atomic_clear` (#159712)
https://github.com/llvm/llvm-project/pull/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.
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions