[clang] [OpenCL] Emit opencl.cxx.version metadata for C++ (PR #92140)

2024-07-02 Thread Haonan Yang via cfe-commits
haonanya wrote: Hi, @AnastasiaStulova, can you please take a look? Related to https://github.com/llvm/llvm-project/issues/91912. Thanks very much. https://github.com/llvm/llvm-project/pull/92140 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[clang] [compiler-rt] Fix "[clang][UBSan] Add implicit conversion check for bitfields" (PR #87761)

2024-04-08 Thread Haonan Yang via cfe-commits
https://github.com/haonanya edited https://github.com/llvm/llvm-project/pull/87761 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [compiler-rt] Fix "[clang][UBSan] Add implicit conversion check for bitfields" (PR #87761)

2024-04-08 Thread Haonan Yang via cfe-commits
https://github.com/haonanya edited https://github.com/llvm/llvm-project/pull/87761 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [compiler-rt] Fix "[clang][UBSan] Add implicit conversion check for bitfields" (PR #87761)

2024-04-08 Thread Haonan Yang via cfe-commits
@@ -0,0 +1,94 @@ +// RUN: %clang -x c++ -fsanitize=implicit-bitfield-conversion -target x86_64-linux -S -emit-llvm -o - %s | FileCheck %s --check-prefixes=CHECK,CHECK-BITFIELD-CONVERSION +// RUN: %clang -x c++ -fsanitize=implicit-integer-conversion -target x86_64-linux -S -emit