Home
last modified time | relevance | path

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

12

/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 …]
DDeclSpec.h63 class CXXScopeSpec {
376 CXXScopeSpec TypeScope;
499 CXXScopeSpec &getTypeSpecScope() { return TypeScope; } in getTypeSpecScope()
500 const CXXScopeSpec &getTypeSpecScope() const { return TypeScope; } in getTypeSpecScope()
1422 char Mem[sizeof(CXXScopeSpec)];
1424 CXXScopeSpec &Scope() { in Scope()
1425 return *reinterpret_cast<CXXScopeSpec*>(ScopeMem.Mem); in Scope()
1427 const CXXScopeSpec &Scope() const { in Scope()
1428 return *reinterpret_cast<const CXXScopeSpec*>(ScopeMem.Mem); in Scope()
1431 Scope().~CXXScopeSpec(); in destroy()
[all …]
DExternalSemaSource.h203 int LookupKind, Scope *S, CXXScopeSpec *SS, in CorrectTypo()
DMultiplexExternalSemaSource.h331 int LookupKind, Scope *S, CXXScopeSpec *SS,
DTypoCorrection.h206 void setCorrectionRange(CXXScopeSpec *SS, in setCorrectionRange()
/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 …]
DTreeTransform.h501 TransformTemplateName(CXXScopeSpec &SS, TemplateName Name,
602 CXXScopeSpec &SS);
912 CXXScopeSpec SS; in RebuildDependentTemplateSpecializationType()
952 CXXScopeSpec SS; in RebuildDependentNameType()
1067 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1078 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1091 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1570 CXXScopeSpec &ReductionIdScopeSpec, in RebuildOMPReductionClause()
1972 ExprResult RebuildDeclarationNameExpr(const CXXScopeSpec &SS, in RebuildDeclarationNameExpr()
1987 CXXScopeSpec SS; in RebuildDeclRefExpr()
[all …]
DSemaStmtAsm.cpp561 ExprResult Sema::LookupInlineAsmIdentifier(CXXScopeSpec &SS, in LookupInlineAsmIdentifier()
709 E, E->getType(), AsmLoc, /*IsArrow=*/false, CXXScopeSpec(), in LookupInlineAsmVarDeclField()
DSemaLookup.cpp2196 CXXScopeSpec &SS) { in LookupQualifiedName()
2224 bool Sema::LookupParsedName(LookupResult &R, Scope *S, CXXScopeSpec *SS, in LookupParsedName()
3763 Scope *S, CXXScopeSpec *SS,
4017 CXXScopeSpec *TempSS = SS.get(); in resolveCorrection()
4143 ASTContext &Context, DeclContext *CurContext, CXXScopeSpec *CurScopeSpec) in NamespaceSpecifierSet()
4265 Scope *S, CXXScopeSpec *SS, in LookupPotentialTypoResult()
4468 Scope *S, CXXScopeSpec *SS, in makeTypoCorrectionConsumer()
4639 Scope *S, CXXScopeSpec *SS, in CorrectTypo()
4775 Scope *S, CXXScopeSpec *SS, in CorrectTypoDelayed()
DSemaTemplateVariadic.cpp294 bool Sema::DiagnoseUnexpandedParameterPack(const CXXScopeSpec &SS, in DiagnoseUnexpandedParameterPack()
395 void Sema::collectUnexpandedParameterPacks(CXXScopeSpec &SS, in collectUnexpandedParameterPacks()
DMultiplexExternalSemaSource.cpp295 int LookupKind, Scope *S, CXXScopeSpec *SS, in CorrectTypo()
DSemaExprCXX.cpp48 ParsedType Sema::getInheritingConstructorName(CXXScopeSpec &SS, in getInheritingConstructorName()
85 Scope *S, CXXScopeSpec &SS, in getDestructorName()
155 CXXScopeSpec PrefixSS; in getDestructorName()
342 bool Sema::checkLiteralOperatorId(const CXXScopeSpec &SS, in checkLiteralOperatorId()
6092 const CXXScopeSpec &SS, in BuildPseudoDestructorExpr()
6190 CXXScopeSpec &SS, in ActOnPseudoDestructorExpr()
6342 return BuildPseudoDestructorExpr(Base, OpLoc, OpKind, CXXScopeSpec(), in ActOnPseudoDestructorExpr()
6682 const CXXScopeSpec *SS = Consumer.getSS(); in attemptRecovery()
6683 CXXScopeSpec NewSS; in attemptRecovery()
7091 CXXScopeSpec &SS, in CheckMicrosoftIfExistsSymbol()
[all …]
DSemaDeclCXX.cpp1273 const CXXScopeSpec *SS) { in isCurrentClassName()
1291 bool Sema::isCurrentClassNameTypo(IdentifierInfo *&II, const CXXScopeSpec *SS) { in isCurrentClassNameTypo()
2136 CXXScopeSpec &SS = D.getCXXScopeSpec(); in ActOnCXXMemberDeclarator()
2791 CXXScopeSpec &SS, in ActOnMemInitializer()
2807 CXXScopeSpec &SS, in ActOnMemInitializer()
2850 CXXScopeSpec &SS, in BuildMemInitializer()
3460 CXXScopeSpec SS; in BuildImplicitMemberInitializer()
7676 CXXScopeSpec &SS, in TryNamespaceTypoCorrection()
7706 CXXScopeSpec &SS, in ActOnUsingDirective()
7806 CXXScopeSpec &SS, in ActOnUsingDeclaration()
[all …]
/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/clang/unittests/Sema/
DExternalSemaSourceTest.cpp109 Scope *S, CXXScopeSpec *SS, in CorrectTypo()
151 Scope *S, CXXScopeSpec *SS, in CorrectTypo()
/external/clang/lib/Parse/
DParser.cpp1389 void Parser::AnnotateScopeToken(CXXScopeSpec &SS, bool IsNewAnnotation) { in AnnotateScopeToken()
1424 CXXScopeSpec SS; in TryAnnotateName()
1613 CXXScopeSpec SS; in TryAnnotateTypeOrScopeToken()
1682 CXXScopeSpec SS; in TryAnnotateTypeOrScopeToken()
1696 CXXScopeSpec &SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1814 CXXScopeSpec SS; in TryAnnotateCXXScopeToken()
DParseExprCXX.cpp82 IdentifierInfo &II, CXXScopeSpec &SS) { in CheckForTemplateAndDigraph()
187 bool Parser::ParseOptionalCXXScopeSpecifier(CXXScopeSpec &SS, in ParseOptionalCXXScopeSpecifier()
592 ExprResult Parser::tryParseCXXIdExpression(CXXScopeSpec &SS, bool isAddressOfOperand, in tryParseCXXIdExpression()
661 CXXScopeSpec SS; in ParseCXXIdExpression()
1527 CXXScopeSpec &SS, in ParseCXXPseudoDestructor()
2025 bool Parser::ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS, in ParseUnqualifiedIdTemplateId()
2232 bool Parser::ParseUnqualifiedIdOperator(CXXScopeSpec &SS, bool EnteringContext, in ParseUnqualifiedIdOperator()
2461 bool Parser::ParseUnqualifiedId(CXXScopeSpec &SS, bool EnteringContext, in ParseUnqualifiedId()
DParseOpenMP.cpp52 void operator()(CXXScopeSpec &SS, DeclarationNameInfo NameInfo) { in operator ()()
647 CXXScopeSpec &SS, DeclarationNameInfo NameInfo) { in ParseOpenMPDeclarativeDirectiveWithExtDecl()
993 const llvm::function_ref<void(CXXScopeSpec &, DeclarationNameInfo)> & in ParseOpenMPSimpleVarList() argument
1006 CXXScopeSpec SS; in ParseOpenMPSimpleVarList()
1476 static bool ParseReductionId(Parser &P, CXXScopeSpec &ReductionIdScopeSpec, in ParseReductionId()
DParseTemplate.cpp901 const CXXScopeSpec &SS, in ParseTemplateIdAfterTemplateName()
970 CXXScopeSpec &SS, in AnnotateTemplateIdToken()
1118 CXXScopeSpec SS; // nested-name-specifier, if present in ParseTemplateTemplateArgument()
DParseDeclCXX.cpp268 CXXScopeSpec SS; in ParseNamespaceAlias()
443 CXXScopeSpec SS; in ParseUsingDirective()
498 CXXScopeSpec SS; in ParseUsingDeclaration()
946 CXXScopeSpec SS; in ParseBaseTypeSpecifier()
1363 CXXScopeSpec &SS = DS.getTypeSpecScope(); in ParseClassSpecifier()
1369 CXXScopeSpec Spec; in ParseClassSpecifier()
2299 CXXScopeSpec SS; in ParseCXXClassMemberDeclaration()
3260 CXXScopeSpec SS; in ParseMemInitializer()

12