Lines Matching refs:SS
1751 void Parser::AnnotateScopeToken(CXXScopeSpec &SS, bool IsNewAnnotation) { in AnnotateScopeToken() argument
1759 Tok.setAnnotationValue(Actions.SaveNestedNameSpecifierAnnotation(SS)); in AnnotateScopeToken()
1760 Tok.setAnnotationRange(SS.getRange()); in AnnotateScopeToken()
1787 CXXScopeSpec SS; in TryAnnotateName() local
1789 ParseOptionalCXXScopeSpecifier(SS, /*ObjectType=*/nullptr, in TryAnnotateName()
1794 if (Tok.isNot(tok::identifier) || SS.isInvalid()) { in TryAnnotateName()
1795 if (TryAnnotateTypeOrScopeTokenAfterScopeSpec(SS, !WasScopeAnnotation, in TryAnnotateName()
1806 if (isTentativelyDeclared(Name) && SS.isEmpty()) { in TryAnnotateName()
1809 if (TryAnnotateTypeOrScopeTokenAfterScopeSpec(SS, !WasScopeAnnotation, in TryAnnotateName()
1822 getCurScope(), SS, Name, NameLoc, Next, SS.isEmpty() ? CCC : nullptr); in TryAnnotateName()
1834 Actions.ClassifyName(getCurScope(), SS, Name, NameLoc, FakeNext, in TryAnnotateName()
1835 SS.isEmpty() ? CCC : nullptr); in TryAnnotateName()
1847 if (SS.isNotEmpty()) in TryAnnotateName()
1848 AnnotateScopeToken(SS, !WasScopeAnnotation); in TryAnnotateName()
1863 if (SS.isNotEmpty()) in TryAnnotateName()
1864 BeginLoc = SS.getBeginLoc(); in TryAnnotateName()
1897 if (SS.isNotEmpty()) in TryAnnotateName()
1898 Tok.setLocation(SS.getBeginLoc()); in TryAnnotateName()
1913 if (SS.isNotEmpty()) in TryAnnotateName()
1914 AnnotateScopeToken(SS, !WasScopeAnnotation); in TryAnnotateName()
1926 if (SS.isNotEmpty()) in TryAnnotateName()
1927 AnnotateScopeToken(SS, !WasScopeAnnotation); in TryAnnotateName()
1933 if (SS.isNotEmpty()) in TryAnnotateName()
1934 AnnotateScopeToken(SS, !WasScopeAnnotation); in TryAnnotateName()
1951 Classification.getTemplateNameKind(), SS, SourceLocation(), Id, in TryAnnotateName()
1955 if (SS.isNotEmpty()) in TryAnnotateName()
1956 AnnotateScopeToken(SS, !WasScopeAnnotation); in TryAnnotateName()
1962 if (SS.isNotEmpty()) in TryAnnotateName()
1963 AnnotateScopeToken(SS, !WasScopeAnnotation); in TryAnnotateName()
2034 CXXScopeSpec SS; in TryAnnotateTypeOrScopeToken() local
2035 if (ParseOptionalCXXScopeSpecifier(SS, /*ObjectType=*/nullptr, in TryAnnotateTypeOrScopeToken()
2040 if (SS.isEmpty()) { in TryAnnotateTypeOrScopeToken()
2076 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
2093 getCurScope(), TypenameLoc, SS, TemplateId->TemplateKWLoc, in TryAnnotateTypeOrScopeToken()
2099 << SS.getRange(); in TryAnnotateTypeOrScopeToken()
2115 CXXScopeSpec SS; in TryAnnotateTypeOrScopeToken() local
2117 if (ParseOptionalCXXScopeSpecifier(SS, /*ObjectType=*/nullptr, in TryAnnotateTypeOrScopeToken()
2122 return TryAnnotateTypeOrScopeTokenAfterScopeSpec(SS, !WasScopeAnnotation, in TryAnnotateTypeOrScopeToken()
2130 CXXScopeSpec &SS, bool IsNewScope, in TryAnnotateTypeOrScopeTokenAfterScopeSpec() argument
2135 *Tok.getIdentifierInfo(), Tok.getLocation(), getCurScope(), &SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2141 if (SS.isNotEmpty()) // it was a C++ qualified type name. in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2142 BeginLoc = SS.getBeginLoc(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2191 getCurScope(), SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2201 if (AnnotateTemplateIdToken(Template, TNK, SS, SourceLocation(), in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2225 AnnotateTemplateIdTokenAsType(SS, AllowImplicitTypename); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2230 if (SS.isEmpty()) in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2234 AnnotateScopeToken(SS, IsNewScope); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2249 CXXScopeSpec SS; in TryAnnotateCXXScopeToken() local
2250 if (ParseOptionalCXXScopeSpecifier(SS, /*ObjectType=*/nullptr, in TryAnnotateCXXScopeToken()
2254 if (SS.isEmpty()) in TryAnnotateCXXScopeToken()
2257 AnnotateScopeToken(SS, true); in TryAnnotateCXXScopeToken()
2364 ParseOptionalCXXScopeSpecifier(Result.SS, /*ObjectType=*/nullptr, in ParseMicrosoftIfExistsCondition()
2369 if (Result.SS.isInvalid()) { in ParseMicrosoftIfExistsCondition()
2376 if (ParseUnqualifiedId(Result.SS, /*ObjectType=*/nullptr, in ParseMicrosoftIfExistsCondition()
2391 Result.IsIfExists, Result.SS, in ParseMicrosoftIfExistsCondition()