[clang] [ItaniumMangle] Make sure class types are added to the dictionary of substitution candidates when compiling for older ABIs (PR #138947)
Matheus Izvekov via cfe-commits
cfe-commits at lists.llvm.org
Wed May 7 13:51:37 PDT 2025
================
@@ -1,4 +1,5 @@
-// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 -fblocks -std=c++11 | FileCheck %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 -fblocks -std=c++11 | FileCheck --check-prefixes=CHECK,CHECK-ABI-LATEST %s
+// RUN: %clang_cc1 -emit-llvm %s -o - -triple=x86_64-apple-darwin9 -fblocks -std=c++11 -fclang-abi-compat=4 | FileCheck %s
----------------
mizvekov wrote:
I believe 'clang/test/CodeGenCXX/clang-abi-compat.cpp' is the right place for adding this test.
https://github.com/llvm/llvm-project/pull/138947
More information about the cfe-commits
mailing list