[clang] [clang][AST] Teach `CXXTypeidExpr::isMostDerived` to use `isEffectivelyFinal` (PR #196544)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon May 11 06:02:42 PDT 2026


================
@@ -0,0 +1,57 @@
+// RUN: %clang_cc1 %s -triple %itanium_abi_triple -Wno-unused-value -emit-llvm -o - -std=c++11 | FileCheck %s
+
+namespace std {
+  class type_info {};
+}
+
+struct Poly {
----------------
erichkeane wrote:

The name here is odd, can you please change the test to use names relevant to the test.

https://github.com/llvm/llvm-project/pull/196544


More information about the cfe-commits mailing list