[clang] [clang][AST] Don't give `ObjCProtocolLoc` pointer identity in `DynTypedNode` (PR #237451)

Eric Li via cfe-commits cfe-commits at lists.llvm.org
Sun Nov 1 22:26:48 PST 2026


================
@@ -244,6 +245,44 @@ TEST(DynTypedNode, QualType) {
   EXPECT_FALSE(Node < Node);
 }
 
+TEST(DynTypedNode, ObjCProtocolLoc) {
+  std::string code = R"cc(
----------------
tJener wrote:

Done.

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


More information about the cfe-commits mailing list