Home
last modified time | relevance | path

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

12

/external/clang/include/clang/Sema/
DParsedTemplate.h56 ParsedTemplateArgument(const CXXScopeSpec &SS, in ParsedTemplateArgument()
92 const CXXScopeSpec &getScopeSpec() const { in getScopeSpec()
123 CXXScopeSpec SS;
143 CXXScopeSpec SS;
192 new (&TemplateId->SS) CXXScopeSpec(); in Allocate()
204 SS.~CXXScopeSpec(); in Destroy()
DSemaInternal.h111 Scope *S, CXXScopeSpec *SS, in TypoCorrectionConsumer()
117 SS(SS ? llvm::make_unique<CXXScopeSpec>(*SS) : nullptr), in TypoCorrectionConsumer()
217 const CXXScopeSpec *getSS() const { return SS.get(); } in getSS()
248 CXXScopeSpec *CurScopeSpec);
320 std::unique_ptr<CXXScopeSpec> SS;
DSema.h86 class CXXScopeSpec; variable
1451 const CXXScopeSpec &SS, QualType T);
1485 Scope *S, CXXScopeSpec *SS = nullptr,
1493 bool isMicrosoftMissingTypename(const CXXScopeSpec *SS, Scope *S);
1497 CXXScopeSpec *SS,
1626 ClassifyName(Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name,
1637 bool diagnoseQualifiedDeclaration(CXXScopeSpec &SS, DeclContext *DC,
1891 SourceLocation KWLoc, CXXScopeSpec &SS,
1903 CXXScopeSpec &SS,
1911 const CXXScopeSpec &SS,
[all …]
DDeclSpec.h63 class CXXScopeSpec {
370 CXXScopeSpec TypeScope;
489 CXXScopeSpec &getTypeSpecScope() { return TypeScope; } in getTypeSpecScope()
490 const CXXScopeSpec &getTypeSpecScope() const { return TypeScope; } in getTypeSpecScope()
1399 char Mem[sizeof(CXXScopeSpec)];
1401 CXXScopeSpec &Scope() { in Scope()
1402 return *reinterpret_cast<CXXScopeSpec*>(ScopeMem.Mem); in Scope()
1404 const CXXScopeSpec &Scope() const { in Scope()
1405 return *reinterpret_cast<const CXXScopeSpec*>(ScopeMem.Mem); in Scope()
1408 Scope().~CXXScopeSpec(); in destroy()
[all …]
DExternalSemaSource.h199 int LookupKind, Scope *S, CXXScopeSpec *SS, in CorrectTypo()
DMultiplexExternalSemaSource.h327 int LookupKind, Scope *S, CXXScopeSpec *SS,
DTypoCorrection.h200 void setCorrectionRange(CXXScopeSpec *SS, in setCorrectionRange()
/external/clang/lib/Sema/
DSemaCXXScopeSpec.cpp76 DeclContext *Sema::computeDeclContext(const CXXScopeSpec &SS, in computeDeclContext()
159 bool Sema::isDependentScopeSpecifier(const CXXScopeSpec &SS) { in isDependentScopeSpecifier()
191 bool Sema::RequireCompleteDeclContext(CXXScopeSpec &SS, in RequireCompleteDeclContext()
248 CXXScopeSpec &SS) { in ActOnCXXGlobalScopeSpecifier()
255 CXXScopeSpec &SS) { in ActOnSuperScopeSpecifier()
356 bool Sema::isNonTypeNestedNameSpecifier(Scope *S, CXXScopeSpec &SS, in isNonTypeNestedNameSpecifier()
463 CXXScopeSpec &SS, in BuildCXXNestedNameSpecifier()
801 CXXScopeSpec &SS, in ActOnCXXNestedNameSpecifier()
814 bool Sema::ActOnCXXNestedNameSpecifierDecltype(CXXScopeSpec &SS, in ActOnCXXNestedNameSpecifierDecltype()
843 bool Sema::IsInvalidUnlessNestedName(Scope *S, CXXScopeSpec &SS, in IsInvalidUnlessNestedName()
[all …]
DSemaExprMember.cpp196 const CXXScopeSpec &SS, in diagnoseInstanceReference()
234 Sema::BuildPossibleImplicitMemberExpr(const CXXScopeSpec &SS, in BuildPossibleImplicitMemberExpr()
445 const CXXScopeSpec &SS, in ActOnDependentMemberExpr()
488 const CXXScopeSpec &SS, in DiagnoseQualifiedMemberReference()
514 const CXXScopeSpec &SS, in CheckQualifiedMemberReference()
604 CXXScopeSpec &SS, bool HasTemplateArgs, in LookupMemberExprInRecord()
698 SourceLocation OpLoc, CXXScopeSpec &SS,
704 CXXScopeSpec &SS, in BuildMemberReferenceExpr()
762 SourceLocation OpLoc, const CXXScopeSpec &SS,
767 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.cpp137 CXXScopeSpec &SS, in isTemplateName()
226 const CXXScopeSpec *SS, in DiagnoseUnknownTemplateName()
249 Scope *S, CXXScopeSpec &SS, in LookupTemplateName()
409 Sema::ActOnDependentIdExpression(const CXXScopeSpec &SS, in ActOnDependentIdExpression()
435 Sema::BuildDependentDeclRefExpr(const CXXScopeSpec &SS, in BuildDependentDeclRefExpr()
827 static void SetNestedNameSpecifier(TagDecl *T, const CXXScopeSpec &SS) { in SetNestedNameSpecifier()
834 SourceLocation KWLoc, CXXScopeSpec &SS, in CheckClassTemplate()
1594 const CXXScopeSpec &SS) { in getRangeOfTypeInNestedNameSpecifier()
1642 SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS, in MatchTemplateParametersToScopeSpecifier()
2240 Sema::ActOnTemplateIdType(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, in ActOnTemplateIdType()
[all …]
DTreeTransform.h493 TransformTemplateName(CXXScopeSpec &SS, TemplateName Name,
594 CXXScopeSpec &SS);
903 CXXScopeSpec SS; in RebuildDependentTemplateSpecializationType()
943 CXXScopeSpec SS; in RebuildDependentNameType()
1055 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1066 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1079 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1559 CXXScopeSpec &ReductionIdScopeSpec, in RebuildOMPReductionClause()
1899 ExprResult RebuildDeclarationNameExpr(const CXXScopeSpec &SS, in RebuildDeclarationNameExpr()
1914 CXXScopeSpec SS; in RebuildDeclRefExpr()
[all …]
DSemaStmtAsm.cpp561 ExprResult Sema::LookupInlineAsmIdentifier(CXXScopeSpec &SS, in LookupInlineAsmIdentifier()
705 E, E->getType(), AsmLoc, /*IsArrow=*/false, CXXScopeSpec(), in LookupInlineAsmVarDeclField()
DSemaLookup.cpp2106 CXXScopeSpec &SS) { in LookupQualifiedName()
2134 bool Sema::LookupParsedName(LookupResult &R, Scope *S, CXXScopeSpec *SS, in LookupParsedName()
3677 Scope *S, CXXScopeSpec *SS,
3931 CXXScopeSpec *TempSS = SS.get(); in resolveCorrection()
4057 ASTContext &Context, DeclContext *CurContext, CXXScopeSpec *CurScopeSpec) in NamespaceSpecifierSet()
4184 Scope *S, CXXScopeSpec *SS, in LookupPotentialTypoResult()
4386 Scope *S, CXXScopeSpec *SS, in makeTypoCorrectionConsumer()
4557 Scope *S, CXXScopeSpec *SS, in CorrectTypo()
4693 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.cpp290 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()
5816 const CXXScopeSpec &SS, in BuildPseudoDestructorExpr()
5914 CXXScopeSpec &SS, in ActOnPseudoDestructorExpr()
6066 return BuildPseudoDestructorExpr(Base, OpLoc, OpKind, CXXScopeSpec(), in ActOnPseudoDestructorExpr()
6403 const CXXScopeSpec *SS = Consumer.getSS(); in attemptRecovery()
6404 CXXScopeSpec NewSS; in attemptRecovery()
6804 CXXScopeSpec &SS, in CheckMicrosoftIfExistsSymbol()
[all …]
DSemaDeclCXX.cpp1273 const CXXScopeSpec *SS) { in isCurrentClassName()
1291 bool Sema::isCurrentClassNameTypo(IdentifierInfo *&II, const CXXScopeSpec *SS) { in isCurrentClassNameTypo()
2133 CXXScopeSpec &SS = D.getCXXScopeSpec(); in ActOnCXXMemberDeclarator()
2788 CXXScopeSpec &SS, in ActOnMemInitializer()
2804 CXXScopeSpec &SS, in ActOnMemInitializer()
2847 CXXScopeSpec &SS, in BuildMemInitializer()
3484 CXXScopeSpec SS; in BuildImplicitMemberInitializer()
7511 CXXScopeSpec &SS, in TryNamespaceTypoCorrection()
7541 CXXScopeSpec &SS, in ActOnUsingDirective()
7642 CXXScopeSpec &SS, in ActOnUsingDeclaration()
[all …]
/external/clang/include/clang/Parse/
DParser.h580 CXXScopeSpec &SS,
602 void AnnotateScopeToken(CXXScopeSpec &SS, bool IsNewAnnotation);
1477 ExprResult tryParseCXXIdExpression(CXXScopeSpec &SS, bool isAddressOfOperand,
1485 CXXScopeSpec &SS);
1487 bool ParseOptionalCXXScopeSpecifier(CXXScopeSpec &SS,
1524 CXXScopeSpec &SS,
1703 CXXScopeSpec SS;
1823 bool ParseImplicitInt(DeclSpec &DS, CXXScopeSpec *SS,
2248 CXXScopeSpec &SS;
2252 DeclaratorScopeObj(Parser &p, CXXScopeSpec &ss) in DeclaratorScopeObj()
[all …]
/external/clang/lib/Parse/
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()
1459 CXXScopeSpec &SS, in ParseCXXPseudoDestructor()
1946 bool Parser::ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS, in ParseUnqualifiedIdTemplateId()
2153 bool Parser::ParseUnqualifiedIdOperator(CXXScopeSpec &SS, bool EnteringContext, in ParseUnqualifiedIdOperator()
2382 bool Parser::ParseUnqualifiedId(CXXScopeSpec &SS, bool EnteringContext, in ParseUnqualifiedId()
DParser.cpp1363 void Parser::AnnotateScopeToken(CXXScopeSpec &SS, bool IsNewAnnotation) { in AnnotateScopeToken()
1398 CXXScopeSpec SS; in TryAnnotateName()
1587 CXXScopeSpec SS; in TryAnnotateTypeOrScopeToken()
1656 CXXScopeSpec SS; in TryAnnotateTypeOrScopeToken()
1670 CXXScopeSpec &SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1792 CXXScopeSpec SS; in TryAnnotateCXXScopeToken()
DParseOpenMP.cpp358 CXXScopeSpec SS; in ParseOpenMPSimpleVarList()
740 static bool ParseReductionId(Parser &P, CXXScopeSpec &ReductionIdScopeSpec, in ParseReductionId()
823 CXXScopeSpec ReductionIdScopeSpec; in ParseOpenMPVarListClause()
DParseTemplate.cpp881 const CXXScopeSpec &SS, in ParseTemplateIdAfterTemplateName()
950 CXXScopeSpec &SS, in AnnotateTemplateIdToken()
1098 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()
1347 CXXScopeSpec &SS = DS.getTypeSpecScope(); in ParseClassSpecifier()
1353 CXXScopeSpec Spec; in ParseClassSpecifier()
2284 CXXScopeSpec SS; in ParseCXXClassMemberDeclaration()
3237 CXXScopeSpec SS; in ParseMemInitializer()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp105 Scope *S, CXXScopeSpec *SS, in CorrectTypo()

12