Lines Matching defs:IdInfo
408 bool Sema::BuildCXXNestedNameSpecifier(Scope *S, NestedNameSpecInfo &IdInfo,
414 if (IdInfo.Identifier->isEditorPlaceholder())
416 LookupResult Found(*this, IdInfo.Identifier, IdInfo.IdentifierLoc,
419 QualType ObjectType = GetTypeFromParser(IdInfo.ObjectType);
504 SS.Extend(Context, IdInfo.Identifier, IdInfo.IdentifierLoc, IdInfo.CCLoc);
523 Diag(IdInfo.CCLoc, diag::err_nested_name_spec_is_not_class)
524 << IdInfo.Identifier << getLangOpts().CPlusPlus
525 << FixItHint::CreateReplacement(IdInfo.CCLoc, ":");
534 << IdInfo.Identifier << getLangOpts().CPlusPlus;
537 << IdInfo.Identifier;
572 Found.setLookupName(IdInfo.Identifier);
582 Diag(IdInfo.IdentifierLoc, diag::ext_nested_name_spec_is_enum);
599 LookupResult FoundOuter(*this, IdInfo.Identifier, IdInfo.IdentifierLoc,
615 Diag(IdInfo.IdentifierLoc,
617 << IdInfo.Identifier;
636 DiagnoseUseOfDecl(SD, IdInfo.CCLoc);
639 SS.Extend(Context, Namespace, IdInfo.IdentifierLoc, IdInfo.CCLoc);
644 SS.Extend(Context, Alias, IdInfo.IdentifierLoc, IdInfo.CCLoc);
652 Diag(IdInfo.IdentifierLoc, diag::warn_cxx98_compat_enum_nested_name_spec);
657 TLB.pushTypeSpec(T).setNameLoc(IdInfo.IdentifierLoc);
661 InjectedTL.setNameLoc(IdInfo.IdentifierLoc);
664 RecordTL.setNameLoc(IdInfo.IdentifierLoc);
667 TypedefTL.setNameLoc(IdInfo.IdentifierLoc);
670 EnumTL.setNameLoc(IdInfo.IdentifierLoc);
674 TemplateTypeTL.setNameLoc(IdInfo.IdentifierLoc);
678 UnresolvedTL.setNameLoc(IdInfo.IdentifierLoc);
682 TL.setNameLoc(IdInfo.IdentifierLoc);
686 TL.setNameLoc(IdInfo.IdentifierLoc);
692 IdInfo.CCLoc);
731 Diag(IdInfo.IdentifierLoc,
733 << IdInfo.Identifier << ContainingClass;
738 TLB.pushTrivial(Context, T, IdInfo.IdentifierLoc);
740 TLB.getTypeLocInContext(Context, T), IdInfo.IdentifierLoc);
742 SS.Extend(Context, IdInfo.Identifier, IdInfo.IdentifierLoc,
743 IdInfo.CCLoc);
751 Diag(IdInfo.IdentifierLoc, diag::err_expected_class_or_namespace)
755 DiagnoseUnknownTypeName(IdInfo.Identifier, IdInfo.IdentifierLoc, S, &SS,
758 Diag(IdInfo.IdentifierLoc, diag::err_expected_class_or_namespace)
759 << IdInfo.Identifier << getLangOpts().CPlusPlus;
762 << IdInfo.Identifier;
765 Diag(IdInfo.IdentifierLoc, diag::err_no_member) << IdInfo.Identifier
768 Diag(IdInfo.IdentifierLoc, diag::err_undeclared_var_use)
769 << IdInfo.Identifier;
774 bool Sema::ActOnCXXNestedNameSpecifier(Scope *S, NestedNameSpecInfo &IdInfo,
781 return BuildCXXNestedNameSpecifier(S, IdInfo, EnteringContext, SS,
837 NestedNameSpecInfo &IdInfo,
842 return !BuildCXXNestedNameSpecifier(S, IdInfo, EnteringContext, SS,