Lines Matching defs:OtherGD
1941 GlobalDecl OtherGD;
1942 if (lookupRepresentativeDecl(NonTargetName, OtherGD)) {
1943 assert(OtherGD.getCanonicalDecl()
1950 const FunctionDecl *OtherFD = OtherGD.getCanonicalDecl()
1954 std::string OtherName = getMangledNameImpl(*this, OtherGD, OtherFD);
1963 auto Result = Manglings.insert(std::make_pair(OtherName, OtherGD));
1964 StringRef OtherNameRef = MangledDeclNames[OtherGD.getCanonicalDecl()] =
1967 if (GD.getCanonicalDecl() == OtherGD.getCanonicalDecl())
4629 GlobalDecl OtherGD;
4632 if (lookupRepresentativeDecl(MangledName, OtherGD) &&
4634 OtherGD.getCanonicalDecl().getDecl()) &&
4638 getDiags().Report(OtherGD.getDecl()->getLocation(),
4927 GlobalDecl OtherGD;
4932 if (D && lookupRepresentativeDecl(MangledName, OtherGD) &&
4933 (D->getCanonicalDecl() != OtherGD.getCanonicalDecl().getDecl()) &&
4934 (OtherD = dyn_cast<VarDecl>(OtherGD.getDecl())) &&
4939 getDiags().Report(OtherGD.getDecl()->getLocation(),
6115 GlobalDecl OtherGD;
6116 if (lookupRepresentativeDecl(MangledName, OtherGD) &&
6120 Diags.Report(OtherGD.getDecl()->getLocation(),