Home | History | Annotate | Download | only in Sema

Lines Matching refs:NameInfo

2007   DeclarationNameInfo NameInfo = GetNameForDeclarator(D);
2008 DeclarationName Name = NameInfo.getName();
2009 SourceLocation Loc = NameInfo.getLoc();
8037 DeclarationNameInfo NameInfo,
8043 SourceLocation IdentLoc = NameInfo.getLoc();
8054 LookupResult Previous(*this, NameInfo, LookupUsingDeclName,
8087 if (CheckUsingDeclQualifier(UsingLoc, SS, NameInfo, IdentLoc))
8099 IdentLoc, NameInfo.getName());
8102 QualifierLoc, NameInfo);
8111 UsingDecl::Create(Context, CurContext, UsingLoc, QualifierLoc, NameInfo,
8125 LookupResult R(*this, NameInfo, LookupOrdinaryName);
8148 NameInfo.getName().getNameKind() != DeclarationName::CXXConstructorName) {
8161 << NameInfo.getName() << LookupContext << 0
8175 NameInfo.setName(Context.DeclarationNames.getCXXConstructorName(
8177 NameInfo.setNamedTypeInfo(nullptr);
8186 << NameInfo.getName() << LookupContext << SS.getRange();
8225 if (NameInfo.getName().getNameKind() == DeclarationName::CXXConstructorName) {
8335 const DeclarationNameInfo &NameInfo,
8360 LookupResult R(*this, NameInfo, LookupOrdinaryName);
8371 NameInfo.getName().getAsString() +
8376 getLocForEndOfToken(NameInfo.getLocEnd());
8381 InsertLoc, " " + NameInfo.getName().getAsString());
8390 UsingLoc, "auto &" + NameInfo.getName().getAsString() + " = ");
8518 DeclarationNameInfo NameInfo = GetNameFromUnqualifiedId(Name);
8522 if (DiagnoseClassNameShadow(CurContext, NameInfo))
8532 LookupResult Previous(*this, NameInfo, LookupOrdinaryName, ForRedeclaration);
8904 DeclarationNameInfo NameInfo(Name, ClassLoc);
8906 Context, ClassDecl, ClassLoc, NameInfo, /*Type*/QualType(),
9186 DeclarationNameInfo NameInfo(Name, UsingLoc);
9207 Context, Derived, UsingLoc, NameInfo, DerivedType,
9370 DeclarationNameInfo NameInfo(Name, ClassLoc);
9372 = CXXDestructorDecl::Create(Context, ClassDecl, ClassLoc, NameInfo,
10048 DeclarationNameInfo NameInfo(Name, ClassLoc);
10050 CXXMethodDecl::Create(Context, ClassDecl, ClassLoc, NameInfo, QualType(),
10439 DeclarationNameInfo NameInfo(Name, ClassLoc);
10441 CXXMethodDecl::Create(Context, ClassDecl, ClassLoc, NameInfo, QualType(),
10872 DeclarationNameInfo NameInfo(Name, ClassLoc);
10877 Context, ClassDecl, ClassLoc, NameInfo, QualType(), /*TInfo=*/nullptr,
11048 DeclarationNameInfo NameInfo(Name, ClassLoc);
11054 Context, ClassDecl, ClassLoc, NameInfo, QualType(), /*TInfo=*/nullptr,
12500 DeclarationNameInfo NameInfo = GetNameForDeclarator(D);
12501 DeclarationName Name = NameInfo.getName();
12506 DiagnoseUnexpandedParameterPack(NameInfo, UPPC_FriendDeclaration) ||
12514 LookupResult Previous(*this, NameInfo, LookupOrdinaryName,
12559 Diag(NameInfo.getBeginLoc(), diag::err_friend_def_in_local_class);