/freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Lookup.h | 157 Sema &SemaRef, const DeclarationNameInfo &NameInfo, 160 : SemaPtr(&SemaRef), NameInfo(NameInfo), LookupKind(LookupKind), 175 : SemaPtr(&SemaRef), NameInfo(Name, NameLoc), LookupKind(LookupKind), 187 : SemaPtr(Other.SemaPtr), NameInfo(Other.NameInfo), in LookupResult() 204 SemaPtr(std::move(Other.SemaPtr)), NameInfo(std::move(Other.NameInfo)), in LookupResult() 228 NameInfo = std::move(Other.NameInfo); 256 return NameInfo; in getLookupNameInfo() 260 void setLookupNameInfo(const DeclarationNameInfo &NameInfo) { in setLookupNameInfo() argument 261 this->NameInfo = NameInfo; in setLookupNameInfo() 266 return NameInfo.getName(); in getLookupName() [all …]
|
H A D | Sema.h | 4900 const DeclarationNameInfo &NameInfo, 4914 DeclarationNameInfo NameInfo, 6718 DeclarationNameInfo &NameInfo, 6751 const DeclarationNameInfo &NameInfo, 6761 const DeclarationNameInfo &NameInfo, 6774 CXXScopeSpec &SS, const DeclarationNameInfo &NameInfo, 6783 const CXXScopeSpec &SS, const DeclarationNameInfo &NameInfo, NamedDecl *D, 8575 NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, 8632 NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, 10501 const DeclarationNameInfo &NameInfo, [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | StmtCXX.h | 257 DeclarationNameInfo NameInfo; variable 266 DeclarationNameInfo NameInfo, in MSDependentExistsStmt() argument 270 QualifierLoc(QualifierLoc), NameInfo(NameInfo), in MSDependentExistsStmt() 289 DeclarationNameInfo getNameInfo() const { return NameInfo; } in getNameInfo()
|
H A D | DeclCXX.h | 1965 const DeclarationNameInfo &NameInfo, QualType T, in CXXDeductionGuideDecl() argument 1968 : FunctionDecl(CXXDeductionGuide, C, DC, StartLoc, NameInfo, T, TInfo, in CXXDeductionGuideDecl() 1986 ExplicitSpecifier ES, const DeclarationNameInfo &NameInfo, QualType T, 2072 SourceLocation StartLoc, const DeclarationNameInfo &NameInfo, 2077 : FunctionDecl(DK, C, RD, StartLoc, NameInfo, T, TInfo, SC, UsesFPIntrin, in FunctionDecl() argument 2086 const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, 2552 const DeclarationNameInfo &NameInfo, QualType T, 2596 const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, 2816 const DeclarationNameInfo &NameInfo, QualType T, 2820 : CXXMethodDecl(CXXDestructor, C, RD, StartLoc, NameInfo, T, TInfo, in CXXMethodDecl() argument [all …]
|
H A D | ExprCXX.h | 2987 DeclarationNameInfo NameInfo; variable 2996 const DeclarationNameInfo &NameInfo, 3089 const DeclarationNameInfo &getNameInfo() const { return NameInfo; } in getNameInfo() 3092 DeclarationName getName() const { return NameInfo.getName(); } in getName() 3095 SourceLocation getNameLoc() const { return NameInfo.getLoc(); } in getNameLoc() 3229 const DeclarationNameInfo &NameInfo, bool RequiresADL, 3249 const DeclarationNameInfo &NameInfo, bool RequiresADL, 3259 const DeclarationNameInfo &NameInfo, bool RequiresADL, 3332 DeclarationNameInfo NameInfo; variable 3336 const DeclarationNameInfo &NameInfo, [all …]
|
H A D | OpenMPClause.h | 3225 DeclarationNameInfo NameInfo; variable 3242 const DeclarationNameInfo &NameInfo) in OMPReductionClause() argument 3247 QualifierLoc(QualifierLoc), NameInfo(NameInfo) {} in OMPReductionClause() 3268 void setNameInfo(DeclarationNameInfo DNI) { NameInfo = DNI; } in setNameInfo() 3408 const DeclarationNameInfo &NameInfo, ArrayRef<Expr *> Privates, 3433 const DeclarationNameInfo &getNameInfo() const { return NameInfo; } in getNameInfo() 3555 DeclarationNameInfo NameInfo; variable 3569 const DeclarationNameInfo &NameInfo) in OMPTaskReductionClause() argument 3573 QualifierLoc(QualifierLoc), NameInfo(NameInfo) {} in OMPTaskReductionClause() 3588 void setNameInfo(DeclarationNameInfo DNI) { NameInfo = DNI; } in setNameInfo() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaTemplateVariadic.cpp | 470 bool Sema::DiagnoseUnexpandedParameterPack(const DeclarationNameInfo &NameInfo, in DiagnoseUnexpandedParameterPack() argument 475 switch (NameInfo.getName().getNameKind()) { in DiagnoseUnexpandedParameterPack() 490 if (TypeSourceInfo *TSInfo = NameInfo.getNamedTypeInfo()) in DiagnoseUnexpandedParameterPack() 491 return DiagnoseUnexpandedParameterPack(NameInfo.getLoc(), TSInfo, UPPC); in DiagnoseUnexpandedParameterPack() 493 if (!NameInfo.getName().getCXXNameType()->containsUnexpandedParameterPack()) in DiagnoseUnexpandedParameterPack() 501 .TraverseType(NameInfo.getName().getCXXNameType()); in DiagnoseUnexpandedParameterPack() 503 return DiagnoseUnexpandedParameterPacks(NameInfo.getLoc(), UPPC, Unexpanded); in DiagnoseUnexpandedParameterPack() 563 const DeclarationNameInfo &NameInfo, in collectUnexpandedParameterPacks() argument 566 .TraverseDeclarationNameInfo(NameInfo); in collectUnexpandedParameterPacks()
|
H A D | SemaExprMember.cpp | 561 const DeclarationNameInfo &NameInfo, in ActOnDependentMemberExpr() argument 578 << BaseType << BaseExpr->getSourceRange() << NameInfo.getSourceRange(); in ActOnDependentMemberExpr() 583 assert(BaseType->isDependentType() || NameInfo.getName().isDependentName() || in ActOnDependentMemberExpr() 595 NameInfo, TemplateArgs); in ActOnDependentMemberExpr() 738 DeclarationNameInfo NameInfo; in LookupMemberExprInRecord() member 763 LookupResult R(Q.SemaRef, Q.NameInfo, Q.LookupKind, Q.Redecl); in LookupMemberExprInRecord() 788 NamedDecl *FirstQualifierInScope, const DeclarationNameInfo &NameInfo, in BuildMemberReferenceExpr() argument 791 LookupResult R(*this, NameInfo, LookupMemberName); in BuildMemberReferenceExpr() 923 const DeclarationNameInfo &NameInfo) { in BuildMSPropertyRefExpr() argument 929 NameInfo.getLoc()); in BuildMSPropertyRefExpr() [all …]
|
H A D | SemaTemplate.cpp | 628 DeclarationNameInfo NameInfo; in diagnoseExprIntendedAsTemplateName() local 638 NameInfo = DRE->getNameInfo(); in diagnoseExprIntendedAsTemplateName() 643 NameInfo = ME->getMemberNameInfo(); in diagnoseExprIntendedAsTemplateName() 650 NameInfo = DSDRE->getNameInfo(); in diagnoseExprIntendedAsTemplateName() 655 NameInfo = DSME->getMemberNameInfo(); in diagnoseExprIntendedAsTemplateName() 665 Diag(NameInfo.getBeginLoc(), diag::err_template_kw_missing) in diagnoseExprIntendedAsTemplateName() 666 << "" << NameInfo.getName().getAsString() << SourceRange(Less, Greater); in diagnoseExprIntendedAsTemplateName() 690 DeclarationName Name = NameInfo.getName(); in diagnoseExprIntendedAsTemplateName() 692 if (TypoCorrection Corrected = CorrectTypo(NameInfo, LookupKind, S, &SS, CCC, in diagnoseExprIntendedAsTemplateName() 718 Diag(NameInfo.getLoc(), diag::err_non_template_in_template_id) in diagnoseExprIntendedAsTemplateName() [all …]
|
H A D | TreeTransform.h | 556 TransformDeclarationNameInfo(const DeclarationNameInfo &NameInfo); 2616 DeclarationNameInfo NameInfo, in RebuildMSDependentExistsStmt() argument 2619 QualifierLoc, NameInfo, Nested); in RebuildMSDependentExistsStmt() 2677 const DeclarationNameInfo &NameInfo, in RebuildDeclRefExpr() argument 2682 return getSema().BuildDeclarationNameExpr(SS, NameInfo, VD, Found, in RebuildDeclRefExpr() 3003 DeclarationNameInfo NameInfo(&Accessor, AccessorLoc); in RebuildExtVectorElementExpr() 3006 /*FirstQualifierInScope*/ nullptr, NameInfo, in RebuildExtVectorElementExpr() 3477 const DeclarationNameInfo &NameInfo, in RebuildDependentScopeDeclRefExpr() argument 3486 SS, TemplateKWLoc, NameInfo, TemplateArgs, IsAddressOfOperand); in RebuildDependentScopeDeclRefExpr() 3489 SS, NameInfo, IsAddressOfOperand, RecoveryTSI); in RebuildDependentScopeDeclRefExpr() [all …]
|
H A D | HLSLExternalSemaSource.cpp | 132 DeclarationNameInfo NameInfo = in lookupBuiltinFunction() local 134 LookupResult R(S, NameInfo, Sema::LookupOrdinaryName); in lookupBuiltinFunction() 145 VD, false, NameInfo, Ty, VK_PRValue); in lookupBuiltinFunction()
|
H A D | SemaTemplateInstantiateDecl.cpp | 2183 DeclarationNameInfo NameInfo in VisitFunctionDecl() local 2187 adjustForRewrite(FunctionRewriteKind, D, T, TInfo, NameInfo); in VisitFunctionDecl() 2193 InstantiatedExplicitSpecifier, NameInfo, T, TInfo, in VisitFunctionDecl() 2199 SemaRef.Context, DC, D->getInnerLocStart(), NameInfo, T, TInfo, in VisitFunctionDecl() 2596 DeclarationNameInfo NameInfo in VisitCXXMethodDecl() local 2600 adjustForRewrite(FunctionRewriteKind, D, T, TInfo, NameInfo); in VisitCXXMethodDecl() 2608 SemaRef.Context, Record, StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl() 2616 SemaRef.Context, Record, StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl() 2626 SemaRef.Context, Record, StartLoc, NameInfo, T, TInfo, in VisitCXXMethodDecl() 2633 SemaRef.Context, Record, StartLoc, NameInfo, T, TInfo, SC, in VisitCXXMethodDecl() [all …]
|
H A D | SemaStmtAsm.cpp | 897 DeclarationNameInfo NameInfo; in LookupInlineAsmVarDeclField() local 898 NameInfo.setLoc(AsmLoc); in LookupInlineAsmVarDeclField() 899 NameInfo.setName(&Context.Idents.get(Member)); in LookupInlineAsmVarDeclField() 903 /*FirstQualifierFoundInScope=*/nullptr, NameInfo, /*TemplateArgs=*/nullptr); in LookupInlineAsmVarDeclField()
|
H A D | SemaDeclCXX.cpp | 877 DeclarationNameInfo NameInfo(B.Name, B.NameLoc); in ActOnDecompositionDeclarator() local 881 LookupResult Previous(*this, NameInfo, LookupOrdinaryName, in ActOnDecompositionDeclarator() 936 DeclarationNameInfo NameInfo((IdentifierInfo *)nullptr, in ActOnDecompositionDeclarator() local 938 LookupResult Previous(*this, NameInfo, LookupOrdinaryName, in ActOnDecompositionDeclarator() 3322 DeclarationNameInfo NameInfo = GetNameForDeclarator(D); in ActOnCXXMemberDeclarator() local 3323 DeclarationName Name = NameInfo.getName(); in ActOnCXXMemberDeclarator() 3324 SourceLocation Loc = NameInfo.getLoc(); in ActOnCXXMemberDeclarator() 8461 DeclarationNameInfo NameInfo(Field->getDeclName(), Loc); in getField() local 8463 CXXScopeSpec(), Field, Found, NameInfo), in getField() 8465 CXXScopeSpec(), Field, Found, NameInfo)}; in getField() [all …]
|
H A D | SemaDecl.cpp | 863 DeclarationNameInfo NameInfo(Name, NameLoc); in ClassifyName() local 948 Context.getAssumedTemplateName(NameInfo.getName()); in ClassifyName() 1125 Template = Context.getAssumedTemplateName(NameInfo.getName()); in ClassifyName() 1239 DeclarationNameInfo NameInfo(Name, NameLoc); in ActOnNameClassifiedAsDependentNonType() local 1241 NameInfo, IsAddressOfOperand, in ActOnNameClassifiedAsDependentNonType() 5772 DeclarationNameInfo NameInfo; in GetNameFromUnqualifiedId() local 5773 NameInfo.setLoc(Name.StartLocation); in GetNameFromUnqualifiedId() 5779 NameInfo.setName(Name.Identifier); in GetNameFromUnqualifiedId() 5780 return NameInfo; in GetNameFromUnqualifiedId() 5804 NameInfo.setName( in GetNameFromUnqualifiedId() [all …]
|
H A D | SemaExpr.cpp | 2189 DeclarationNameInfo NameInfo(D->getDeclName(), Loc); in BuildDeclRefExpr() local 2190 return BuildDeclRefExpr(D, Ty, VK, NameInfo, SS); in BuildDeclRefExpr() 2195 const DeclarationNameInfo &NameInfo, in BuildDeclRefExpr() argument 2201 return BuildDeclRefExpr(D, Ty, VK, NameInfo, NNS, FoundD, TemplateKWLoc, in BuildDeclRefExpr() 2264 const DeclarationNameInfo &NameInfo, in BuildDeclRefExpr() argument 2269 NeedToCaptureVariable(D, NameInfo.getLoc()); in BuildDeclRefExpr() 2272 Context, NNS, TemplateKWLoc, D, RefersToCapturedVariable, NameInfo, Ty, in BuildDeclRefExpr() 2290 if (const auto *NewFPT = ResolveExceptionSpec(NameInfo.getLoc(), FPT)) in BuildDeclRefExpr() 2322 DeclarationNameInfo &NameInfo, in DecomposeUnqualifiedId() argument 2334 NameInfo = Context.getNameForTemplate(TName, TNameLoc); in DecomposeUnqualifiedId() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | DeclCXX.cpp | 2197 ExplicitSpecifier ES, const DeclarationNameInfo &NameInfo, QualType T, in Create() argument 2200 return new (C, DC) CXXDeductionGuideDecl(C, DC, StartLoc, ES, NameInfo, T, in Create() 2313 const DeclarationNameInfo &NameInfo, QualType T, in Create() argument 2319 CXXMethod, C, RD, StartLoc, NameInfo, T, TInfo, SC, UsesFPIntrin, in Create() 2723 const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, in CXXConstructorDecl() argument 2727 : CXXMethodDecl(CXXConstructor, C, RD, StartLoc, NameInfo, T, TInfo, in CXXConstructorDecl() 2763 const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, in Create() argument 2767 assert(NameInfo.getName().getNameKind() in Create() 2774 C, RD, StartLoc, NameInfo, T, TInfo, ES, UsesFPIntrin, isInline, in Create() 2897 const DeclarationNameInfo &NameInfo, QualType T, TypeSourceInfo *TInfo, in Create() argument [all …]
|
H A D | ExprCXX.cpp | 403 const DeclarationNameInfo &NameInfo, bool RequiresADL, in UnresolvedLookupExpr() argument 408 TemplateKWLoc, NameInfo, TemplateArgs, Begin, End, in UnresolvedLookupExpr() 422 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, in Create() argument 431 /*TemplateKWLoc=*/SourceLocation(), NameInfo, RequiresADL, in Create() 439 const DeclarationNameInfo &NameInfo, bool RequiresADL, in Create() argument 451 Context, NamingClass, QualifierLoc, TemplateKWLoc, NameInfo, RequiresADL, in Create() 470 const DeclarationNameInfo &NameInfo, in OverloadExpr() argument 476 : Expr(SC, Context.OverloadTy, VK_LValue, OK_Ordinary), NameInfo(NameInfo), in OverloadExpr() 515 SourceLocation TemplateKWLoc, const DeclarationNameInfo &NameInfo, in DependentScopeDeclRefExpr() argument 518 QualifierLoc(QualifierLoc), NameInfo(NameInfo) { in DependentScopeDeclRefExpr() [all …]
|
H A D | Expr.cpp | 453 const DeclarationNameInfo &NameInfo, NamedDecl *FoundD, in DeclRefExpr() argument 457 DNLoc(NameInfo.getInfo()) { in DeclRefExpr() 458 DeclRefExprBits.Loc = NameInfo.getLoc(); in DeclRefExpr() 506 const DeclarationNameInfo &NameInfo, in Create() argument 525 RefersToEnclosingVariableOrCapture, NameInfo, in Create() 1718 const DeclarationNameInfo &NameInfo, in MemberExpr() argument 1723 MemberDNLoc(NameInfo.getInfo()), MemberLoc(NameInfo.getLoc()) { in MemberExpr() 1724 assert(!NameInfo.getName() || in MemberExpr() 1725 MemberDecl->getDeclName() == NameInfo.getName()); in MemberExpr() 1758 DeclarationNameInfo NameInfo, const TemplateArgumentListInfo *TemplateArgs, in Create() argument [all …]
|
H A D | OpenMPClause.cpp | 797 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, in Create() argument 806 Modifier, VL.size(), QualifierLoc, NameInfo); in Create() 869 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, in Create() argument 875 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo); in Create() 931 NestedNameSpecifierLoc QualifierLoc, const DeclarationNameInfo &NameInfo, in Create() argument 937 StartLoc, LParenLoc, EndLoc, ColonLoc, VL.size(), QualifierLoc, NameInfo); in Create()
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | UnicodeNameToCodepoint.cpp | 76 uint8_t NameInfo = UnicodeNameToCodepointIndex[Offset++]; in readNode() local 80 bool LongName = NameInfo & 0x40; in readNode() 81 bool HasValue = NameInfo & 0x80; in readNode() 82 std::size_t Size = NameInfo & ~0xC0; in readNode()
|
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/ |
H A D | LVBinaryReader.cpp | 396 const LVNameInfo &NameInfo) { in createInstructions() argument 404 LVAddress Address = NameInfo.first; in createInstructions() 405 uint64_t Size = NameInfo.second; in createInstructions() 550 const LVNameInfo &NameInfo = Name.second; in createInstructions() 551 LVAddress Address = NameInfo.first; in createInstructions() 552 uint64_t Size = NameInfo.second; in createInstructions()
|
/freebsd/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexBody.cpp | 169 const Expr *E, const Type *T, const DeclarationNameInfo &NameInfo, in indexDependentReference() argument 187 RD->lookupDependentName(NameInfo.getName(), Filter); in indexDependentReference() 191 SourceLocation Loc = NameInfo.getLoc(); in indexDependentReference()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Readers/ |
H A D | LVBinaryReader.h | 192 const LVNameInfo &NameInfo);
|
/freebsd/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTRecordWriter.h | 250 void AddDeclarationNameInfo(const DeclarationNameInfo &NameInfo);
|