Lines Matching refs:VirtSpecifiers

2220 VirtSpecifiers::Specifier Parser::isCXX11VirtSpecifier(const Token &Tok) const {  in isCXX11VirtSpecifier()
2222 return VirtSpecifiers::VS_None; in isCXX11VirtSpecifier()
2237 return VirtSpecifiers::VS_Override; in isCXX11VirtSpecifier()
2240 return VirtSpecifiers::VS_Sealed; in isCXX11VirtSpecifier()
2243 return VirtSpecifiers::VS_Final; in isCXX11VirtSpecifier()
2246 return VirtSpecifiers::VS_GNU_Final; in isCXX11VirtSpecifier()
2248 return VirtSpecifiers::VS_None; in isCXX11VirtSpecifier()
2256 void Parser::ParseOptionalCXX11VirtSpecifierSeq(VirtSpecifiers &VS, in ParseOptionalCXX11VirtSpecifierSeq()
2260 VirtSpecifiers::Specifier Specifier = isCXX11VirtSpecifier(); in ParseOptionalCXX11VirtSpecifierSeq()
2261 if (Specifier == VirtSpecifiers::VS_None) in ParseOptionalCXX11VirtSpecifierSeq()
2266 << VirtSpecifiers::getSpecifierName(Specifier) in ParseOptionalCXX11VirtSpecifierSeq()
2281 if (IsInterface && (Specifier == VirtSpecifiers::VS_Final || in ParseOptionalCXX11VirtSpecifierSeq()
2282 Specifier == VirtSpecifiers::VS_Sealed)) { in ParseOptionalCXX11VirtSpecifierSeq()
2284 << VirtSpecifiers::getSpecifierName(Specifier); in ParseOptionalCXX11VirtSpecifierSeq()
2285 } else if (Specifier == VirtSpecifiers::VS_Sealed) { in ParseOptionalCXX11VirtSpecifierSeq()
2287 } else if (Specifier == VirtSpecifiers::VS_GNU_Final) { in ParseOptionalCXX11VirtSpecifierSeq()
2294 << VirtSpecifiers::getSpecifierName(Specifier); in ParseOptionalCXX11VirtSpecifierSeq()
2303 VirtSpecifiers::Specifier Specifier = isCXX11VirtSpecifier(); in isCXX11FinalKeyword()
2304 return Specifier == VirtSpecifiers::VS_Final || in isCXX11FinalKeyword()
2305 Specifier == VirtSpecifiers::VS_GNU_Final || in isCXX11FinalKeyword()
2306 Specifier == VirtSpecifiers::VS_Sealed; in isCXX11FinalKeyword()
2312 Declarator &DeclaratorInfo, VirtSpecifiers &VS, ExprResult &BitfieldSize, in ParseCXXMemberDeclaratorBeforeInitializer()
2394 VirtSpecifiers &VS) { in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2421 << VirtSpecifiers::getSpecifierName(VS.getLastSpecifier()) in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2438 << VirtSpecifiers::getSpecifierName(VS.getLastSpecifier()) in MaybeParseAndDiagnoseDeclSpecAfterCXX11VirtSpecifierSeq()
2670 VirtSpecifiers VS; in ParseCXXClassMemberDeclaration()
3265 VirtSpecifiers::Specifier Specifier = isCXX11VirtSpecifier(Tok); in ParseCXXMemberSpecification()
3266 assert((Specifier == VirtSpecifiers::VS_Final || in ParseCXXMemberSpecification()
3267 Specifier == VirtSpecifiers::VS_GNU_Final || in ParseCXXMemberSpecification()
3268 Specifier == VirtSpecifiers::VS_Sealed) && in ParseCXXMemberSpecification()
3271 IsFinalSpelledSealed = Specifier == VirtSpecifiers::VS_Sealed; in ParseCXXMemberSpecification()
3275 << VirtSpecifiers::getSpecifierName(Specifier); in ParseCXXMemberSpecification()
3276 else if (Specifier == VirtSpecifiers::VS_Final) in ParseCXXMemberSpecification()
3280 << VirtSpecifiers::getSpecifierName(Specifier); in ParseCXXMemberSpecification()
3281 else if (Specifier == VirtSpecifiers::VS_Sealed) in ParseCXXMemberSpecification()
3283 else if (Specifier == VirtSpecifiers::VS_GNU_Final) in ParseCXXMemberSpecification()