[all-commits] [llvm/llvm-project] 419857: [clang] - Add missing builtin name to AtomicExpr J...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Sun Aug 27 21:35:17 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4198576157bfd0d08c08b784220d6132b709ae2c
      https://github.com/llvm/llvm-project/commit/4198576157bfd0d08c08b784220d6132b709ae2c
  Author: serge-sans-paille <sguelton at mozilla.com>
  Date:   2023-08-28 (Mon, 28 Aug 2023)

  Changed paths:
    M clang/include/clang/AST/Expr.h
    M clang/include/clang/AST/JSONNodeDumper.h
    M clang/lib/AST/JSONNodeDumper.cpp
    A clang/test/AST/ast-dump-atomic-json.c

  Log Message:
  -----------
  [clang] - Add missing builtin name to AtomicExpr JSON dump

As a side effect, introduce AtomicExpr::getOpAsString() to dump the
AtomicOp string representation.

This is a recommit with the ranges unchecked to cope with
platform-specific values.

Differential Revision: https://reviews.llvm.org/D158558




More information about the All-commits mailing list