Home
last modified time | relevance | path

Searched refs:CXXScopeSpec (Results 1 – 25 of 86) sorted by relevance

1234

/external/clang/include/clang/Sema/
DParsedTemplate.h63 ParsedTemplateArgument(const CXXScopeSpec &SS, in ParsedTemplateArgument()
99 const CXXScopeSpec &getScopeSpec() const { in getScopeSpec()
130 CXXScopeSpec SS;
150 CXXScopeSpec SS;
199 new (&TemplateId->SS) CXXScopeSpec(); in Allocate()
211 SS.~CXXScopeSpec(); in Destroy()
DSemaInternal.h112 Scope *S, CXXScopeSpec *SS, in TypoCorrectionConsumer()
118 SS(SS ? llvm::make_unique<CXXScopeSpec>(*SS) : nullptr), in TypoCorrectionConsumer()
218 const CXXScopeSpec *getSS() const { return SS.get(); } in getSS()
252 CXXScopeSpec *CurScopeSpec);
324 std::unique_ptr<CXXScopeSpec> SS;
DSema.h88 class CXXScopeSpec; variable
1488 const CXXScopeSpec &SS, QualType T);
1522 Scope *S, CXXScopeSpec *SS = nullptr,
1529 bool isMicrosoftMissingTypename(const CXXScopeSpec *SS, Scope *S);
1533 CXXScopeSpec *SS,
1663 ClassifyName(Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name,
1674 bool diagnoseQualifiedDeclaration(CXXScopeSpec &SS, DeclContext *DC,
1951 SourceLocation KWLoc, CXXScopeSpec &SS,
1963 CXXScopeSpec &SS,
1971 const CXXScopeSpec &SS,
[all …]
DExternalSemaSource.h203 int LookupKind, Scope *S, CXXScopeSpec *SS, in CorrectTypo()
DMultiplexExternalSemaSource.h331 int LookupKind, Scope *S, CXXScopeSpec *SS,
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp76 DeclContext *Sema::computeDeclContext(const CXXScopeSpec &SS, in computeDeclContext()
169 bool Sema::isDependentScopeSpecifier(const CXXScopeSpec &SS) { in isDependentScopeSpecifier()
201 bool Sema::RequireCompleteDeclContext(CXXScopeSpec &SS, in RequireCompleteDeclContext()
273 CXXScopeSpec &SS) { in ActOnCXXGlobalScopeSpecifier()
280 CXXScopeSpec &SS) { in ActOnSuperScopeSpecifier()
383 bool Sema::isNonTypeNestedNameSpecifier(Scope *S, CXXScopeSpec &SS, in isNonTypeNestedNameSpecifier()
487 CXXScopeSpec &SS, in BuildCXXNestedNameSpecifier()
831 CXXScopeSpec &SS, in ActOnCXXNestedNameSpecifier()
844 bool Sema::ActOnCXXNestedNameSpecifierDecltype(CXXScopeSpec &SS, in ActOnCXXNestedNameSpecifierDecltype()
873 bool Sema::IsInvalidUnlessNestedName(Scope *S, CXXScopeSpec &SS, in IsInvalidUnlessNestedName()
[all …]
DSemaExprMember.cpp197 const CXXScopeSpec &SS, in diagnoseInstanceReference()
235 Sema::BuildPossibleImplicitMemberExpr(const CXXScopeSpec &SS, in BuildPossibleImplicitMemberExpr()
459 const CXXScopeSpec &SS, in ActOnDependentMemberExpr()
502 const CXXScopeSpec &SS, in DiagnoseQualifiedMemberReference()
528 const CXXScopeSpec &SS, in CheckQualifiedMemberReference()
618 CXXScopeSpec &SS, bool HasTemplateArgs, in LookupMemberExprInRecord()
712 SourceLocation OpLoc, CXXScopeSpec &SS,
718 CXXScopeSpec &SS, in BuildMemberReferenceExpr()
776 SourceLocation OpLoc, const CXXScopeSpec &SS,
781 Sema::BuildAnonymousStructUnionMemberReference(const CXXScopeSpec &SS, in BuildAnonymousStructUnionMemberReference()
[all …]
DDeclSpec.cpp47 void CXXScopeSpec::Extend(ASTContext &Context, SourceLocation TemplateKWLoc, in Extend()
58 void CXXScopeSpec::Extend(ASTContext &Context, IdentifierInfo *Identifier, in Extend()
71 void CXXScopeSpec::Extend(ASTContext &Context, NamespaceDecl *Namespace, in Extend()
84 void CXXScopeSpec::Extend(ASTContext &Context, NamespaceAliasDecl *Alias, in Extend()
97 void CXXScopeSpec::MakeGlobal(ASTContext &Context, in MakeGlobal()
107 void CXXScopeSpec::MakeSuper(ASTContext &Context, CXXRecordDecl *RD, in MakeSuper()
119 void CXXScopeSpec::MakeTrivial(ASTContext &Context, in MakeTrivial()
125 void CXXScopeSpec::Adopt(NestedNameSpecifierLoc Other) { in Adopt()
136 SourceLocation CXXScopeSpec::getLastQualifierNameLoc() const { in getLastQualifierNameLoc()
143 CXXScopeSpec::getWithLocInContext(ASTContext &Context) const { in getWithLocInContext()
DSemaTemplate.cpp139 CXXScopeSpec &SS, in isTemplateName()
228 const CXXScopeSpec *SS, in DiagnoseUnknownTemplateName()
251 Scope *S, CXXScopeSpec &SS, in LookupTemplateName()
411 Sema::ActOnDependentIdExpression(const CXXScopeSpec &SS, in ActOnDependentIdExpression()
450 Sema::BuildDependentDeclRefExpr(const CXXScopeSpec &SS, in BuildDependentDeclRefExpr()
842 static void SetNestedNameSpecifier(TagDecl *T, const CXXScopeSpec &SS) { in SetNestedNameSpecifier()
849 SourceLocation KWLoc, CXXScopeSpec &SS, in CheckClassTemplate()
1611 const CXXScopeSpec &SS) { in getRangeOfTypeInNestedNameSpecifier()
1659 SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS, in MatchTemplateParametersToScopeSpecifier()
2278 Sema::ActOnTemplateIdType(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, in ActOnTemplateIdType()
[all …]
/external/llvm-project/clang/lib/Sema/
DSemaCXXScopeSpec.cpp74 DeclContext *Sema::computeDeclContext(const CXXScopeSpec &SS, in computeDeclContext()
167 bool Sema::isDependentScopeSpecifier(const CXXScopeSpec &SS) { in isDependentScopeSpecifier()
199 bool Sema::RequireCompleteDeclContext(CXXScopeSpec &SS, in RequireCompleteDeclContext()
273 CXXScopeSpec &SS) { in ActOnCXXGlobalScopeSpecifier()
280 CXXScopeSpec &SS) { in ActOnSuperScopeSpecifier()
383 bool Sema::isNonTypeNestedNameSpecifier(Scope *S, CXXScopeSpec &SS, in isNonTypeNestedNameSpecifier()
484 bool EnteringContext, CXXScopeSpec &SS, in BuildCXXNestedNameSpecifier()
834 bool EnteringContext, CXXScopeSpec &SS, in ActOnCXXNestedNameSpecifier()
846 bool Sema::ActOnCXXNestedNameSpecifierDecltype(CXXScopeSpec &SS, in ActOnCXXNestedNameSpecifierDecltype()
878 bool Sema::IsInvalidUnlessNestedName(Scope *S, CXXScopeSpec &SS, in IsInvalidUnlessNestedName()
[all …]
DSemaExprMember.cpp197 const CXXScopeSpec &SS, in diagnoseInstanceReference()
235 const CXXScopeSpec &SS, SourceLocation TemplateKWLoc, LookupResult &R, in BuildPossibleImplicitMemberExpr()
480 const CXXScopeSpec &SS, in ActOnDependentMemberExpr()
523 const CXXScopeSpec &SS, in DiagnoseQualifiedMemberReference()
549 const CXXScopeSpec &SS, in CheckQualifiedMemberReference()
643 CXXScopeSpec &SS, bool HasTemplateArgs, in LookupMemberExprInRecord()
737 SourceLocation OpLoc, CXXScopeSpec &SS,
744 CXXScopeSpec &SS, in BuildMemberReferenceExpr()
801 Sema::BuildAnonymousStructUnionMemberReference(const CXXScopeSpec &SS, in BuildAnonymousStructUnionMemberReference()
811 CXXScopeSpec EmptySS; in BuildAnonymousStructUnionMemberReference()
[all …]
DDeclSpec.cpp53 void CXXScopeSpec::Extend(ASTContext &Context, SourceLocation TemplateKWLoc, in Extend()
64 void CXXScopeSpec::Extend(ASTContext &Context, IdentifierInfo *Identifier, in Extend()
77 void CXXScopeSpec::Extend(ASTContext &Context, NamespaceDecl *Namespace, in Extend()
90 void CXXScopeSpec::Extend(ASTContext &Context, NamespaceAliasDecl *Alias, in Extend()
103 void CXXScopeSpec::MakeGlobal(ASTContext &Context, in MakeGlobal()
113 void CXXScopeSpec::MakeSuper(ASTContext &Context, CXXRecordDecl *RD, in MakeSuper()
125 void CXXScopeSpec::MakeTrivial(ASTContext &Context, in MakeTrivial()
131 void CXXScopeSpec::Adopt(NestedNameSpecifierLoc Other) { in Adopt()
144 SourceLocation CXXScopeSpec::getLastQualifierNameLoc() const { in getLastQualifierNameLoc()
151 CXXScopeSpec::getWithLocInContext(ASTContext &Context) const { in getWithLocInContext()
DTreeTransform.h560 TransformTemplateName(CXXScopeSpec &SS, TemplateName Name,
662 CXXScopeSpec &SS);
1047 CXXScopeSpec SS; in RebuildDependentTemplateSpecializationType()
1088 CXXScopeSpec SS; in RebuildDependentNameType()
1211 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1222 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1236 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1749 SourceLocation EndLoc, CXXScopeSpec &ReductionIdScopeSpec, in RebuildOMPReductionClause()
1764 CXXScopeSpec &ReductionIdScopeSpec, in RebuildOMPTaskReductionClause()
1780 CXXScopeSpec &ReductionIdScopeSpec, in RebuildOMPInReductionClause()
[all …]
/external/llvm-project/clang/include/clang/Sema/
DSemaInternal.h94 Scope *S, CXXScopeSpec *SS, in TypoCorrectionConsumer()
100 SS(SS ? std::make_unique<CXXScopeSpec>(*SS) : nullptr), in TypoCorrectionConsumer()
205 const CXXScopeSpec *getSS() const { return SS.get(); } in getSS()
239 CXXScopeSpec *CurScopeSpec);
311 std::unique_ptr<CXXScopeSpec> SS;
DParsedTemplate.h62 ParsedTemplateArgument(const CXXScopeSpec &SS, in ParsedTemplateArgument()
98 const CXXScopeSpec &getScopeSpec() const { in getScopeSpec()
129 CXXScopeSpec SS;
DSema.h103 class CXXScopeSpec; variable
2172 const CXXScopeSpec &SS, QualType T,
2205 Scope *S, CXXScopeSpec *SS = nullptr,
2213 bool isMicrosoftMissingTypename(const CXXScopeSpec *SS, Scope *S);
2217 CXXScopeSpec *SS,
2406 NameClassification ClassifyName(Scope *S, CXXScopeSpec &SS,
2417 ExprResult ActOnNameClassifiedAsDependentNonType(const CXXScopeSpec &SS,
2423 ExprResult ActOnNameClassifiedAsNonType(Scope *S, const CXXScopeSpec &SS,
2472 bool diagnoseQualifiedDeclaration(CXXScopeSpec &SS, DeclContext *DC,
2864 SourceLocation KWLoc, CXXScopeSpec &SS, IdentifierInfo *Name,
[all …]
DDeclSpec.h64 class CXXScopeSpec {
373 CXXScopeSpec TypeScope;
503 CXXScopeSpec &getTypeSpecScope() { return TypeScope; } in getTypeSpecScope()
504 const CXXScopeSpec &getTypeSpecScope() const { return TypeScope; } in getTypeSpecScope()
1528 alignas(CXXScopeSpec) char ScopeMem[sizeof(CXXScopeSpec)];
1529 CXXScopeSpec &Scope() { in Scope()
1530 return *reinterpret_cast<CXXScopeSpec *>(ScopeMem); in Scope()
1532 const CXXScopeSpec &Scope() const { in Scope()
1533 return *reinterpret_cast<const CXXScopeSpec *>(ScopeMem); in Scope()
1536 Scope().~CXXScopeSpec(); in destroy()
[all …]
DCodeCompleteConsumer.h359 llvm::Optional<CXXScopeSpec> ScopeSpecifier;
408 void setCXXScopeSpecifier(CXXScopeSpec SS) { in setCXXScopeSpecifier()
422 llvm::Optional<const CXXScopeSpec *> getCXXScopeSpecifier() { in getCXXScopeSpecifier()
DExternalSemaSource.h213 int LookupKind, Scope *S, CXXScopeSpec *SS, in CorrectTypo()
/external/clang/include/clang/Parse/
DParser.h590 CXXScopeSpec &SS,
612 void AnnotateScopeToken(CXXScopeSpec &SS, bool IsNewAnnotation);
1499 ExprResult tryParseCXXIdExpression(CXXScopeSpec &SS, bool isAddressOfOperand,
1507 CXXScopeSpec &SS);
1509 bool ParseOptionalCXXScopeSpecifier(CXXScopeSpec &SS,
1546 CXXScopeSpec &SS,
1736 CXXScopeSpec SS;
1856 bool ParseImplicitInt(DeclSpec &DS, CXXScopeSpec *SS,
2298 CXXScopeSpec &SS;
2302 DeclaratorScopeObj(Parser &p, CXXScopeSpec &ss) in DeclaratorScopeObj()
[all …]
/external/llvm-project/clang/include/clang/Parse/
DParser.h839 bool TryAnnotateTypeOrScopeTokenAfterScopeSpec(CXXScopeSpec &SS,
869 void AnnotateScopeToken(CXXScopeSpec &SS, bool IsNewAnnotation);
1870 ExprResult tryParseCXXIdExpression(CXXScopeSpec &SS, bool isAddressOfOperand,
1878 CXXScopeSpec &SS);
1880 bool ParseOptionalCXXScopeSpecifier(CXXScopeSpec &SS,
1934 CXXScopeSpec &SS,
2131 CXXScopeSpec SS;
2343 bool ParseImplicitInt(DeclSpec &DS, CXXScopeSpec *SS,
2848 CXXScopeSpec &SS;
2852 DeclaratorScopeObj(Parser &p, CXXScopeSpec &ss) in DeclaratorScopeObj()
[all …]
/external/llvm-project/clang-tools-extra/clang-include-fixer/
DIncludeFixer.h107 int LookupKind, Scope *S, CXXScopeSpec *SS,
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp109 Scope *S, CXXScopeSpec *SS, in CorrectTypo()
151 Scope *S, CXXScopeSpec *SS, in CorrectTypo()
/external/llvm-project/clang/unittests/Sema/
DExternalSemaSourceTest.cpp108 Scope *S, CXXScopeSpec *SS, in CorrectTypo()
150 Scope *S, CXXScopeSpec *SS, in CorrectTypo()
/external/llvm-project/clang/lib/Parse/
DParseTemplate.cpp371 CXXScopeSpec SS; in ParseConceptDefinition()
695 CXXScopeSpec SS; in TryAnnotateTypeConstraint()
765 CXXScopeSpec TypeConstraintSS; in ParseTypeParameter()
1290 CXXScopeSpec &SS, in AnnotateTemplateIdToken()
1389 void Parser::AnnotateTemplateIdTokenAsType(CXXScopeSpec &SS, in AnnotateTemplateIdTokenAsType()
1445 CXXScopeSpec SS; // nested-name-specifier, if present in ParseTemplateTemplateArgument()

1234