Lines Matching refs:CPlusPlus
212 if ((getLangOpts().CPlusPlus || Allowed == ACK_Any) && in ParseStatementOrDeclarationAfterAttributes()
589 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) in ParseLabeledStatement()
1063 if (getLangOpts().CPlusPlus) in ParseParenExprOrCondition()
1127 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseIfStatement()
1265 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseSwitchStatement()
1351 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseWhileStatement()
1431 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseDoStatement()
1529 bool C99orCXXorObjC = getLangOpts().C99 || getLangOpts().CPlusPlus || in ParseForStatement()
1581 } else if (getLangOpts().CPlusPlus && Tok.is(tok::identifier) && in ParseForStatement()
1608 bool MightBeForRangeStmt = getLangOpts().CPlusPlus; in ParseForStatement()
1690 if (getLangOpts().CPlusPlus) in ParseForStatement()
1886 if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus) { in ParseReturnStatement()
1944 getLangOpts().CPlusPlus && Decl && isa<CXXMethodDecl>(Decl); in ParseFunctionStatementBody()
1983 getLangOpts().CPlusPlus && Decl && isa<CXXMethodDecl>(Decl); in ParseFunctionTryBlock()