Lines Matching refs:SS

1653 void Parser::AnnotateScopeToken(CXXScopeSpec &SS, bool IsNewAnnotation) {  in AnnotateScopeToken()  argument
1661 Tok.setAnnotationValue(Actions.SaveNestedNameSpecifierAnnotation(SS)); in AnnotateScopeToken()
1662 Tok.setAnnotationRange(SS.getRange()); in AnnotateScopeToken()
1685 CXXScopeSpec SS; in TryAnnotateName() local
1687 ParseOptionalCXXScopeSpecifier(SS, /*ObjectType=*/nullptr, in TryAnnotateName()
1692 if (Tok.isNot(tok::identifier) || SS.isInvalid()) { in TryAnnotateName()
1693 if (TryAnnotateTypeOrScopeTokenAfterScopeSpec(SS, !WasScopeAnnotation)) in TryAnnotateName()
1706 if (TryAnnotateTypeOrScopeTokenAfterScopeSpec(SS, !WasScopeAnnotation)) in TryAnnotateName()
1718 getCurScope(), SS, Name, NameLoc, Next, SS.isEmpty() ? CCC : nullptr); in TryAnnotateName()
1730 Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, FakeNext, in TryAnnotateName()
1731 SS.isEmpty() ? CCC : nullptr); in TryAnnotateName()
1743 if (SS.isNotEmpty()) in TryAnnotateName()
1744 AnnotateScopeToken(SS, !WasScopeAnnotation); in TryAnnotateName()
1759 if (SS.isNotEmpty()) in TryAnnotateName()
1760 BeginLoc = SS.getBeginLoc(); in TryAnnotateName()
1793 if (SS.isNotEmpty()) in TryAnnotateName()
1794 Tok.setLocation(SS.getBeginLoc()); in TryAnnotateName()
1809 if (SS.isNotEmpty()) in TryAnnotateName()
1810 AnnotateScopeToken(SS, !WasScopeAnnotation); in TryAnnotateName()
1822 if (SS.isNotEmpty()) in TryAnnotateName()
1823 AnnotateScopeToken(SS, !WasScopeAnnotation); in TryAnnotateName()
1829 if (SS.isNotEmpty()) in TryAnnotateName()
1830 AnnotateScopeToken(SS, !WasScopeAnnotation); in TryAnnotateName()
1843 Classification.getTemplateNameKind(), SS, SourceLocation(), Id)) in TryAnnotateName()
1856 Classification.getTemplateNameKind(), SS, SourceLocation(), Id, in TryAnnotateName()
1864 if (SS.isNotEmpty()) in TryAnnotateName()
1865 AnnotateScopeToken(SS, !WasScopeAnnotation); in TryAnnotateName()
1934 CXXScopeSpec SS; in TryAnnotateTypeOrScopeToken() local
1935 if (ParseOptionalCXXScopeSpecifier(SS, /*ObjectType=*/nullptr, in TryAnnotateTypeOrScopeToken()
1940 if (SS.isEmpty()) { in TryAnnotateTypeOrScopeToken()
1965 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
1982 getCurScope(), TypenameLoc, SS, TemplateId->TemplateKWLoc, in TryAnnotateTypeOrScopeToken()
1988 << SS.getRange(); in TryAnnotateTypeOrScopeToken()
2004 CXXScopeSpec SS; in TryAnnotateTypeOrScopeToken() local
2006 if (ParseOptionalCXXScopeSpecifier(SS, /*ObjectType=*/nullptr, in TryAnnotateTypeOrScopeToken()
2011 return TryAnnotateTypeOrScopeTokenAfterScopeSpec(SS, !WasScopeAnnotation); in TryAnnotateTypeOrScopeToken()
2017 bool Parser::TryAnnotateTypeOrScopeTokenAfterScopeSpec(CXXScopeSpec &SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec() argument
2022 *Tok.getIdentifierInfo(), Tok.getLocation(), getCurScope(), &SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2028 if (SS.isNotEmpty()) // it was a C++ qualified type name. in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2029 BeginLoc = SS.getBeginLoc(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2078 getCurScope(), SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2088 if (AnnotateTemplateIdToken(Template, TNK, SS, SourceLocation(), in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2112 AnnotateTemplateIdTokenAsType(SS); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2117 if (SS.isEmpty()) in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2121 AnnotateScopeToken(SS, IsNewScope); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2136 CXXScopeSpec SS; in TryAnnotateCXXScopeToken() local
2137 if (ParseOptionalCXXScopeSpecifier(SS, /*ObjectType=*/nullptr, in TryAnnotateCXXScopeToken()
2141 if (SS.isEmpty()) in TryAnnotateCXXScopeToken()
2144 AnnotateScopeToken(SS, true); in TryAnnotateCXXScopeToken()
2248 ParseOptionalCXXScopeSpecifier(Result.SS, /*ObjectType=*/nullptr, in ParseMicrosoftIfExistsCondition()
2253 if (Result.SS.isInvalid()) { in ParseMicrosoftIfExistsCondition()
2260 if (ParseUnqualifiedId(Result.SS, /*ObjectType=*/nullptr, in ParseMicrosoftIfExistsCondition()
2275 Result.IsIfExists, Result.SS, in ParseMicrosoftIfExistsCondition()