Lines Matching defs:IdInfo

407 bool Sema::BuildCXXNestedNameSpecifier(Scope *S, NestedNameSpecInfo &IdInfo,
413 if (IdInfo.Identifier->isEditorPlaceholder())
415 LookupResult Found(*this, IdInfo.Identifier, IdInfo.IdentifierLoc,
418 QualType ObjectType = GetTypeFromParser(IdInfo.ObjectType);
503 SS.Extend(Context, IdInfo.Identifier, IdInfo.IdentifierLoc, IdInfo.CCLoc);
522 Diag(IdInfo.CCLoc, diag::err_nested_name_spec_is_not_class)
523 << IdInfo.Identifier << getLangOpts().CPlusPlus
524 << FixItHint::CreateReplacement(IdInfo.CCLoc, ":");
533 << IdInfo.Identifier << getLangOpts().CPlusPlus;
536 << IdInfo.Identifier;
571 Found.setLookupName(IdInfo.Identifier);
581 Diag(IdInfo.IdentifierLoc, diag::ext_nested_name_spec_is_enum);
598 LookupResult FoundOuter(*this, IdInfo.Identifier, IdInfo.IdentifierLoc,
614 Diag(IdInfo.IdentifierLoc,
616 << IdInfo.Identifier;
635 DiagnoseUseOfDecl(SD, IdInfo.CCLoc);
638 SS.Extend(Context, Namespace, IdInfo.IdentifierLoc, IdInfo.CCLoc);
643 SS.Extend(Context, Alias, IdInfo.IdentifierLoc, IdInfo.CCLoc);
651 Diag(IdInfo.IdentifierLoc, diag::warn_cxx98_compat_enum_nested_name_spec);
656 TLB.pushTypeSpec(T).setNameLoc(IdInfo.IdentifierLoc);
660 InjectedTL.setNameLoc(IdInfo.IdentifierLoc);
663 RecordTL.setNameLoc(IdInfo.IdentifierLoc);
666 TypedefTL.setNameLoc(IdInfo.IdentifierLoc);
669 EnumTL.setNameLoc(IdInfo.IdentifierLoc);
673 TemplateTypeTL.setNameLoc(IdInfo.IdentifierLoc);
677 UnresolvedTL.setNameLoc(IdInfo.IdentifierLoc);
681 TL.setNameLoc(IdInfo.IdentifierLoc);
685 TL.setNameLoc(IdInfo.IdentifierLoc);
691 IdInfo.CCLoc);
730 Diag(IdInfo.IdentifierLoc,
732 << IdInfo.Identifier << ContainingClass;
737 TLB.pushTrivial(Context, T, IdInfo.IdentifierLoc);
739 TLB.getTypeLocInContext(Context, T), IdInfo.IdentifierLoc);
741 SS.Extend(Context, IdInfo.Identifier, IdInfo.IdentifierLoc,
742 IdInfo.CCLoc);
750 Diag(IdInfo.IdentifierLoc, diag::err_expected_class_or_namespace)
754 DiagnoseUnknownTypeName(IdInfo.Identifier, IdInfo.IdentifierLoc, S, &SS,
757 Diag(IdInfo.IdentifierLoc, diag::err_expected_class_or_namespace)
758 << IdInfo.Identifier << getLangOpts().CPlusPlus;
761 << IdInfo.Identifier;
764 Diag(IdInfo.IdentifierLoc, diag::err_no_member) << IdInfo.Identifier
767 Diag(IdInfo.IdentifierLoc, diag::err_undeclared_var_use)
768 << IdInfo.Identifier;
773 bool Sema::ActOnCXXNestedNameSpecifier(Scope *S, NestedNameSpecInfo &IdInfo,
780 return BuildCXXNestedNameSpecifier(S, IdInfo, EnteringContext, SS,
836 NestedNameSpecInfo &IdInfo,
841 return !BuildCXXNestedNameSpecifier(S, IdInfo, EnteringContext, SS,