Lines Matching refs:CPlusPlus
2028 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) { in ParseDeclaration()
2156 return getLangOpts().CPlusPlus; in MightBeDeclarator()
2163 return Context == DeclaratorContext::Member || getLangOpts().CPlusPlus; in MightBeDeclarator()
2190 (getLangOpts().CPlusPlus && Context == DeclaratorContext::File); in MightBeDeclarator()
2663 if (ThisDecl && P.getLangOpts().CPlusPlus) { in ParseDeclarationAfterDeclaratorAndAttributes()
2676 if (ThisDecl && P.getLangOpts().CPlusPlus) { in ParseDeclarationAfterDeclaratorAndAttributes()
3039 if (getLangOpts().CPlusPlus && in ParseImplicitInt()
3048 if (getLangOpts().CPlusPlus && (!SS || SS->isEmpty()) && in ParseImplicitInt()
3097 << TokenName << TagName << getLangOpts().CPlusPlus in ParseImplicitInt()
3186 bool IsTemplateName = getLangOpts().CPlusPlus && NextToken().is(tok::less); in ParseImplicitInt()
3453 if (getLangOpts().CPlusPlus && in DiagnoseMissingSemiAfterTagDefinition()
3759 if (getLangOpts().CPlusPlus && in ParseDeclarationSpecifiers()
4000 if (getLangOpts().CPlusPlus) { in ParseDeclarationSpecifiers()
4048 if (getLangOpts().CPlusPlus && DSContext == DeclSpecContext::DSC_class && in ParseDeclarationSpecifiers()
4195 if (getLangOpts().CPlusPlus && DSContext == DeclSpecContext::DSC_class && in ParseDeclarationSpecifiers()
5074 assert(!getLangOpts().CPlusPlus && "C++ declarations not supported"); in ParseStructUnionBody()
5254 if (Tok.isOneOf(tok::kw_class, tok::kw_struct) && getLangOpts().CPlusPlus) { in ParseEnumSpecifier()
5281 isDefiningTypeSpecifierContext(DSC, getLangOpts().CPlusPlus); in ParseEnumSpecifier()
5290 if (getLangOpts().CPlusPlus) { in ParseEnumSpecifier()
5405 else if (getLangOpts().CPlusPlus) in ParseEnumSpecifier()
5637 if (Tok.is(tok::r_brace) && !getLangOpts().CPlusPlus) in ParseEnumBody()
5663 if (getLangOpts().CPlusPlus) in ParseEnumBody()
5720 Diag(CommaLoc, getLangOpts().CPlusPlus ? in ParseEnumBody()
6046 if (!getLangOpts().CPlusPlus) in isDeclarationSpecifier()
6485 if ((AttrReqs & AR_DeclspecAttributesParsed) && !getLangOpts().CPlusPlus && in ParseTypeQualifierListOpt()
6586 if (!Lang.CPlusPlus) in isPtrOperatorToken()
6648 if (getLangOpts().CPlusPlus && in ParseDeclaratorInternal()
6871 if (getLangOpts().CPlusPlus && D.mayHaveIdentifier()) { in ParseDirectDeclarator()
7009 assert(!getLangOpts().CPlusPlus && in ParseDirectDeclarator()
7097 if (getLangOpts().ObjC && getLangOpts().CPlusPlus && in ParseDirectDeclarator()
7117 } else if (getLangOpts().CPlusPlus) { in ParseDirectDeclarator()
7124 << getLangOpts().CPlusPlus; in ParseDirectDeclarator()
7128 << getLangOpts().CPlusPlus; in ParseDirectDeclarator()
7162 if (getLangOpts().CPlusPlus && D.mayBeFollowedByCXXDirectInit()) { in ParseDirectDeclarator()
7374 (getLangOpts().CPlusPlus && Tok.is(tok::ellipsis) && in ParseParenDeclarator()
7562 if (getLangOpts().CPlusPlus) { in ParseFunctionDeclarator()
7653 if (getCurScope()->isFunctionDeclarationScope() && !getLangOpts().CPlusPlus) { in ParseFunctionDeclarator()
7886 if (getLangOpts().CPlusPlus && Tok.is(tok::kw_this)) { in ParseParameterDeclarationClause()
8057 if (!getLangOpts().CPlusPlus) { in ParseParameterDeclarationClause()
8178 if (getLangOpts().CPlusPlus) { in ParseBracketDeclarator()
8287 << getLangOpts().CPlusPlus in ParseMisplacedBracketDeclarator()
8295 << getLangOpts().CPlusPlus in ParseMisplacedBracketDeclarator()
8588 Diag(Loc, diag::ext_bit_int) << getLangOpts().CPlusPlus; in DiagnoseBitIntUse()