[all-commits] [llvm/llvm-project] e4f1ef: [clang][Interp] Reject bitcasts to atomic types

Timm Baeder via All-commits all-commits at lists.llvm.org
Mon Feb 5 06:45:45 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e4f1ef85fd60c08c9ece4982fccf76e8101011b8
      https://github.com/llvm/llvm-project/commit/e4f1ef85fd60c08c9ece4982fccf76e8101011b8
  Author: Timm Bäder <tbaeder at redhat.com>
  Date:   2024-02-05 (Mon, 05 Feb 2024)

  Changed paths:
    M clang/lib/AST/Interp/ByteCodeExprGen.cpp
    M clang/lib/AST/Interp/Interp.h
    M clang/lib/AST/Interp/PrimType.h
    A clang/test/AST/Interp/atomic.c
    M clang/test/Sema/atomic-expr.c

  Log Message:
  -----------
  [clang][Interp] Reject bitcasts to atomic types

The current interpreter does this, so follow suit to match its
diagnostics.




More information about the All-commits mailing list