Lines Matching refs:IdInfo

384                                         NestedNameSpecInfo &IdInfo) {
385 QualType ObjectType = GetTypeFromParser(IdInfo.ObjectType);
386 LookupResult Found(*this, IdInfo.Identifier, IdInfo.IdentifierLoc,
456 /// \param IdInfo Parser information about an identifier in the
483 bool Sema::BuildCXXNestedNameSpecifier(Scope *S, NestedNameSpecInfo &IdInfo,
489 if (IdInfo.Identifier->isEditorPlaceholder())
491 LookupResult Found(*this, IdInfo.Identifier, IdInfo.IdentifierLoc,
494 QualType ObjectType = GetTypeFromParser(IdInfo.ObjectType);
579 SS.Extend(Context, IdInfo.Identifier, IdInfo.IdentifierLoc, IdInfo.CCLoc);
598 Diag(IdInfo.CCLoc, diag::err_nested_name_spec_is_not_class)
599 << IdInfo.Identifier << getLangOpts().CPlusPlus
600 << FixItHint::CreateReplacement(IdInfo.CCLoc, ":");
609 << IdInfo.Identifier << getLangOpts().CPlusPlus;
612 << IdInfo.Identifier;
647 Found.setLookupName(IdInfo.Identifier);
657 Diag(IdInfo.IdentifierLoc, diag::ext_nested_name_spec_is_enum);
674 LookupResult FoundOuter(*this, IdInfo.Identifier, IdInfo.IdentifierLoc,
690 Diag(IdInfo.IdentifierLoc,
692 << IdInfo.Identifier;
711 DiagnoseUseOfDecl(SD, IdInfo.CCLoc);
714 SS.Extend(Context, Namespace, IdInfo.IdentifierLoc, IdInfo.CCLoc);
719 SS.Extend(Context, Alias, IdInfo.IdentifierLoc, IdInfo.CCLoc);
729 InjectedTL.setNameLoc(IdInfo.IdentifierLoc);
732 RecordTL.setNameLoc(IdInfo.IdentifierLoc);
735 TypedefTL.setNameLoc(IdInfo.IdentifierLoc);
738 EnumTL.setNameLoc(IdInfo.IdentifierLoc);
742 TemplateTypeTL.setNameLoc(IdInfo.IdentifierLoc);
746 UnresolvedTL.setNameLoc(IdInfo.IdentifierLoc);
750 TL.setNameLoc(IdInfo.IdentifierLoc);
754 TL.setNameLoc(IdInfo.IdentifierLoc);
760 Diag(IdInfo.IdentifierLoc, diag::warn_cxx98_compat_enum_nested_name_spec);
763 IdInfo.CCLoc);
802 Diag(IdInfo.IdentifierLoc,
804 << IdInfo.Identifier << ContainingClass;
805 SS.Extend(Context, IdInfo.Identifier, IdInfo.IdentifierLoc,
806 IdInfo.CCLoc);
814 Diag(IdInfo.IdentifierLoc, diag::err_expected_class_or_namespace)
817 Diag(IdInfo.IdentifierLoc, diag::err_expected_class_or_namespace)
818 << IdInfo.Identifier << getLangOpts().CPlusPlus;
821 << IdInfo.Identifier;
824 Diag(IdInfo.IdentifierLoc, diag::err_no_member) << IdInfo.Identifier
827 Diag(IdInfo.IdentifierLoc, diag::err_undeclared_var_use)
828 << IdInfo.Identifier;
833 bool Sema::ActOnCXXNestedNameSpecifier(Scope *S, NestedNameSpecInfo &IdInfo,
841 return BuildCXXNestedNameSpecifier(S, IdInfo, EnteringContext, SS,
879 NestedNameSpecInfo &IdInfo,
884 return !BuildCXXNestedNameSpecifier(S, IdInfo, EnteringContext, SS,