Lines Matching refs:SS
1389 void Parser::AnnotateScopeToken(CXXScopeSpec &SS, bool IsNewAnnotation) { in AnnotateScopeToken() argument
1397 Tok.setAnnotationValue(Actions.SaveNestedNameSpecifierAnnotation(SS)); in AnnotateScopeToken()
1398 Tok.setAnnotationRange(SS.getRange()); in AnnotateScopeToken()
1424 CXXScopeSpec SS; in TryAnnotateName() local
1426 ParseOptionalCXXScopeSpecifier(SS, nullptr, EnteringContext)) in TryAnnotateName()
1429 if (Tok.isNot(tok::identifier) || SS.isInvalid()) { in TryAnnotateName()
1430 if (TryAnnotateTypeOrScopeTokenAfterScopeSpec(EnteringContext, false, SS, in TryAnnotateName()
1444 if (TryAnnotateTypeOrScopeTokenAfterScopeSpec(EnteringContext, false, SS, in TryAnnotateName()
1457 getCurScope(), SS, Name, NameLoc, Next, IsAddressOfOperand, in TryAnnotateName()
1458 SS.isEmpty() ? std::move(CCC) : nullptr); in TryAnnotateName()
1469 if (SS.isNotEmpty()) in TryAnnotateName()
1470 AnnotateScopeToken(SS, !WasScopeAnnotation); in TryAnnotateName()
1480 if (SS.isNotEmpty()) in TryAnnotateName()
1481 BeginLoc = SS.getBeginLoc(); in TryAnnotateName()
1512 if (SS.isNotEmpty()) in TryAnnotateName()
1513 Tok.setLocation(SS.getBeginLoc()); in TryAnnotateName()
1520 if (SS.isNotEmpty()) in TryAnnotateName()
1521 AnnotateScopeToken(SS, !WasScopeAnnotation); in TryAnnotateName()
1533 Classification.getTemplateNameKind(), SS, SourceLocation(), Id)) in TryAnnotateName()
1543 if (SS.isNotEmpty()) in TryAnnotateName()
1544 AnnotateScopeToken(SS, !WasScopeAnnotation); in TryAnnotateName()
1613 CXXScopeSpec SS; in TryAnnotateTypeOrScopeToken() local
1614 if (ParseOptionalCXXScopeSpecifier(SS, /*ObjectType=*/nullptr, in TryAnnotateTypeOrScopeToken()
1618 if (!SS.isSet()) { in TryAnnotateTypeOrScopeToken()
1642 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
1657 Ty = Actions.ActOnTypenameType(getCurScope(), TypenameLoc, SS, in TryAnnotateTypeOrScopeToken()
1666 << SS.getRange(); in TryAnnotateTypeOrScopeToken()
1682 CXXScopeSpec SS; in TryAnnotateTypeOrScopeToken() local
1684 if (ParseOptionalCXXScopeSpecifier(SS, nullptr, EnteringContext)) in TryAnnotateTypeOrScopeToken()
1688 SS, !WasScopeAnnotation); in TryAnnotateTypeOrScopeToken()
1696 CXXScopeSpec &SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec() argument
1702 *Tok.getIdentifierInfo(), Tok.getLocation(), getCurScope(), &SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1712 if (SS.isNotEmpty()) // it was a C++ qualified type name. in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1713 BeginLoc = SS.getBeginLoc(); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1758 Actions.isTemplateName(getCurScope(), SS, in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1764 if (AnnotateTemplateIdToken(Template, TNK, SS, SourceLocation(), in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1792 if (SS.isEmpty()) in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1796 AnnotateScopeToken(SS, IsNewScope); in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1814 CXXScopeSpec SS; in TryAnnotateCXXScopeToken() local
1815 if (ParseOptionalCXXScopeSpecifier(SS, nullptr, EnteringContext)) in TryAnnotateCXXScopeToken()
1817 if (SS.isEmpty()) in TryAnnotateCXXScopeToken()
1820 AnnotateScopeToken(SS, true); in TryAnnotateCXXScopeToken()
1919 ParseOptionalCXXScopeSpecifier(Result.SS, nullptr, in ParseMicrosoftIfExistsCondition()
1923 if (Result.SS.isInvalid()) { in ParseMicrosoftIfExistsCondition()
1930 if (ParseUnqualifiedId(Result.SS, false, true, true, nullptr, TemplateKWLoc, in ParseMicrosoftIfExistsCondition()
1941 Result.IsIfExists, Result.SS, in ParseMicrosoftIfExistsCondition()