Lines Matching refs:CPlusPlus
250 if ((getLangOpts().CPlusPlus || getLangOpts().MicrosoftExt || in ParseStatementOrDeclarationAfterAttributes()
724 if (!P.getLangOpts().CPlusPlus && !P.getLangOpts().MicrosoftExt && in DiagnoseLabelFollowedByDecl()
773 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) in ParseLabeledStatement()
1116 if (getLangOpts().CPlusPlus) { in DiagnoseLabelAtEndOfCompoundStatement()
1348 if (getLangOpts().CPlusPlus) { in ParseParenExprOrCondition()
1512 if (getLangOpts().CPlusPlus) { in ParseIfStatement()
1536 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseIfStatement()
1733 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseSwitchStatement()
1821 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseWhileStatement()
1907 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseDoStatement()
2018 bool C99orCXXorObjC = getLangOpts().C99 || getLangOpts().CPlusPlus || in ParseForStatement()
2075 } else if (getLangOpts().CPlusPlus && Tok.is(tok::identifier) && in ParseForStatement()
2111 bool MightBeForRangeStmt = getLangOpts().CPlusPlus; in ParseForStatement()
2204 if (getLangOpts().CPlusPlus) { in ParseForStatement()
2454 if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus) { in ParseReturnStatement()
2522 getLangOpts().CPlusPlus && Decl && isa<CXXMethodDecl>(Decl); in ParseFunctionStatementBody()
2562 getLangOpts().CPlusPlus && Decl && isa<CXXMethodDecl>(Decl); in ParseFunctionTryBlock()