Home
last modified time | relevance | path

Searched refs:Cls2 (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/clang/test/SemaCXX/
H A Dundefined-internal.cpp314 struct Cls2 { struct
315 …Cls2(T7); // expected-warning {{function 'test12::(anonymous namespace)::Cls2::Cls2' has internal…
329 Cls2 obj1((T7())); // expected-note {{used here}} in test()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExprCXX.cpp6977 QualType Cls2(MemPtr2->getClass(), 0); in FindCompositePointerType() local
6978 if (Context.hasSameType(Cls1, Cls2)) in FindCompositePointerType()
6981 Class = IsDerivedFrom(Loc, Cls1, Cls2) ? MemPtr1->getClass() : in FindCompositePointerType()
6982 IsDerivedFrom(Loc, Cls2, Cls1) ? MemPtr2->getClass() : nullptr; in FindCompositePointerType()