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