Lines Matching refs:Instance

4384                               ClassTemplateDecl *Instance) {  in isInstantiationOf()  argument
4388 Instance = Instance->getCanonicalDecl(); in isInstantiationOf()
4389 if (Pattern == Instance) return true; in isInstantiationOf()
4390 Instance = Instance->getInstantiatedFromMemberTemplate(); in isInstantiationOf()
4391 } while (Instance); in isInstantiationOf()
4397 FunctionTemplateDecl *Instance) { in isInstantiationOf() argument
4401 Instance = Instance->getCanonicalDecl(); in isInstantiationOf()
4402 if (Pattern == Instance) return true; in isInstantiationOf()
4403 Instance = Instance->getInstantiatedFromMemberTemplate(); in isInstantiationOf()
4404 } while (Instance); in isInstantiationOf()
4411 ClassTemplatePartialSpecializationDecl *Instance) { in isInstantiationOf() argument
4415 Instance = cast<ClassTemplatePartialSpecializationDecl>( in isInstantiationOf()
4416 Instance->getCanonicalDecl()); in isInstantiationOf()
4417 if (Pattern == Instance) in isInstantiationOf()
4419 Instance = Instance->getInstantiatedFromMember(); in isInstantiationOf()
4420 } while (Instance); in isInstantiationOf()
4426 CXXRecordDecl *Instance) { in isInstantiationOf() argument
4430 Instance = Instance->getCanonicalDecl(); in isInstantiationOf()
4431 if (Pattern == Instance) return true; in isInstantiationOf()
4432 Instance = Instance->getInstantiatedFromMemberClass(); in isInstantiationOf()
4433 } while (Instance); in isInstantiationOf()
4439 FunctionDecl *Instance) { in isInstantiationOf() argument
4443 Instance = Instance->getCanonicalDecl(); in isInstantiationOf()
4444 if (Pattern == Instance) return true; in isInstantiationOf()
4445 Instance = Instance->getInstantiatedFromMemberFunction(); in isInstantiationOf()
4446 } while (Instance); in isInstantiationOf()
4452 EnumDecl *Instance) { in isInstantiationOf() argument
4456 Instance = Instance->getCanonicalDecl(); in isInstantiationOf()
4457 if (Pattern == Instance) return true; in isInstantiationOf()
4458 Instance = Instance->getInstantiatedFromMemberEnum(); in isInstantiationOf()
4459 } while (Instance); in isInstantiationOf()
4465 UsingShadowDecl *Instance, in isInstantiationOf() argument
4467 return declaresSameEntity(C.getInstantiatedFromUsingShadowDecl(Instance), in isInstantiationOf()
4472 UsingDecl *Instance, in isInstantiationOf() argument
4474 return declaresSameEntity(C.getInstantiatedFromUsingDecl(Instance), Pattern); in isInstantiationOf()
4478 UsingDecl *Instance, in isInstantiationOf() argument
4480 return declaresSameEntity(C.getInstantiatedFromUsingDecl(Instance), Pattern); in isInstantiationOf()
4484 UsingDecl *Instance, in isInstantiationOf() argument
4486 return declaresSameEntity(C.getInstantiatedFromUsingDecl(Instance), Pattern); in isInstantiationOf()
4490 VarDecl *Instance) { in isInstantiationOfStaticDataMember() argument
4491 assert(Instance->isStaticDataMember()); in isInstantiationOfStaticDataMember()
4496 Instance = Instance->getCanonicalDecl(); in isInstantiationOfStaticDataMember()
4497 if (Pattern == Instance) return true; in isInstantiationOfStaticDataMember()
4498 Instance = Instance->getInstantiatedFromStaticDataMember(); in isInstantiationOfStaticDataMember()
4499 } while (Instance); in isInstantiationOfStaticDataMember()