Lines Matching refs:CPlusPlus
1496 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) { in ParseDeclaration()
1597 return getLangOpts().CPlusPlus; in MightBeDeclarator()
1604 return Context == Declarator::MemberContext || getLangOpts().CPlusPlus; in MightBeDeclarator()
1631 (getLangOpts().CPlusPlus && Context == Declarator::FileContext); in MightBeDeclarator()
2044 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2070 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2095 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2108 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2119 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes()
2273 if (!isTypeSpecifier(DSC) && !getLangOpts().CPlusPlus && in ParseImplicitInt()
2281 if (getLangOpts().CPlusPlus && in ParseImplicitInt()
2290 if (getLangOpts().CPlusPlus && (!SS || SS->isEmpty()) && in ParseImplicitInt()
2339 << TokenName << TagName << getLangOpts().CPlusPlus in ParseImplicitInt()
2422 getLangOpts().CPlusPlus && in ParseImplicitInt()
2554 if (getLangOpts().CPlusPlus && in DiagnoseMissingSemiAfterTagDefinition()
2980 if (getLangOpts().CPlusPlus) { in ParseDeclarationSpecifiers()
3031 if (getLangOpts().CPlusPlus && DSContext == DSC_class && in ParseDeclarationSpecifiers()
3075 if (getLangOpts().CPlusPlus && DSContext == DSC_class && in ParseDeclarationSpecifiers()
3667 assert(!getLangOpts().CPlusPlus && "C++ declarations not supported"); in ParseStructUnionBody()
3865 if (getLangOpts().CPlusPlus) { in ParseEnumSpecifier()
3963 if ((getLangOpts().CPlusPlus && in ParseEnumSpecifier()
3965 (!getLangOpts().CPlusPlus && !isDeclarationSpecifier(true))) { in ParseEnumSpecifier()
3986 if (getLangOpts().CPlusPlus) in ParseEnumSpecifier()
4172 if (Tok.is(tok::r_brace) && !getLangOpts().CPlusPlus) in ParseEnumBody()
4254 Diag(CommaLoc, getLangOpts().CPlusPlus ? in ParseEnumBody()
4848 if ((AttrReqs & AR_DeclspecAttributesParsed) && !getLangOpts().CPlusPlus && in ParseTypeQualifierListOpt()
4936 if (!Lang.CPlusPlus) in isPtrOperatorToken()
4998 if (getLangOpts().CPlusPlus && in ParseDeclaratorInternal()
5210 if (getLangOpts().CPlusPlus && D.mayHaveIdentifier()) { in ParseDirectDeclarator()
5316 assert(!getLangOpts().CPlusPlus && in ParseDirectDeclarator()
5375 } else if (getLangOpts().CPlusPlus) { in ParseDirectDeclarator()
5382 << getLangOpts().CPlusPlus; in ParseDirectDeclarator()
5386 << getLangOpts().CPlusPlus; in ParseDirectDeclarator()
5418 if (getLangOpts().CPlusPlus && D.mayBeFollowedByCXXDirectInit()) { in ParseDirectDeclarator()
5497 (getLangOpts().CPlusPlus && Tok.is(tok::ellipsis) && in ParseParenDeclarator()
5627 HasProto = ParamInfo.size() || getLangOpts().CPlusPlus; in ParseFunctionDeclarator()
5635 if (getLangOpts().CPlusPlus) { in ParseFunctionDeclarator()
5770 return !getLangOpts().CPlusPlus in isFunctionDeclaratorIdentifierList()
6008 if (!getLangOpts().CPlusPlus) { in ParseParameterDeclarationClause()
6129 if (getLangOpts().CPlusPlus) { in ParseBracketDeclarator()
6242 << getLangOpts().CPlusPlus in ParseMisplacedBracketDeclarator()
6250 << getLangOpts().CPlusPlus in ParseMisplacedBracketDeclarator()