Lines Matching defs:NameInfo
1789 DeclarationNameInfo NameInfo = GetNameForDeclarator(D);
1790 DeclarationName Name = NameInfo.getName();
1791 SourceLocation Loc = NameInfo.getLoc();
7087 const DeclarationNameInfo &NameInfo,
7093 SourceLocation IdentLoc = NameInfo.getLoc();
7104 LookupResult Previous(*this, NameInfo, LookupUsingDeclName,
7142 IdentLoc, NameInfo.getName());
7145 QualifierLoc, NameInfo);
7149 NameInfo, HasTypenameKeyword);
7163 if (NameInfo.getName().getNameKind() == DeclarationName::CXXConstructorName) {
7171 LookupResult R(*this, NameInfo, LookupOrdinaryName);
7203 << NameInfo.getName() << LookupContext << 0
7211 << NameInfo.getName() << LookupContext << SS.getRange();
7508 DeclarationNameInfo NameInfo = GetNameFromUnqualifiedId(Name);
7512 if (DiagnoseClassNameShadow(CurContext, NameInfo))
7522 LookupResult Previous(*this, NameInfo, LookupOrdinaryName, ForRedeclaration);
7900 DeclarationNameInfo NameInfo(Name, ClassLoc);
7902 Context, ClassDecl, ClassLoc, NameInfo, /*Type*/QualType(), /*TInfo=*/0,
8172 DeclarationNameInfo NameInfo(Name, UsingLoc);
8193 Context, Derived, UsingLoc, NameInfo, DerivedType,
8364 DeclarationNameInfo NameInfo(Name, ClassLoc);
8366 = CXXDestructorDecl::Create(Context, ClassDecl, ClassLoc, NameInfo,
8870 DeclarationNameInfo NameInfo(Name, ClassLoc);
8872 CXXMethodDecl::Create(Context, ClassDecl, ClassLoc, NameInfo, QualType(),
9384 DeclarationNameInfo NameInfo(Name, ClassLoc);
9386 CXXMethodDecl::Create(Context, ClassDecl, ClassLoc, NameInfo, QualType(),
9739 DeclarationNameInfo NameInfo(Name, ClassLoc);
9744 Context, ClassDecl, ClassLoc, NameInfo, QualType(), /*TInfo=*/0,
9930 DeclarationNameInfo NameInfo(Name, ClassLoc);
9936 Context, ClassDecl, ClassLoc, NameInfo, QualType(), /*TInfo=*/0,
11260 DeclarationNameInfo NameInfo = GetNameForDeclarator(D);
11261 DeclarationName Name = NameInfo.getName();
11266 DiagnoseUnexpandedParameterPack(NameInfo, UPPC_FriendDeclaration) ||
11274 LookupResult Previous(*this, NameInfo, LookupOrdinaryName,
11345 Diag(NameInfo.getBeginLoc(), diag::err_friend_def_in_local_class);