Lines Matching defs:OtherGD
1975 GlobalDecl OtherGD;
1976 if (lookupRepresentativeDecl(NonTargetName, OtherGD)) {
1977 assert(OtherGD.getCanonicalDecl()
1984 const FunctionDecl *OtherFD = OtherGD.getCanonicalDecl()
1988 std::string OtherName = getMangledNameImpl(*this, OtherGD, OtherFD);
1997 auto Result = Manglings.insert(std::make_pair(OtherName, OtherGD));
1998 StringRef OtherNameRef = MangledDeclNames[OtherGD.getCanonicalDecl()] =
2001 if (GD.getCanonicalDecl() == OtherGD.getCanonicalDecl())
4706 GlobalDecl OtherGD;
4709 if (lookupRepresentativeDecl(MangledName, OtherGD) &&
4711 OtherGD.getCanonicalDecl().getDecl()) &&
4715 getDiags().Report(OtherGD.getDecl()->getLocation(),
5038 GlobalDecl OtherGD;
5043 if (D && lookupRepresentativeDecl(MangledName, OtherGD) &&
5044 (D->getCanonicalDecl() != OtherGD.getCanonicalDecl().getDecl()) &&
5045 (OtherD = dyn_cast<VarDecl>(OtherGD.getDecl())) &&
5050 getDiags().Report(OtherGD.getDecl()->getLocation(),
6232 GlobalDecl OtherGD;
6233 if (lookupRepresentativeDecl(MangledName, OtherGD) &&
6237 Diags.Report(OtherGD.getDecl()->getLocation(),