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.h99 Scope *S, CXXScopeSpec *SS, in TypoCorrectionConsumer()
105 SS(SS ? llvm::make_unique<CXXScopeSpec>(*SS) : nullptr), in TypoCorrectionConsumer()
205 const CXXScopeSpec *getSS() const { return SS.get(); } in getSS()
236 CXXScopeSpec *CurScopeSpec);
308 std::unique_ptr<CXXScopeSpec> SS;
DSema.h85 class CXXScopeSpec; variable
1323 const CXXScopeSpec &SS, QualType T);
1351 Scope *S, CXXScopeSpec *SS = nullptr,
1359 bool isMicrosoftMissingTypename(const CXXScopeSpec *SS, Scope *S);
1363 CXXScopeSpec *SS,
1492 ClassifyName(Scope *S, CXXScopeSpec &SS, IdentifierInfo *&Name,
1503 bool diagnoseQualifiedDeclaration(CXXScopeSpec &SS, DeclContext *DC,
1728 SourceLocation KWLoc, CXXScopeSpec &SS,
1740 CXXScopeSpec &SS,
1748 const CXXScopeSpec &SS,
[all …]
DDeclSpec.h67 class CXXScopeSpec {
370 CXXScopeSpec TypeScope;
500 CXXScopeSpec &getTypeSpecScope() { return TypeScope; } in getTypeSpecScope()
501 const CXXScopeSpec &getTypeSpecScope() const { return TypeScope; } in getTypeSpecScope()
1369 char Mem[sizeof(CXXScopeSpec)];
1371 CXXScopeSpec &Scope() { in Scope()
1372 return *reinterpret_cast<CXXScopeSpec*>(ScopeMem.Mem); in Scope()
1374 const CXXScopeSpec &Scope() const { in Scope()
1375 return *reinterpret_cast<const CXXScopeSpec*>(ScopeMem.Mem); in Scope()
1378 Scope().~CXXScopeSpec(); in destroy()
[all …]
DExternalSemaSource.h195 int LookupKind, Scope *S, CXXScopeSpec *SS, in CorrectTypo()
DMultiplexExternalSemaSource.h340 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()
798 CXXScopeSpec &SS, in ActOnCXXNestedNameSpecifier()
811 bool Sema::ActOnCXXNestedNameSpecifierDecltype(CXXScopeSpec &SS, in ActOnCXXNestedNameSpecifierDecltype()
840 bool Sema::IsInvalidUnlessNestedName(Scope *S, CXXScopeSpec &SS, in IsInvalidUnlessNestedName()
[all …]
DSemaExprMember.cpp199 const CXXScopeSpec &SS, in diagnoseInstanceReference()
237 Sema::BuildPossibleImplicitMemberExpr(const CXXScopeSpec &SS, in BuildPossibleImplicitMemberExpr()
446 const CXXScopeSpec &SS, in ActOnDependentMemberExpr()
489 const CXXScopeSpec &SS, in DiagnoseQualifiedMemberReference()
515 const CXXScopeSpec &SS, in CheckQualifiedMemberReference()
605 CXXScopeSpec &SS, bool HasTemplateArgs, in LookupMemberExprInRecord()
688 SourceLocation OpLoc, CXXScopeSpec &SS,
694 CXXScopeSpec &SS, in BuildMemberReferenceExpr()
751 SourceLocation OpLoc, const CXXScopeSpec &SS,
756 Sema::BuildAnonymousStructUnionMemberReference(const CXXScopeSpec &SS, in BuildAnonymousStructUnionMemberReference()
[all …]
DDeclSpec.cpp57 void CXXScopeSpec::Extend(ASTContext &Context, SourceLocation TemplateKWLoc, in Extend()
68 void CXXScopeSpec::Extend(ASTContext &Context, IdentifierInfo *Identifier, in Extend()
81 void CXXScopeSpec::Extend(ASTContext &Context, NamespaceDecl *Namespace, in Extend()
94 void CXXScopeSpec::Extend(ASTContext &Context, NamespaceAliasDecl *Alias, in Extend()
107 void CXXScopeSpec::MakeGlobal(ASTContext &Context, in MakeGlobal()
117 void CXXScopeSpec::MakeSuper(ASTContext &Context, CXXRecordDecl *RD, in MakeSuper()
129 void CXXScopeSpec::MakeTrivial(ASTContext &Context, in MakeTrivial()
135 void CXXScopeSpec::Adopt(NestedNameSpecifierLoc Other) { in Adopt()
146 SourceLocation CXXScopeSpec::getLastQualifierNameLoc() const { in getLastQualifierNameLoc()
153 CXXScopeSpec::getWithLocInContext(ASTContext &Context) const { in getWithLocInContext()
DSemaTemplate.cpp137 CXXScopeSpec &SS, in isTemplateName()
225 const CXXScopeSpec *SS, in DiagnoseUnknownTemplateName()
248 Scope *S, CXXScopeSpec &SS, in LookupTemplateName()
408 Sema::ActOnDependentIdExpression(const CXXScopeSpec &SS, in ActOnDependentIdExpression()
434 Sema::BuildDependentDeclRefExpr(const CXXScopeSpec &SS, in BuildDependentDeclRefExpr()
826 static void SetNestedNameSpecifier(TagDecl *T, const CXXScopeSpec &SS) { in SetNestedNameSpecifier()
833 SourceLocation KWLoc, CXXScopeSpec &SS, in CheckClassTemplate()
1582 const CXXScopeSpec &SS) { in getRangeOfTypeInNestedNameSpecifier()
1630 SourceLocation DeclStartLoc, SourceLocation DeclLoc, const CXXScopeSpec &SS, in MatchTemplateParametersToScopeSpecifier()
2173 Sema::ActOnTemplateIdType(CXXScopeSpec &SS, SourceLocation TemplateKWLoc, in ActOnTemplateIdType()
[all …]
DTreeTransform.h492 TransformTemplateName(CXXScopeSpec &SS, TemplateName Name,
589 CXXScopeSpec &SS);
882 CXXScopeSpec SS; in RebuildDependentTemplateSpecializationType()
922 CXXScopeSpec SS; in RebuildDependentNameType()
1034 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1045 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1058 TemplateName RebuildTemplateName(CXXScopeSpec &SS,
1490 CXXScopeSpec &ReductionIdScopeSpec, in RebuildOMPReductionClause()
1721 ExprResult RebuildDeclarationNameExpr(const CXXScopeSpec &SS, in RebuildDeclarationNameExpr()
1736 CXXScopeSpec SS; in RebuildDeclRefExpr()
[all …]
DSemaLookup.cpp1801 CXXScopeSpec &SS) { in LookupQualifiedName()
1829 bool Sema::LookupParsedName(LookupResult &R, Scope *S, CXXScopeSpec *SS, in LookupParsedName()
3356 Scope *S, CXXScopeSpec *SS,
3605 CXXScopeSpec *TempSS = SS.get(); in resolveCorrection()
3730 ASTContext &Context, DeclContext *CurContext, CXXScopeSpec *CurScopeSpec) in NamespaceSpecifierSet()
3857 Scope *S, CXXScopeSpec *SS, in LookupPotentialTypoResult()
4059 Scope *S, CXXScopeSpec *SS, in makeTypoCorrectionConsumer()
4230 Scope *S, CXXScopeSpec *SS, in CorrectTypo()
4366 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.cpp286 int LookupKind, Scope *S, CXXScopeSpec *SS, in CorrectTypo()
DSemaExprCXX.cpp49 ParsedType Sema::getInheritingConstructorName(CXXScopeSpec &SS, in getInheritingConstructorName()
86 Scope *S, CXXScopeSpec &SS, in getDestructorName()
156 CXXScopeSpec PrefixSS; in getDestructorName()
343 bool Sema::checkLiteralOperatorId(const CXXScopeSpec &SS, in checkLiteralOperatorId()
5485 const CXXScopeSpec &SS, in BuildPseudoDestructorExpr()
5583 CXXScopeSpec &SS, in ActOnPseudoDestructorExpr()
5735 return BuildPseudoDestructorExpr(Base, OpLoc, OpKind, CXXScopeSpec(), in ActOnPseudoDestructorExpr()
6062 const CXXScopeSpec *SS = Consumer.getSS(); in attemptRecovery()
6063 CXXScopeSpec NewSS; in attemptRecovery()
6450 CXXScopeSpec &SS, in CheckMicrosoftIfExistsSymbol()
[all …]
DSemaDeclCXX.cpp1250 const CXXScopeSpec *SS) { in isCurrentClassName()
1268 bool Sema::isCurrentClassNameTypo(IdentifierInfo *&II, const CXXScopeSpec *SS) { in isCurrentClassNameTypo()
2153 CXXScopeSpec &SS = D.getCXXScopeSpec(); in ActOnCXXMemberDeclarator()
2810 CXXScopeSpec &SS, in ActOnMemInitializer()
2826 CXXScopeSpec &SS, in ActOnMemInitializer()
2869 CXXScopeSpec &SS, in BuildMemInitializer()
3501 CXXScopeSpec SS; in BuildImplicitMemberInitializer()
7487 CXXScopeSpec &SS, in TryNamespaceTypoCorrection()
7517 CXXScopeSpec &SS, in ActOnUsingDirective()
7618 CXXScopeSpec &SS, in ActOnUsingDeclaration()
[all …]
/external/clang/include/clang/Parse/
DParser.h570 CXXScopeSpec &SS,
592 void AnnotateScopeToken(CXXScopeSpec &SS, bool IsNewAnnotation);
1404 ExprResult tryParseCXXIdExpression(CXXScopeSpec &SS, bool isAddressOfOperand,
1412 CXXScopeSpec &SS);
1414 bool ParseOptionalCXXScopeSpecifier(CXXScopeSpec &SS,
1451 CXXScopeSpec &SS,
1628 CXXScopeSpec SS;
1744 bool ParseImplicitInt(DeclSpec &DS, CXXScopeSpec *SS,
2158 CXXScopeSpec &SS;
2162 DeclaratorScopeObj(Parser &p, CXXScopeSpec &ss) in DeclaratorScopeObj()
[all …]
/external/clang/lib/Parse/
DParseOpenMP.cpp300 CXXScopeSpec SS; in ParseOpenMPSimpleVarList()
605 static bool ParseReductionId(Parser &P, CXXScopeSpec &ReductionIdScopeSpec, in ParseReductionId()
678 CXXScopeSpec ReductionIdScopeSpec; in ParseOpenMPVarListClause()
DParser.cpp1298 void Parser::AnnotateScopeToken(CXXScopeSpec &SS, bool IsNewAnnotation) { in AnnotateScopeToken()
1333 CXXScopeSpec SS; in TryAnnotateName()
1501 CXXScopeSpec SS; in TryAnnotateTypeOrScopeToken()
1570 CXXScopeSpec SS; in TryAnnotateTypeOrScopeToken()
1584 CXXScopeSpec &SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1686 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()
1459 CXXScopeSpec &SS, in ParseCXXPseudoDestructor()
1938 bool Parser::ParseUnqualifiedIdTemplateId(CXXScopeSpec &SS, in ParseUnqualifiedIdTemplateId()
2145 bool Parser::ParseUnqualifiedIdOperator(CXXScopeSpec &SS, bool EnteringContext, in ParseUnqualifiedIdOperator()
2374 bool Parser::ParseUnqualifiedId(CXXScopeSpec &SS, bool EnteringContext, in ParseUnqualifiedId()
DParseTemplate.cpp861 const CXXScopeSpec &SS, in ParseTemplateIdAfterTemplateName()
929 CXXScopeSpec &SS, in AnnotateTemplateIdToken()
1078 CXXScopeSpec SS; // nested-name-specifier, if present in ParseTemplateTemplateArgument()
DParseDeclCXX.cpp262 CXXScopeSpec SS; in ParseNamespaceAlias()
437 CXXScopeSpec SS; in ParseUsingDirective()
492 CXXScopeSpec SS; in ParseUsingDeclaration()
938 CXXScopeSpec SS; in ParseBaseTypeSpecifier()
1313 CXXScopeSpec &SS = DS.getTypeSpecScope(); in ParseClassSpecifier()
1319 CXXScopeSpec Spec; in ParseClassSpecifier()
2238 CXXScopeSpec SS; in ParseCXXClassMemberDeclaration()
3161 CXXScopeSpec SS; in ParseMemInitializer()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp105 Scope *S, CXXScopeSpec *SS, in CorrectTypo()
/external/clang/patches/
D0003-Add-support-for-RenderScript-specific-options.patch113 @@ -267,6 +267,20 @@ Sema::BuildPossibleImplicitMemberExpr(const CXXScopeSpec &SS,

12