Lines Matching refs:getLangOpts
208 if ((getLangOpts().CPlusPlus || !OnlyStatement) && isDeclarationStatement()) {
471 if (getLangOpts().Borland) {
478 if (getLangOpts().Borland) {
556 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi))
1019 if (getLangOpts().CPlusPlus)
1075 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus;
1199 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus;
1284 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus;
1351 if (getLangOpts().C99)
1366 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus;
1457 bool C99orCXXorObjC = getLangOpts().C99 || getLangOpts().CPlusPlus ||
1458 getLangOpts().ObjC1;
1511 } else if (getLangOpts().CPlusPlus && Tok.is(tok::identifier) &&
1524 Diag(Loc, getLangOpts().CPlusPlus1z
1527 << ((getLangOpts().CPlusPlus11 && !getLangOpts().CPlusPlus1z)
1540 bool MightBeForRangeStmt = getLangOpts().CPlusPlus;
1550 Diag(ForRangeInit.ColonLoc, getLangOpts().CPlusPlus11 ?
1595 } else if (getLangOpts().CPlusPlus11 && Tok.is(tok::colon) && FirstPart.get()) {
1625 if (getLangOpts().CPlusPlus)
1800 if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus) {
1803 Diag(R.get()->getLocStart(), getLangOpts().CPlusPlus11 ?