Lines Matching refs:CPlusPlus
205 if ((getLangOpts().CPlusPlus || !OnlyStatement) && isDeclarationStatement()) { in ParseStatementOrDeclarationAfterAttributes()
577 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) in ParseLabeledStatement()
1043 if (getLangOpts().CPlusPlus) in ParseParenExprOrCondition()
1099 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseIfStatement()
1223 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseSwitchStatement()
1308 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseWhileStatement()
1390 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseDoStatement()
1488 bool C99orCXXorObjC = getLangOpts().C99 || getLangOpts().CPlusPlus || in ParseForStatement()
1542 } else if (getLangOpts().CPlusPlus && Tok.is(tok::identifier) && in ParseForStatement()
1569 bool MightBeForRangeStmt = getLangOpts().CPlusPlus; in ParseForStatement()
1653 if (getLangOpts().CPlusPlus) in ParseForStatement()
1845 if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus) { in ParseReturnStatement()
1908 getLangOpts().CPlusPlus && Decl && isa<CXXMethodDecl>(Decl); in ParseFunctionStatementBody()
1952 getLangOpts().CPlusPlus && Decl && isa<CXXMethodDecl>(Decl); in ParseFunctionTryBlock()