Lines Matching full:isa
46 // outs() << isa<MyBaseClass>(B) << "\n"; // Outputs "1".
47 // outs() << isa<MyDerivedClass1>(B) << "\n"; // Outputs "1".
48 // outs() << isa<MyDerivedClass2>(B) << "\n"; // Outputs "0'.
68 /// This class defines virtual methods, dynamicClassID and isA, that enable
81 virtual bool isA(const void *const ClassID) const { in isA() function
86 template <typename QueryT> bool isA() const { return isA(QueryT::classID()); } in isA() function
88 static bool classof(const RTTIRoot *R) { return R->isA<RTTIRoot>(); } in classof()
99 /// ExtensibleRTTI-parent (i.e. a parent for which the isa<> test will work),
117 // Inherit constructors and isA methods from ParentT.
118 using ParentT::isA;
127 bool isA(const void *const ClassID) const override { in isA() function
128 return ClassID == classID() || ParentT::isA(ClassID); in isA()
131 static bool classof(const RTTIRoot *R) { return R->isA<ThisT>(); } in classof()
139 template <typename To, typename From> bool isa(const From &Value) { in isa() function