Lines Matching refs:CPlusPlus
1715 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) { in ParseDeclaration()
1822 return getLangOpts().CPlusPlus; in MightBeDeclarator()
1829 return Context == DeclaratorContext::Member || getLangOpts().CPlusPlus; in MightBeDeclarator()
1856 (getLangOpts().CPlusPlus && Context == DeclaratorContext::File); in MightBeDeclarator()
2220 if (ThisDecl && P.getLangOpts().CPlusPlus) { in ParseDeclarationAfterDeclaratorAndAttributes()
2231 if (ThisDecl && P.getLangOpts().CPlusPlus) { in ParseDeclarationAfterDeclaratorAndAttributes()
2574 if (!isTypeSpecifier(DSC) && !getLangOpts().CPlusPlus && in ParseImplicitInt()
2587 if (getLangOpts().CPlusPlus && in ParseImplicitInt()
2596 if (getLangOpts().CPlusPlus && (!SS || SS->isEmpty()) && in ParseImplicitInt()
2645 << TokenName << TagName << getLangOpts().CPlusPlus in ParseImplicitInt()
2734 bool IsTemplateName = getLangOpts().CPlusPlus && NextToken().is(tok::less); in ParseImplicitInt()
2898 if (getLangOpts().CPlusPlus && in DiagnoseMissingSemiAfterTagDefinition()
3372 if (getLangOpts().CPlusPlus) { in ParseDeclarationSpecifiers()
3406 if (getLangOpts().CPlusPlus && DSContext == DeclSpecContext::DSC_class && in ParseDeclarationSpecifiers()
3538 if (getLangOpts().CPlusPlus && DSContext == DeclSpecContext::DSC_class && in ParseDeclarationSpecifiers()
4260 assert(!getLangOpts().CPlusPlus && "C++ declarations not supported"); in ParseStructUnionBody()
4462 if (getLangOpts().CPlusPlus) { in ParseEnumSpecifier()
4571 else if (getLangOpts().CPlusPlus) in ParseEnumSpecifier()
4799 if (Tok.is(tok::r_brace) && !getLangOpts().CPlusPlus) in ParseEnumBody()
4825 if (getLangOpts().CPlusPlus) in ParseEnumBody()
4882 Diag(CommaLoc, getLangOpts().CPlusPlus ? in ParseEnumBody()
5561 if ((AttrReqs & AR_DeclspecAttributesParsed) && !getLangOpts().CPlusPlus && in ParseTypeQualifierListOpt()
5653 if (!Lang.CPlusPlus) in isPtrOperatorToken()
5715 if (getLangOpts().CPlusPlus && in ParseDeclaratorInternal()
5933 if (getLangOpts().CPlusPlus && D.mayHaveIdentifier()) { in ParseDirectDeclarator()
6058 assert(!getLangOpts().CPlusPlus && in ParseDirectDeclarator()
6145 if (getLangOpts().ObjC && getLangOpts().CPlusPlus && in ParseDirectDeclarator()
6162 } else if (getLangOpts().CPlusPlus) { in ParseDirectDeclarator()
6169 << getLangOpts().CPlusPlus; in ParseDirectDeclarator()
6173 << getLangOpts().CPlusPlus; in ParseDirectDeclarator()
6206 if (getLangOpts().CPlusPlus && D.mayBeFollowedByCXXDirectInit()) { in ParseDirectDeclarator()
6370 (getLangOpts().CPlusPlus && Tok.is(tok::ellipsis) && in ParseParenDeclarator()
6546 HasProto = ParamInfo.size() || getLangOpts().CPlusPlus in ParseFunctionDeclarator()
6555 if (getLangOpts().CPlusPlus) { in ParseFunctionDeclarator()
6639 !getLangOpts().CPlusPlus) { in ParseFunctionDeclarator()
6685 return !getLangOpts().CPlusPlus in isFunctionDeclaratorIdentifierList()
6974 if (!getLangOpts().CPlusPlus) { in ParseParameterDeclarationClause()
7095 if (getLangOpts().CPlusPlus) { in ParseBracketDeclarator()
7203 << getLangOpts().CPlusPlus in ParseMisplacedBracketDeclarator()
7211 << getLangOpts().CPlusPlus in ParseMisplacedBracketDeclarator()