Lines Matching defs:Instance
5856 ClassTemplateDecl *Instance) {
5860 Instance = Instance->getCanonicalDecl();
5861 if (Pattern == Instance) return true;
5862 Instance = Instance->getInstantiatedFromMemberTemplate();
5863 } while (Instance);
5869 FunctionTemplateDecl *Instance) {
5873 Instance = Instance->getCanonicalDecl();
5874 if (Pattern == Instance) return true;
5875 Instance = Instance->getInstantiatedFromMemberTemplate();
5876 } while (Instance);
5883 ClassTemplatePartialSpecializationDecl *Instance) {
5887 Instance = cast<ClassTemplatePartialSpecializationDecl>(
5888 Instance->getCanonicalDecl());
5889 if (Pattern == Instance)
5891 Instance = Instance->getInstantiatedFromMember();
5892 } while (Instance);
5898 CXXRecordDecl *Instance) {
5902 Instance = Instance->getCanonicalDecl();
5903 if (Pattern == Instance) return true;
5904 Instance = Instance->getInstantiatedFromMemberClass();
5905 } while (Instance);
5911 FunctionDecl *Instance) {
5915 Instance = Instance->getCanonicalDecl();
5916 if (Pattern == Instance) return true;
5917 Instance = Instance->getInstantiatedFromMemberFunction();
5918 } while (Instance);
5924 EnumDecl *Instance) {
5928 Instance = Instance->getCanonicalDecl();
5929 if (Pattern == Instance) return true;
5930 Instance = Instance->getInstantiatedFromMemberEnum();
5931 } while (Instance);
5937 UsingShadowDecl *Instance,
5939 return declaresSameEntity(C.getInstantiatedFromUsingShadowDecl(Instance),
5943 static bool isInstantiationOf(UsingDecl *Pattern, UsingDecl *Instance,
5945 return declaresSameEntity(C.getInstantiatedFromUsingDecl(Instance), Pattern);
5976 VarDecl *Instance) {
5977 assert(Instance->isStaticDataMember());
5982 Instance = Instance->getCanonicalDecl();
5983 if (Pattern == Instance) return true;
5984 Instance = Instance->getInstantiatedFromStaticDataMember();
5985 } while (Instance);